slice_mesh
Extracts closed cross-section loops from an STL/3MF mesh at specified heights and axis to use as profiles for modelling parts that must fit existing meshes.
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 |