Sketch recalculates every time I leave edition mode.

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!
leoheck
Veteran
Posts: 1222
Joined: Tue Mar 13, 2018 5:56 pm
Location: Coffee shop

Sketch recalculates every time I leave edition mode.

Post by leoheck »

I always need to go in edit mode to check sketch dimensions.
But it has only a single Close button. When I use it, it needs to recalculate the design. And sometimes this takes time.

Is it possible to leave this mode without recalculating anything?
Let's say, a Cancel button would be a good idea.
User avatar
papyblaise
Veteran
Posts: 7870
Joined: Thu Jun 13, 2019 4:28 pm
Location: France

Re: Sketch recalculates every time I leave edition mode.

Post by papyblaise »

clik or not this box
Attachments
recalcul.PNG
recalcul.PNG (15.61 KiB) Viewed 819 times
User avatar
Shalmeneser
Veteran
Posts: 9474
Joined: Wed Dec 23, 2020 12:04 am
Location: Fr

Re: Sketch recalculates every time I leave edition mode.

Post by Shalmeneser »

In the combo view, you can check all dimensions of a sketch.
It would be better to give them an alias to know their role.
User avatar
Vincent B
Veteran
Posts: 4713
Joined: Sun Apr 05, 2015 9:02 am
Location: La Rochelle, France

Re: Sketch recalculates every time I leave edition mode.

Post by Vincent B »

leoheck
Veteran
Posts: 1222
Joined: Tue Mar 13, 2018 5:56 pm
Location: Coffee shop

Re: Sketch recalculates every time I leave edition mode.

Post by leoheck »

papyblaise wrote: Wed Jun 16, 2021 2:06 pm clik or not this box
Alright, thanks. So this is the goal of this checkbox.
leoheck
Veteran
Posts: 1222
Joined: Tue Mar 13, 2018 5:56 pm
Location: Coffee shop

Re: Sketch recalculates every time I leave edition mode.

Post by leoheck »

Shalmeneser wrote: Wed Jun 16, 2021 4:47 pm In the combo view, you can check all dimensions of a sketch.
It would be better to give them an alias to know their role.
Yeah, thanks. But having the constraints visually in the canvas is better when the sketch is complex.
But it looks like the checkbox "Auto update" does it.

Aliases are good, but adding aliases, variables and other features like that just adds more workload and time to the process things. I prefer to make a model in 15 minutes. And redoing it again next time instead of just wasting time adding these features.
chrisb
Veteran
Posts: 53922
Joined: Tue Mar 17, 2015 9:14 am

Re: Sketch recalculates every time I leave edition mode.

Post by chrisb »

leoheck wrote: Wed Jun 16, 2021 7:40 pm Alright, thanks. So this is the goal of this checkbox.
No. That prevents an update on every change while staying in Sketcher. Currently there is a recompute whenever you leave the sketch.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
leoheck
Veteran
Posts: 1222
Joined: Tue Mar 13, 2018 5:56 pm
Location: Coffee shop

Re: Sketch recalculates every time I leave edition mode.

Post by leoheck »

chrisb wrote: Wed Jun 16, 2021 9:28 pm
leoheck wrote: Wed Jun 16, 2021 7:40 pm Alright, thanks. So this is the goal of this checkbox.
No. That prevents an update on every change while staying in Sketcher. Currently there is a recompute whenever you leave the sketch.
I see. Any way to achieve this with python directly in the console?
chrisb
Veteran
Posts: 53922
Joined: Tue Mar 17, 2015 9:14 am

Re: Sketch recalculates every time I leave edition mode.

Post by chrisb »

leoheck wrote: Thu Jun 17, 2021 2:55 pm I see. Any way to achieve this with python directly in the console?
There is a function purgeTouched(), which is supposed to mark an object as unchanged. However, I tried on a sketch and it didn't work.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
leoheck
Veteran
Posts: 1222
Joined: Tue Mar 13, 2018 5:56 pm
Location: Coffee shop

Re: Sketch recalculates every time I leave edition mode.

Post by leoheck »

chrisb wrote: Thu Jun 17, 2021 7:33 pm
leoheck wrote: Thu Jun 17, 2021 2:55 pm I see. Any way to achieve this with python directly in the console?
There is a function purgeTouched(), which is supposed to mark an object as unchanged. However, I tried on a sketch and it didn't work.
Oh, this was promising and disappointing at the same time but thanks for your effort, I appreciate that.
Post Reply