Links vs. Clones

Have some feature requests, feedback, cool stuff to share, or want to know where FreeCAD is going? This is the place.
Forum rules
Be nice to others! Read the FreeCAD code of conduct!
mlampert
Posts: 1274
Joined: Fri Sep 16, 2016 9:28 pm

Links vs. Clones

Postby mlampert » Sun Aug 18, 2019 3:25 am

I started playing with links today and it occurred to me that they seem to work very similar to clones. I was wondering if there is a guide as to when use which? Or if links are gonna replace clones going forward?
openBrain
Posts: 1809
Joined: Fri Nov 09, 2018 5:38 pm

Re: Links vs. Clones

Postby openBrain » Sun Aug 18, 2019 10:18 am

Not an expert but I guess links are more appropriate when you need to have several time the same part (eg. in an assembly).
Clone makes sense when you need several objects with similarities. Eg. have a base shape that is cloned then further modified in different manners.
triplus
Posts: 8605
Joined: Mon Dec 12, 2011 4:45 pm

Re: Links vs. Clones

Postby triplus » Tue Aug 20, 2019 1:18 pm

mlampert wrote:
Sun Aug 18, 2019 3:25 am
I started playing with links today and it occurred to me that they seem to work very similar to clones. I was wondering if there is a guide as to when use which? Or if links are gonna replace clones going forward?
There are underlying technical differences, but as for people using this functionality and on how to best describe the new additions. View -> Document Tree -> Multi Document:

Image
User avatar
GlouGlou
Posts: 1515
Joined: Sun Apr 05, 2015 9:02 am
Location: La Rochelle, France

Re: Links vs. Clones

Postby GlouGlou » Tue Aug 27, 2019 5:42 pm

Why link can't be attachment offset adjusted?
Is link will replace clone?
User avatar
DeepSOIC
Posts: 6844
Joined: Fri Aug 29, 2014 12:45 am
Location: Saint-Petersburg, Russia

Re: Links vs. Clones

Postby DeepSOIC » Tue Aug 27, 2019 5:55 pm

GlouGlou wrote:
Tue Aug 27, 2019 5:42 pm
Why link can't be attachment offset adjusted?
Link is not attachable by default, I guess...
User avatar
GlouGlou
Posts: 1515
Joined: Sun Apr 05, 2015 9:02 am
Location: La Rochelle, France

Re: Links vs. Clones

Postby GlouGlou » Tue Aug 27, 2019 7:13 pm

Indeed link can be attached and offset adjusted, but it seems not working :roll:
Attachments
Capture2.JPG
Capture2.JPG (60.06 KiB) Viewed 210 times
User avatar
DeepSOIC
Posts: 6844
Joined: Fri Aug 29, 2014 12:45 am
Location: Saint-Petersburg, Russia

Re: Links vs. Clones

Postby DeepSOIC » Tue Aug 27, 2019 8:12 pm

The green properties are properties of Cube, not Link to Cube (Cube001).
User avatar
GlouGlou
Posts: 1515
Joined: Sun Apr 05, 2015 9:02 am
Location: La Rochelle, France

Re: Links vs. Clones

Postby GlouGlou » Tue Aug 27, 2019 8:18 pm

ok, thanks. ;)