Skip to content

sesmesh 1.0.0

Choose a tag to compare

@github-actions github-actions released this 13 Nov 09:38
· 57 commits to main since this release

First stable release. The public API now follows semantic versioning.

Added

  • Mesh decimation (--decimate R, --max-triangles N, --decimate-error E; mesh::decimate): quadric-error half-edge collapses in pure Rust. Retained vertices keep their exact surface position, analytic normal and atom; the mesh stays closed and manifold; deterministic.
  • --auto-coarsen with --max-memory: grow the grid spacing until the memory estimate fits instead of refusing (SurfaceParams::auto_coarsen).
  • gzip-compressed PLY and MSMS output (-o mesh.ply.gz, -o mesh.vert.gz).
  • sesmesh completions <shell> and sesmesh man; the archives below include sesmesh.1 and bash, zsh, fish and PowerShell completions.
  • Ctrl-C cancels cleanly (exit code 130).
  • Fuzz target for biological assemblies.

Changed

  • Lower memory, identical meshes: field data ≈ 1 150 → 560 bytes per atom; peak memory on the 1K4R capsid at 1 Å 2.42 → 1.74 GB, on 3J3Q at 1 Å 7.89 → 7.16 GB.
  • Specification revised for 1.0: memory budget 150 B per triangle + 800 B per atom; analytic accuracy bound area ≤ 0.7 % / volume ≤ 1.5 % at 0.25 Å for atom-sized spheres (proteins: −0.20 % / −0.02 %); performance targets set to the measured times. Cross-tool references and a 24 CPU-hour fuzzing campaign follow after 1.0 (#19).

Fixed

  • Assembly operator expressions that would expand to more than 100 000 copies or 500 million atoms are refused (exit code 4) instead of exhausting memory.

Install

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

Full changelog: CHANGELOG.md.