Script to apply transformation to the elements of complex item.

Need help, or want to share a macro? Post here!
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Post Reply
User avatar
davecoventry
Posts: 288
Joined: Mon Dec 09, 2013 8:11 pm
Location: Johannesburg
Contact:

Script to apply transformation to the elements of complex item.

Post by davecoventry »

If one has a complex item comprising cylinders, boxes, etc and one moves it or rotates it and subsequently either duplicates parts of it or breaks it apart again, each of the composite items returns to where it was previously.

Has anyone written a script to apply the item's transformations to it's constituent parts?
~ Dave
openBrain
Veteran
Posts: 9041
Joined: Fri Nov 09, 2018 5:38 pm
Contact:

Re: Script to apply transformation to the elements of complex item.

Post by openBrain »

As an example, Macro PlacementAbsolufy transfers placement offset from Part container to its children.
Is that what you need?
User avatar
davecoventry
Posts: 288
Joined: Mon Dec 09, 2013 8:11 pm
Location: Johannesburg
Contact:

Re: Script to apply transformation to the elements of complex item.

Post by davecoventry »

Great!

Thanks, that looks like it will do the trick!
~ Dave
Post Reply