Sketcher preference "Auto constraints"

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
User avatar
Gauthier
Posts: 123
Joined: Fri Jul 04, 2014 10:00 am
Location: Audenge, France

Sketcher preference "Auto constraints"

Post by Gauthier »

Hi all,
Is there a bug in the Sketcher preference dialog?
1) start FreCAD,
2) Select Sketcher workbench,
3) Go to "Edit/Preferences",
4) Click on Sketcher icon,
5) Uncheck the "Auto constraints" option,
6) Valid and close the Preference dialog,
7) Create a new sketch,
=> The "Auto constraints" option stay checked :(

I have the same FreeCAD 0.18 behavior on Linux or on Windows.

Do you have a same behavior? Do I make a mistake? Is it a bug? Do I have to make a bug submission on the tracker?

Thanks for your reply
Gauthier.
---
OS: Debian GNU/Linux buster/sid
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.15316 (Git)
Build type: Release
Branch: master
Hash: b12bcc44a8d56fb202a7a92c5999f046f6ec42f4
Python version: 2.7.15+
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: French/France (fr_FR)
triplus
Veteran
Posts: 9471
Joined: Mon Dec 12, 2011 4:45 pm

Re: Sketcher preference "Auto constraints"

Post by triplus »

Hi Gauthier.

Yes i can confirm such behavior. The setting from Preferences should be respected. Therefore best if you open an issue report on the issue tracker.
chrisb
Veteran
Posts: 53922
Joined: Tue Mar 17, 2015 9:14 am

Re: Sketcher preference "Auto constraints"

Post by chrisb »

I wonder if they should be removed from the preferences as they are saved in the config file in their last state in Sketcher. If they stay in Preferences there should be an additional entry for "Autoremove redundants".
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
triplus
Veteran
Posts: 9471
Joined: Mon Dec 12, 2011 4:45 pm

Re: Sketcher preference "Auto constraints"

Post by triplus »

When creating a new sketch, the (global) setting from preferences should be respected. Inside an individual sketch, the setting users sets, should persist. That is what i meant above. Issue therefore being, currently the global setting isn't respected, when creating a new sketch.
User avatar
Gauthier
Posts: 123
Joined: Fri Jul 04, 2014 10:00 am
Location: Audenge, France

Re: Sketcher preference "Auto constraints"

Post by Gauthier »

Hi all,

Bug submitted here : https://www.freecadweb.org/tracker/view.php?id=3727

I agree what @triplus said that the global preference should be respected when creating a new sketch.
And the last state of option must be attached to the sketch itself.

@++;
Gauthier.
User avatar
DeepSOIC
Veteran
Posts: 7896
Joined: Fri Aug 29, 2014 12:45 am
Location: used to be Saint-Petersburg, Russia

Re: Sketcher preference "Auto constraints"

Post by DeepSOIC »

Gauthier wrote: Thu Dec 13, 2018 2:40 pm And the last state of option must be attached to the sketch itself.
Actually, I'd prefer it to stick to my preferences all the time. As I don't want auto-constraints sudden'y being on when editing someone-else's sketch.
User avatar
Gauthier
Posts: 123
Joined: Fri Jul 04, 2014 10:00 am
Location: Audenge, France

Re: Sketcher preference "Auto constraints"

Post by Gauthier »

DeepSOIC wrote: Thu Dec 13, 2018 2:42 pm As I don't want auto-constraints sudden'y being on when editing someone-else's sketch.
So am I :)
I don't like auto-constraints, so, I (praticaly) never left the option checked. If the option is never checked with global preference, you will never have a sketch with the option checked.
But I think perhaps in some circumstances this option will be favorable for a particular sketch. So checking it in the sketch, it will be active only for this sketch wich need it.
triplus
Veteran
Posts: 9471
Joined: Mon Dec 12, 2011 4:45 pm

Re: Sketcher preference "Auto constraints"

Post by triplus »

I see the issue was fixed and therefore thanks!
Post Reply