Sketch Reference: Independent/Dependent/Cross Reference

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!
Post Reply
vwegert
Posts: 23
Joined: Fri Oct 30, 2020 12:04 am

Sketch Reference: Independent/Dependent/Cross Reference

Post by vwegert »

I'm trying to create a document containing multiple bodies that are built upon one another (think of an outer frame that contains an inner part). The actual details of the model aren't all that important, I believe...
I've created the outer part, then added a second body, made sure that was active, selected one face of the first body (the outer part) and selected Create Sketch. Now I'm facing this dialog:
Bildschirmfoto 2020-11-01 um 12.13.50.png
Bildschirmfoto 2020-11-01 um 12.13.50.png (44.03 KiB) Viewed 2420 times
I'm not sure what any of these options actually mean, i. e. what the consequences of choosing any of these options would be. I have not been able to find an explanation either in the Wiki or searching through the forums. I'll just continue with the recommended option without knowing what it does for now, but if anyone has some background information, that would be great.
chrisb
Veteran
Posts: 53922
Joined: Tue Mar 17, 2015 9:14 am

Re: Sketch Reference: Independent/Dependent/Cross Reference

Post by chrisb »

"Make independent copy" copies stuff from the old body. I don't recommend it, it is almost never what I want.
"Make dependent copy" creates a ShapeBinder
"Create cross-reference" creates an illegal reference to the other sketch.

I had to look these up, because I always use a manually created ShapeBinder, i.e. I would recommend the second option.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
User avatar
Pauvres_honteux
Posts: 728
Joined: Sun Feb 16, 2014 12:05 am
Location: Far side of the moon

Re: Sketch Reference: Independent/Dependent/Cross Reference

Post by Pauvres_honteux »

I think you'd be delighted to have this working for you:
Automate Link and ShapeBinder
Last edited by Pauvres_honteux on Wed Nov 04, 2020 3:30 pm, edited 1 time in total.
chrisb
Veteran
Posts: 53922
Joined: Tue Mar 17, 2015 9:14 am

Re: Sketch Reference: Independent/Dependent/Cross Reference

Post by chrisb »

Pauvres_honteux wrote: Mon Nov 02, 2020 11:08 am I think you'd be delighted to have this working for you:
Automate Link and ShapeBinder
Your link opens directly in edit mode.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
User avatar
Pauvres_honteux
Posts: 728
Joined: Sun Feb 16, 2014 12:05 am
Location: Far side of the moon

Re: Sketch Reference: Independent/Dependent/Cross Reference

Post by Pauvres_honteux »

chrisb wrote: Mon Nov 02, 2020 4:23 pm Your link opens directly in edit mode.
Fixed in my post above.
just_a_dick
Posts: 7
Joined: Fri Aug 20, 2021 11:39 pm

Re: Sketch Reference: Independent/Dependent/Cross Reference

Post by just_a_dick »

chrisb wrote: Sun Nov 01, 2020 12:37 pm"Make dependent copy" creates a ShapeBinder
Hm. The icon in the Model tree is not ShapeBinder's one (FC 0.20)
chrisb
Veteran
Posts: 53922
Joined: Tue Mar 17, 2015 9:14 am

Re: Sketch Reference: Independent/Dependent/Cross Reference

Post by chrisb »

What is it then? Here it still is:
SnipScreenshot-bf1538.png
SnipScreenshot-bf1538.png (9.2 KiB) Viewed 1429 times

Code: Select all

OS: macOS 10.16
Word size of FreeCAD: 64-bit
Version: 0.21.29997 (Git)
Build type: Release
Branch: master
Hash: b52967d52ac46eff7c59e74d991f3f5b298944ef
Python 3.10.5, Qt 5.15.4, Coin 4.0.0, Vtk 9.1.0, OCC 7.6.2
Locale: C/Default (C)
Installed mods: 
  * FC_SU
  * FeedsAndSpeeds 0.4.0
  * fcgear 1.0.0
  * fasteners 0.3.51
  * sheetmetal 0.2.56
  * ExplodedAssembly
  * Curves 0.5.4
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
just_a_dick
Posts: 7
Joined: Fri Aug 20, 2021 11:39 pm

Re: Sketch Reference: Independent/Dependent/Cross Reference

Post by just_a_dick »

chrisb wrote: Fri Aug 19, 2022 1:17 pmWhat is it then? Here it still is:
Ok, maybe it is for sketches and not other entities. When I created Local_CS in Body based on SidePt, SideLine and TopLine from Reference and selected "Make dependent copy", I got this.

Looks like those Reference things are illegal references to the other Body.
Attachments
Screenshot from 2022-08-19 21-57-13.png
Screenshot from 2022-08-19 21-57-13.png (25 KiB) Viewed 1376 times
Post Reply