import_step_file
Converts STEP CAD files to STL format for 3D printing. Supports merging or splitting multi-body files.
Instructions
Import a STEP (.step/.stp) CAD file and convert it to STL for Kiln's mesh pipeline.
Converts STEP files using available backends (FreeCAD, Gmsh, or
CadQuery). Multi-body STEP files can be merged into a single STL
or split into separate files per body.
Use ``check_step_support`` first to verify that a conversion
backend is installed. After conversion, use ``diagnose_mesh``
or ``analyze_mesh_geometry`` to validate the output.
Args:
file_path: Path to the STEP/STP file.
output_format: Output format (currently only ``"stl"`` supported).
merge_bodies: If True, merge all bodies into one STL.
If False, export each body as a separate file.
output_dir: Directory for output files. Defaults to
the STEP file's parent directory.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | ||
| output_dir | No | ||
| merge_bodies | No | ||
| output_format | No | stl |