Skip to content

Latest commit

 

History

History
26 lines (18 loc) · 782 Bytes

freecad-tips.md

File metadata and controls

26 lines (18 loc) · 782 Bytes

freecad tips

expand nested object placement

  • OpenSCAD / Expand Placements : set leaf element coord leaving parents to 0,0,0

freecad formula reference

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

using script

object bounding box

App.ActiveDocument.getObjectsByLabel("objname")[0].Shape.BoundBox