slice_mesh
Extract closed polygon profiles (mm) by cross-sectioning STL/3MF meshes at specified heights along an axis, for modeling parts that fit mesh-only objects.
Instructions
Cross-sections of an STL/3MF mesh at the given heights along axis 'x'/'y'/'z'.
For modelling a part that must fit something that only exists as a mesh. Returns each section's closed loops, largest first, as polygon points (mm) ready to use as profiles. frame (3MF): 'object' (the mesh's own frame) or 'build' (as placed on the slicer's plate).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| axis | Yes | ||
| path | Yes | ||
| frame | No | object | |
| heights_mm | Yes |