import_step
Imports a STEP file into a new scratch Fusion design, reports body count plus bounding box and volume, and optionally checks dimensions against expected values.
Instructions
Import a STEP file (e.g. exported from Inventor) into a NEW Fusion design marked as scratch.
Units are millimetres. path: absolute path to a .step/.stp file. Returns the document name, body count, per-body and overall bounding box (mm) and volume (mm^3). Optional check: expected_size_mm=[L, W, H] and/or expected_volume_mm3, compared within tolerance_pct (default 0.1 %). Sizes are compared sorted (axis-agnostic) and a warning says if the axes differ (e.g. a Y-up vs Z-up export). Refuses while Fusion is mid-command. Only documents created here can be closed later with close_scratch. If the call times out it may still finish inside Fusion: call status and inspect before retrying, or you get a second document.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"path": "<path>"
},
"name": "import_step"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| timeout_s | No | ||
| tolerance_pct | No | ||
| expected_size_mm | No | ||
| expected_volume_mm3 | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |