Skip to content

sesmesh 1.1.0

Choose a tag to compare

@github-actions github-actions released this 13 Nov 17:39
· 44 commits to main since this release

Opt-in removal of sub-grid fragments, a corrected memory guard with lower peak memory, missing output directories created by the CLI, and the project website. Default meshes are byte-identical to 1.0.0.

Added

  • --drop-fragments / SurfaceParams::with_remove_fragments: removes sub-grid fragments, tiny solid components that Marching Cubes cuts off from reentrant sheets thinner than the grid spacing (4HHB at 0.25 Å: one, 0.037 Ų). Opt-in; counted in SurfaceStats::removed_fragments and the statistics JSON.
  • The memory guard's estimate is reported: SurfaceStats::estimated_triangles / estimated_memory, a summary line with --max-memory, engine.estimated_* in the statistics JSON.
  • Project website: https://uvar-apps.github.io/sesmesh/ (guides, tutorials, gallery, live 3D viewer).

Changed

  • Every source file carries a header with Copyright (c) 2026 Ugo Varetto and SPDX-License-Identifier: MIT OR Apache-2.0; Cargo authors, licence files, README, crate docs, man page and website name the author.
  • Lower peak memory with identical output, e.g. the 1K4R capsid at 1 Å 1.68 → 1.54 GB, decimated to 1.5 M triangles 4.04 → 1.97 GB; 1AON at 0.25 Å decimated to 2 M triangles 5.23 → 2.85 GB.

Fixed

  • --max-memory / --auto-coarsen underestimated the peak (a 1 GiB auto-coarsened capsid run peaked at 1.46 GB). The estimate is now an upper bound of the measured peak (1.15–1.7× on the test runs); the same run now peaks at 0.65 GB. Inputs close to the limit may now be refused or meshed at a coarser spacing than with 1.0.0.
  • CLI: missing output directories (--output-dir, batch side-file directories, parents of -o) are created instead of failing every input.

Install

  • CLI: cargo install sesmesh-cli, or download an archive below and check it against SHA256SUMS.
  • Library: sesmesh = "1.1" — docs at https://docs.rs/sesmesh

Full changelog: CHANGELOG.md.