Skip to content

v1.1.0 — Mesh.crossSection planar slicing

Choose a tag to compare

@gsdali gsdali released this 12 Jun 10:09
· 5 commits to main since this release

Adds a 3D-printer-slicer-style mesh slicer: Mesh.crossSection(plane:) intersects a mesh with a plane and recovers the closed contours where it cuts the surface.

  • Pure geometry, no OCCT kernel calls — works directly on open / unwelded scan meshes (no B-Rep sewing first).
  • A thin-walled tube slices into separate outer + inner loops; wall thickness = their offset. Inner-vs-outer from contour nesting, not triangle winding.
  • Mesh.crossSections(axis:through:spacing:) produces a full slicer layer stack.

New public API: CutPlane, MeshContour, MeshCrossSection. See CHANGELOG.