PRODUCT
Puts a product's 3D model on the drawing at a point, for the 3D page to show in the pack, check for fit and cut a pocket for (Products in the pack).
Syntax
PRODUCT @id,point,"file",layer,KEY=value,…,DATA="…"
PRODUCT @id,point,"file",layer,KEY=value,…,EMBEDDED=FALSE
| Argument | Meaning |
|---|---|
| id | The element's ID. |
| point | The point the middle of its box (seen from above) stands on. |
| file | The model's file name (kept in the drawing), or the file or web address it is read from (linked). |
| layer | The layer it is drawn on. |
| Key | Meaning |
|---|---|
ROT |
Turn about the vertical, degrees anticlockwise. |
TILTX, TILTY |
Tilts about the x and y axes, degrees, before it is turned. |
Z |
The height of its underside; without it, it drops onto what is under it. |
SCALE |
Its size (1 without it). |
LOOK |
An appearance id ("product-grey" without it). |
CLEARANCE |
The clearance it needs from the walls (reported when it has less). |
PART |
The part it moves with when parts are put together. |
STEP |
When it goes in as the slider moves. |
ORIGIN |
TRUE: the model's own origin on point, at Z (0 without it): not centred, not dropped. For a structure's members and IFC models (Steel structures). |
DATA |
The model's file, kept in the drawing (base64url). |
EMBEDDED |
FALSE: read from file whenever the drawing is read. |
Every value but DATA and EMBEDDED is an expression.
PRODUCT @9,P20,"bottle.step",5,ROT=30,CLEARANCE=2,EMBEDDED=FALSE
The model in bottle.step (beside the drawing), its middle on P20, turned 30°, needing 2 of room all round.
See also
- Products in the pack
- MATE: a product can be mated like any other solid.