export
Save the active SolidWorks part or assembly to STEP, STL, IGES, Parasolid, or 3MF, with file verification and optional tessellation control for meshes.
Instructions
Export the current part or assembly to STEP/STL/IGES/Parasolid/3MF (format from extension).
Silent (no prompts). Verifies the file appears on disk and reports its size.
For STL/3MF, tessellation resolution is set first: quality 'coarse'|'fine'
(default 'fine' for print quality), or pass deviation_mm (+ optional angle_deg)
for a reproducible custom resolution (overrides quality). Ignored for other formats.
An assembly goes to STL as one file, or one file per component with
per_component=True (SolidWorks names them); files lists what was written.
STL/3MF keep the part's or assembly's own coordinates (frame), also per
component, so a mesh measures back where the model is; slicers place it anyway.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| quality | No | fine | |
| angle_deg | No | ||
| file_format | No | ||
| deviation_mm | No | ||
| per_component | No |