Wrong placement on simple copy of object inside parts in v 0.17

Post here for help on using FreeCAD's graphical user interface (GUI).
Forum rules
and Helpful information
IMPORTANT: Please click here and read this first, before asking for help

Also, be nice to others! Read the FreeCAD code of conduct!
galou_breizh
Posts: 436
Joined: Wed Sep 15, 2010 9:38 am

Re: Wrong placement on simple copy of object inside parts in v 0.17

Post by galou_breizh »

easyw-fc wrote: Tue Mar 20, 2018 8:34 am @Gael,
here is a case in which the deepcopy macro is adding extra objects
deepcopy-test.FCStd
The case is when there are more levels in Part structure
Thx
Maurice
Thanks for providing this simple example that allowed me to improve the code. A newer version of the macro was published.

Gaël
User avatar
easyw-fc
Veteran
Posts: 3630
Joined: Thu Jul 09, 2015 9:34 am

Re: Wrong placement on simple copy of object inside parts in v 0.17

Post by easyw-fc »

galou_breizh wrote: Fri Apr 06, 2018 8:05 pm Thanks for providing this simple example that allowed me to improve the code. A newer version of the macro was published.

Gaël
Thx,
nice job with 'o.getGlobalPlacement()' :D
https://www.freecadweb.org/wiki/Macro_DeepCopy
Post Reply