<assembly.device />
assembly.device groups boards and mechanical parts into a complete device. Add model or modelUrl to render a model at the world origin.
| Property | Description |
|---|---|
name | Optional device name. |
model | Modelprinter string or HTTP(S) model URL. |
modelUrl | Imported CAD model URL. Use either model or modelUrl. |
children | Boards, motors, subassemblies, and screens. |
Modelprinter strings
Use a modelprinter string to generate a model without supplying a file. This display is 16 × 10 mm with a 5 mm cable.
Assembly models add 3D geometry without creating PCB footprints or electrical connections. For imported models, see cadmodel for supported formats.
Use assembly.motor to add a motor and mount a controller to its backface, assembly.subassembly to group mechanical parts, or assembly.screen to attach a display to a connector. See Mounting 3D models for screws aligned with board holes.