FreeCAD daily 0.18 auto constraints not working

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!
geobruce
Posts: 48
Joined: Sat May 19, 2018 9:34 am

FreeCAD daily 0.18 auto constraints not working

Post by geobruce »

Hi I'm used to the auto constraints, when you draw a line in sketcher and its horizontal / vertical / fixed to an object.
But for my freeCAD it isn't working any more, although it is enabled in the sketcher preferences.

Is this a bug or can I get this working again?
thnx

OS: Linux Mint 19.1
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.15780 (Git)
Build type: Release
Branch: master
Hash: f94e76c1116ec3b818961ff65131b3d86fa5b95e
Python version: 2.7.15rc1
Qt version: 5.9.5
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/UnitedStates (en_US)
chrisb
Veteran
Posts: 54302
Joined: Tue Mar 17, 2015 9:14 am

Re: FreeCAD daily 0.18 auto constraints not working

Post by chrisb »

Did you try to switch it of an on? If it doesn't help you can try to reset the configuration with the button in the preferences. Another possibility is to delete your config files or to move them in case you want to restore them.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
geobruce
Posts: 48
Joined: Sat May 19, 2018 9:34 am

Re: FreeCAD daily 0.18 auto constraints not working

Post by geobruce »

Even stranger I disabled it and now it works...
triplus
Veteran
Posts: 9471
Joined: Mon Dec 12, 2011 4:45 pm

Re: FreeCAD daily 0.18 auto constraints not working

Post by triplus »

Can't confirm on Ubuntu 16.04 and self compiled Py2/Qt5 development build.

P.S. I tested with Auto constraints set to ON and coincidence was added between two lines and their points. And when set to OFF that didn't happen.
amartino
Posts: 8
Joined: Sat Feb 24, 2018 2:14 pm

Re: FreeCAD daily 0.18 auto constraints not working

Post by amartino »

I'm experiencing a similar problem, as if auto constraints are being completely ignored.
I've tested it on Ubuntu 19.04:
* Freecad from Ubuntu repo
* App image
* Freecad Stable PPA

Also tried the PPA on Ubuntu 18.04. same behavior.
Made a screen-cast, the settings screen gets cut off in the video, there I'm going to

Code: Select all

Edit->Preferences->Sketcher
and checking Auto constraints and applying.

Before starting Freecad, I did

Code: Select all

rm -rf ~/.Freecad
Screencast: https://imgur.com/wGZM5m1

Will gladly provide more debug info.
amartino
Posts: 8
Joined: Sat Feb 24, 2018 2:14 pm

Re: FreeCAD daily 0.18 auto constraints not working

Post by amartino »

I've just noticed by accident that if I move to the draft workbench and return back to sketcher I
end up with two grids.

However the auto constraints have started working now.

OS: Ubuntu 19.04
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.1.
Build type: Release
Python version: 3.7.3
Qt version: 5.12.2
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/United States (en_US)
Last edited by amartino on Thu Jun 13, 2019 9:28 pm, edited 1 time in total.
User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Re: FreeCAD daily 0.18 auto constraints not working

Post by Kunda1 »

amartino wrote: Thu Jun 13, 2019 1:00 pm I've just noticed by accident that if I move to the draft workbench and return back to sketcher I
end up with two grids.

However the auto constraints have started working now.
Please always post your full Help > About FreeCAD > Copy to clipboard info when asking, testing, or giving assistance. It helps the community/posterity troubleshoot the issue better. Thanks!
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
chrisb
Veteran
Posts: 54302
Joined: Tue Mar 17, 2015 9:14 am

Re: FreeCAD daily 0.18 auto constraints not working

Post by chrisb »

Draft has its own grid. You have to switch to Draft workbench and switch off the grid.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
User avatar
la_mecanique
Posts: 11
Joined: Tue Jul 04, 2017 12:50 pm

Re: FreeCAD daily 0.18 auto constraints not working

Post by la_mecanique »

Exactly the same as the previous comments is happening to me. I installed 0.18.1 about 3 months ago, and have now installed 0.18.3 to the same problem: Auto constraints are not working at all after I upgraded to v18.

OS: Ubuntu 18.04.2 LTS
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.3.
Build type: Release
Python version: 3.6.8
Qt version: 5.9.5
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/Australia (en_AU)
chrisb
Veteran
Posts: 54302
Joined: Tue Mar 17, 2015 9:14 am

Re: FreeCAD daily 0.18 auto constraints not working

Post by chrisb »

Did you reset your preferences? Please note that this works only with new sketches. If it still doesn't work, try the newest 0.19 version.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
Post Reply