marian42/mesh_to_sdf
Calculate signed distance fields for arbitrary meshes observed · 2026-08-28
Health v2 · maintenance only
32/100
- Activity 0
- Release rhythm 35
- Longevity 100
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 2421
- days_rel: n/a
- days_push: 906
- n_releases_24m: 0
Adoption not part of the score
1240 stars · 124 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A Python library that computes approximate signed distance fields (SDFs) for arbitrary triangle meshes, including non-watertight, self-intersecting, and non-manifold geometry. It supports voxelizing meshes into SDF grids and sampling SDF points near surfaces, as used in the DeepSDF paper.
Use cases
- calculate signed distance fields for meshes with holes
- voxelize a 3D mesh into an SDF grid
- sample SDF points near a mesh surface for DeepSDF training
- process non-watertight or self-intersecting meshes
- reconstruct meshes from SDF volumes with marching cubes
- prepare 3D shape data for neural implicit surface learning
When to choose
- your meshes are not watertight or have inconsistent face orientation
- you need SDF data for deep learning on 3D shapes
- you want a simple pip-installable Python solution for mesh-to-SDF conversion
When to avoid
- you need exact, high-precision SDFs rather than approximations
- you work with watertight meshes and need maximum accuracy
- you need GPU-accelerated or real-time SDF computation
Facets
library · maturity stable
graphics simulation machine-learning image-processing computer-vision graphics machine-learning deep-learning python cross-platform signed-distance-field mesh-processing voxelization 3d geometry sdf trimesh
3 sources
- readme: https://github.com/marian42/mesh_to_sdf · fetched 2026-08-28 · 40208866b47d
- homepage: https://pypi.org/project/mesh-to-sdf/ · fetched 2026-08-29 · 4b4e8fead74a
- registry_pypi: https://pypi.org/pypi/mesh_to_sdf/json · fetched 2026-08-29 · ff89f6a86143
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| marian42/mesh_to_sdf | main | 32 |
For agents
markdown · JSON · MCP: product_card(name="marian42/mesh_to_sdf")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem