Add Component 3d Model
add_component_3d_modelAttach 3D models to placed footprints in KiCAD live via IPC API, with instant visual feedback and no file conflicts. Adjust scale, offset, and rotation for each component.
Instructions
Attach a 3D model to one or more PLACED footprints on the open board, live via the KiCAD IPC API (changes appear instantly, no file conflicts). Use this for components already on the PCB; for a library .kicad_mod use add_footprint_3d_model.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scale | No | Model scale factor (default 1,1,1) | |
| offset | No | Model offset in mm (default 0,0,0) | |
| rotate | No | Model rotation in degrees (default 0,0,0) | |
| replace | No | Replace an existing model with the same filename (default true) | |
| modelPath | Yes | Path to the 3D model, e.g. ${KIPRJMOD}/MyProj.3dshapes/MyPart.step | |
| reference | Yes | Footprint reference(s), e.g. 'D1', ['D1','D2'], or '*' for all footprints |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |