- OpenSCAD / Expand Placements : set leaf element coord leaving parents to 0,0,0
notes:
- use
=
key to insert a formula into object parameter - use
F2
to rename created objects
formula | description |
---|---|
<<ObjName>>.Placement.Base.[x,y,z] |
x or y or z object position |
<<ObjName>>.Height |
height of object |
<<ObjName>>._shape.BoundBox |
object bounding box |
<<ObjName>>._shape.BoundBox.ZMin |
object bounding box ( min z ) ref; note: may need to multiply 1 mm to combine in expression with other terms |
App.ActiveDocument.getObjectsByLabel("objname")[0].Shape.BoundBox