Clone placement disapear

About the development of the Part Design module/workbench. PLEASE DO NOT POST HELP REQUESTS HERE!
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Post Reply
Dex
Posts: 56
Joined: Tue Sep 26, 2017 4:52 pm

Clone placement disapear

Post by Dex »

Hi, after making a part clone, it has all the placement properties but when the file is saved and reopened it disapear. It is no longer possible to change the position nor use expressions.

After fresh clone:
2017-12-20 07_56_11-FreeCAD.png
2017-12-20 07_56_11-FreeCAD.png (7.65 KiB) Viewed 2540 times

After save & reopen:
2017-12-20 07_56_44-FreeCAD.png
2017-12-20 07_56_44-FreeCAD.png (5.29 KiB) Viewed 2540 times

OS: Windows 7
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.12847 (Git)
Build type: Release
Branch: master
Hash: 4034851a5d2ed5c93a8ebedbf0ef40dab8700d94
Python version: 2.7.8
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.1.0
Locale: Polish/Poland (pl_PL)
chrisb
Veteran
Posts: 53945
Joined: Tue Mar 17, 2015 9:14 am

Re: Clone placement disapear

Post by chrisb »

What kind of clone is it? From what I can see in the tree it does not look like the Dolly icon but rather like a BaseFeature. That doesn't have it's own placement.
Edit: I see, it clearly says, that it's a BaseFeature
Last edited by chrisb on Wed Dec 20, 2017 7:16 am, edited 1 time in total.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
Dex
Posts: 56
Joined: Tue Sep 26, 2017 4:52 pm

Re: Clone placement disapear

Post by Dex »

It is that clone:
2017-12-20 08_14_43-FreeCAD.png
2017-12-20 08_14_43-FreeCAD.png (6.21 KiB) Viewed 2533 times
Dex
Posts: 56
Joined: Tue Sep 26, 2017 4:52 pm

Re: Clone placement disapear

Post by Dex »

It seems that there is similar topic:
https://forum.freecadweb.org/viewtopic.php?f=19&t=25636
I didn't find it with search :(
chrisb
Veteran
Posts: 53945
Joined: Tue Mar 17, 2015 9:14 am

Re: Clone placement disapear

Post by chrisb »

I can confirm the behaviour. To be honest: I am a bit worried that the PartDesign Clone creates a BaseFeature which is called Clone and is in the tree positioned outside of the body. Perhaps there is something unfinished yet.
What is it what you want to achieve with this clone?
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
Dex
Posts: 56
Joined: Tue Sep 26, 2017 4:52 pm

Re: Clone placement disapear

Post by Dex »

I wanted to use clone to make a identical object that update itself if the source change (shape and rotation). I used draw->clone and draw->array instead and it worked fine for the part object
freecad-heini-1
Veteran
Posts: 7788
Joined: Tue Jan 07, 2014 11:10 am
Contact:

Re: Clone placement disapear

Post by freecad-heini-1 »

chrisb wrote: Wed Dec 20, 2017 7:22 am Perhaps there is something unfinished yet.
Agree.
triplus
Veteran
Posts: 9471
Joined: Mon Dec 12, 2011 4:45 pm

Re: Clone placement disapear

Post by triplus »

wmayer
Founder
Posts: 20245
Joined: Thu Feb 19, 2009 10:32 am
Contact:

Re: Clone placement disapear

Post by wmayer »

chrisb wrote: Wed Dec 20, 2017 7:22 am I can confirm the behaviour. To be honest: I am a bit worried that the PartDesign Clone creates a BaseFeature which is called Clone and is in the tree positioned outside of the body. Perhaps there is something unfinished yet.
What is it what you want to achieve with this clone?
No, it is on purpose to keep the clone out of the body because it actually doesn't perform any operation, i.e. add a feature to the body.
See: https://forum.freecadweb.org/viewtopic. ... 82#p193382

Edit: git commit 8e3b2d7
User avatar
babaroga
Posts: 178
Joined: Sun Aug 14, 2016 6:52 pm
Location: Banja Luka, Republic of Srpska, Bosnia and Herzegovina

Re: Clone placement disapear

Post by babaroga »

In my drawings, I use clone function for visualisation of repetitive parts, like on this one (slipring on fencing reel).


Screenshot_20171220_210410.png
Screenshot_20171220_210410.png (189.27 KiB) Viewed 2435 times


Most left brown, magenta and blue parts are bodies. Rest of them are clones. It will be realy nice feature te have them able to move around.

In post https://forum.freecadweb.org/viewtopic. ... 36#p202101 , ffvpor wrote small python comand that works but I realy hate to type it every time I need to move clone object.
Post Reply