Hello forum!
I can't find out how to clone properly.
As a test I have created a sketch in Part Design and made a pocket feature.
I then cloned my pocket feature and moved it a bit so both are visible.
So far so good. Now I created a sketch with a circle and padded that on my original object. That change does not happen on the clone as I thought.
If I make changes to the original sketch from which I pocket'ed in the first place the change is reflected on the clone though.
How is it supposed to work? On the wiki page it just says " If the original object changes, the clone changes too, but keeps its position, rotation and scale"
OS: Windows 7
Word size of OS: 64-bit
Word size of FreeCAD: 32-bit
Version: 0.15.4537 (Git)
Branch: master
Hash: 79173e37cd0886e197129bf06bfbee01890480b3
Python version: 2.7.8
Qt version: 4.8.6
Coin version: 4.0.0a
OCC version: 6.7.1
Changes doesn't affect clone
Forum rules
and Helpful information
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!
Also, be nice to others! Read the FreeCAD code of conduct!
Changes doesn't affect clone
- Attachments
-
- Clone_puzzle_1.FCStd
- (32.2 KiB) Downloaded 39 times
Re: Changes doesn't affect clone
Hello,
It won't, because the clone is based on the Pocket feature. If you add other features you need to create a new clone based on the last Part Design feature in the tree.brusk wrote: That change does not happen on the clone as I thought.
Re: Changes doesn't affect clone
Thanks. I'll just have to delete and re-clone if I add to the original I guess.NormandC wrote:Hello,It won't, because the clone is based on the Pocket feature. If you add other features you need to create a new clone based on the last Part Design feature in the tree.brusk wrote: That change does not happen on the clone as I thought.
- DeepSOIC
- Veteran
- Posts: 7896
- Joined: Fri Aug 29, 2014 12:45 am
- Location: used to be Saint-Petersburg, Russia
Re: Changes doesn't affect clone
If there's something else depending on the clone, you may want to update the link in the existing clone. It can be done with OpenSCAD ReplaceObject tool from OpenSCAD workbench. The wiki page is empty, just read the tooltip in FreeCAD.
Re: Changes doesn't affect clone
Note that it is also possible to simply change the "Objects" property of the clone, to make it point to the new object, but at the moment this cannot be done from the GUI, only via python (change the code below to use the actual names of your objects):brusk wrote:Thanks. I'll just have to delete and re-clone if I add to the original I guess.
Code: Select all
FreeCAD.ActiveDocument.Name_of_your_clone.Objects=[FreeCAD.ActiveDocument.Name_of_your_new_object]
Re: Changes doesn't affect clone
Thanks yorik and DeepSOIC!
That's some power tips. I'm really glad it's possible to use clones in a more parametric and non-destructive way .
That's some power tips. I'm really glad it's possible to use clones in a more parametric and non-destructive way .
-
- Posts: 5
- Joined: Sat Apr 11, 2020 1:04 am
Re: Changes doesn't affect clone
I thought I'd be caught by this, but it seems that issue has been resolved. I was caught by something else - the clones only show down to the current tip setting in the original.
Re: Changes doesn't affect clone
Just for completeness, I am prettey sure I read on the documentation somewhere that Linking objects is more efficient than cloning.
I just created a body and made a link to the body.
then I can add features to the body and the link get's updated instantly, no need to redefine it's source.
I think this is what you wanted
I just created a body and made a link to the body.
then I can add features to the body and the link get's updated instantly, no need to redefine it's source.
I think this is what you wanted