import_step
Imports a vendor STEP file into Inventor as parts or an assembly, returning bounding boxes and volumes so you can locate mounting faces and axes before placing components.
Instructions
Import a vendor STEP file (hinge, lock, gland...) as Inventor files in dest_folder. The STEP is copied into dest_folder first, because Inventor writes the parts of an imported assembly next to the .step file (e.g. into Downloads or a synced folder). Returns path, type, overall bbox and per-component bbox/volume — use them to find mounting faces and axes before placing it with place_component.
Args: step_path: The downloaded .step / .stp file. dest_folder: Project folder to hold the Inventor files. name: Base name for the .iam/.ipt (default: the STEP file name).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| instance | No | Which connected Inventor to use (list_instances). Leave empty when only one is connected. | |
| step_path | Yes | ||
| dest_folder | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |