|
Beschreibung |
---|
This will remove all parametric associativity from an object, leaving it as a "dumb" shape |
Autor |
Yorik |
Link |
Liste von Macros How to install macros How to customize toolbars |
Version |
0.1 |
Datum zuletzt geƤndert |
2011-08-01 |
This will remove all parametric associativity from an object, leaving it as a "dumb" shape
Before and after:
Remove parametric history.FCMacro
originalObject = FreeCAD.ActiveDocument.ActiveObject newShape = originalObject.Shape.copy() newName = FreeCAD.ActiveDocument.ActiveObject.Name FreeCAD.ActiveDocument.removeObject(newName) newObject = FreeCAD.ActiveDocument.addObject("Part::Feature",newName) newObject.Shape = newShape