Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import Draft
- from FreeCAD import Vector
- '''
- Use this macro to scale objects up by 25.4 in all axes.
- This is needed for metric to imperial units conversion.
- '''
- sel=Gui.Selection.getSelection()
- Draft.scale(sel,Vector(25.4,25.4,25.4),Vector(0,0,0))
- FreeCAD.ActiveDocument.recompute()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement