Sketches on Planes

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!
chrisb
Veteran
Posts: 53930
Joined: Tue Mar 17, 2015 9:14 am

Re: Sketches on Planes

Post by chrisb »

Vagulus wrote: Wed Aug 12, 2020 3:12 am Please: is that correct?
Yes.
Now, if we can name dimensions it follows that the dimensions and their names are stored together somewhere - I expect in a spreadsheet.
Some questions from that:
1. Can I access that spreadsheet?
2. Can I modify the model by changing dimensions in the spreadsheet?
You have (at least) 3 possibilities to use common values
1) give a name to a dimension and use it in the form SketchXXX.Constraints.GivenName
2) use DynamicData workbench from the AddonManager
3) use a spreadsheet.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
User avatar
Vagulus
Posts: 850
Joined: Tue Jul 14, 2020 7:55 am
Location: Perth, Western Australia

Re: Sketches on Planes

Post by Vagulus »

Thanks chrisb
That syntax SketchXXX.Constraints.GivenName is where I got stuck.
"It is much harder to simplify than to complicate."
Joseph Kimble
User avatar
Vagulus
Posts: 850
Joined: Tue Jul 14, 2020 7:55 am
Location: Perth, Western Australia

Re: Sketches on Planes

Post by Vagulus »

Back trying to follow your demo again Bance. It is a one small step at a time process. :(

You start with both Sketch and Sketch 004 visible in the drawing area and they stay there no matter what you do.
200813 Just 2 Active Sketches Both Showing 640x372.png
200813 Just 2 Active Sketches Both Showing 640x372.png (79.5 KiB) Viewed 1023 times
I can have both visible as long as Sketch is active, but if I activate Sketch 004 then Sketch disappears. That means that when I move to the next step I cannot select a vertices on Sketch - they are not visible to select.

How to keep them both visible?
"It is much harder to simplify than to complicate."
Joseph Kimble
chrisb
Veteran
Posts: 53930
Joined: Tue Mar 17, 2015 9:14 am

Re: Sketches on Planes

Post by chrisb »

While you are in Sketcher you can switch to the model tree and make the other sketch visible. This doesn't work while the external tool is active.
In Preferences->Sketcher you can change the behaviour concerning visibility. You may have to apply it to existing sketches before it works.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
User avatar
Vagulus
Posts: 850
Joined: Tue Jul 14, 2020 7:55 am
Location: Perth, Western Australia

Re: Sketches on Planes

Post by Vagulus »

chrisb wrote: Thu Aug 13, 2020 9:04 am While you are in Sketcher you can switch to the model tree and make the other sketch visible. This doesn't work while the external tool is active.
What is the 'external tool'?
chrisb wrote: Thu Aug 13, 2020 9:04 am In Preferences->Sketcher you can change the behaviour concerning visibility. You may have to apply it to existing sketches before it works.
I think you mean Edit --> Preferences --> Sketcher --> Display?
What do I change? I have played around with the checkboxes - uncheck one and click Apply to existing sketches; no change; change back; no change' try another; ... No change!

This is what I have with Sketch 004 active
200813 Sketcher WB Sketch 004 Active.png
200813 Sketcher WB Sketch 004 Active.png (154.99 KiB) Viewed 1003 times
then with Sketch active
200813 Sketcher WB Sketch Active.png
200813 Sketcher WB Sketch Active.png (159.56 KiB) Viewed 1003 times
Current state of design attached.
Attachments
Block.FCStd
(15.45 KiB) Downloaded 37 times
"It is much harder to simplify than to complicate."
Joseph Kimble
Bance
Veteran
Posts: 4186
Joined: Wed Feb 11, 2015 3:00 pm
Location: London

Re: Sketches on Planes

Post by Bance »

Why are you making the sketches active?
User avatar
Vagulus
Posts: 850
Joined: Tue Jul 14, 2020 7:55 am
Location: Perth, Western Australia

Re: Sketches on Planes

Post by Vagulus »

Bance wrote: Thu Aug 13, 2020 9:41 am Why are you making the sketches active?
Terminology!

I call a sketch Active when I have clicked on it; it's highlighted (has a grey background); and its details become visible in the Combo View column.
I don't know what you call it.

In this case I make Sketch active so I can see it.
"It is much harder to simplify than to complicate."
Joseph Kimble
Bance
Veteran
Posts: 4186
Joined: Wed Feb 11, 2015 3:00 pm
Location: London

Re: Sketches on Planes

Post by Bance »

When in PD WB just select the sketch (LMB click once), Properties are then available in the data tab. There is no need to be in sketcher.
User avatar
Vagulus
Posts: 850
Joined: Tue Jul 14, 2020 7:55 am
Location: Perth, Western Australia

Re: Sketches on Planes

Post by Vagulus »

Bance wrote: Thu Aug 13, 2020 9:50 am When in PD WB just select the sketch (LMB click once), Properties are then available in the data tab. There is no need to be in sketcher.
This is a side-track again!

What I need to know Bance is how you have both Sketch and Sketch 004 visible all the time so you can select vertices from Sketch while positioning Sketch 004. As my images show, I can't do that.
"It is much harder to simplify than to complicate."
Joseph Kimble
Bance
Veteran
Posts: 4186
Joined: Wed Feb 11, 2015 3:00 pm
Location: London

Re: Sketches on Planes

Post by Bance »

You are in the wrong WB! Do as I said and all will be revealed (LITERALLY)
Post Reply