export_mesh
Export CAD models as STL or OBJ for 3D printing, slicing, and DCC, blocking broken solids; use force=True to override.
Instructions
Export the model as files for downstream tools: STL (printing / slicing), OBJ+MTL (DCC).
Defaults to both STL and OBJ. There is a hard gate before anything is written: structural damage -- non-manifold edges, non-positive volume, NaN vertices, a fragmented shell -- is refused, because such a mesh punches holes in a slicer or errors out. Watertightness only warns (some shapes are meant to be open). Pass force=True to override.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| force | No | ||
| formats | No | ||
| stl_binary | No |