Sketcher Constraints checkbox -- What does it do?
Forum rules
and Helpful information
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!
Also, be nice to others! Read the FreeCAD code of conduct!
Sketcher Constraints checkbox -- What does it do?
Can someone explain or point me to what the check-box to the left of each constraint in the Sketcher Constraints is for? I can't find it described anywhere.
-
- Posts: 29
- Joined: Sun May 10, 2020 7:27 am
- Location: Scotland
Re: Sketcher Constraints checkbox -- What does it do?
It turns on and off the visibility and selection of the constraint (in red). Sometimes a sketch can get very busy with constraints and selection of end points etc. can be difficult so you can hide the ones that are getting in the way.
Re: Sketcher Constraints checkbox -- What does it do?
Ah, thanks. I thought it might do something like that or deactivate them but apparently it doesn't always work. For example, coincidence constraints aren't visible, and turning one off and on doesn't make it visible. That's unfortunate because it makes it difficult to identify which is which unless one renames them. I also have a case where sometimes only one of a constraint pair is made invisible, along with a different constraint; the internal tracking of which text goes with which constraint appears to be confused.
Anyway, thanks, that's a help.
OS: FreeBSD 11.3-RELEASE-p6
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.0.18.4
Build type: Release
Python version: 3.7.6
Qt version: 5.13.2
Coin version: 3.1.3
OCC version: 7.4.0.beta
Locale: C/Default (C)
Anyway, thanks, that's a help.
OS: FreeBSD 11.3-RELEASE-p6
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.0.18.4
Build type: Release
Python version: 3.7.6
Qt version: 5.13.2
Coin version: 3.1.3
OCC version: 7.4.0.beta
Locale: C/Default (C)
Re: Sketcher Constraints checkbox -- What does it do?
Do you hava an example for this?
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
Re: Sketcher Constraints checkbox -- What does it do?
In the attached file:
1. Open the sketch in Sketcher WB
2. Scroll down to constraint labelled "UpperGuideSlopLines"
3. Click on it and notice where the two constraint texts are
4. On the right hand constraint, note the "UprRtSlopInLineWithUprRtGuide" constraint label above it
5. Click the "UpperGuideSlopLines" check box to hide it
Result: The right hand constraint label disappears, but not the left; the additional constraint above it disappears OS: FreeBSD 11.3-RELEASE-p6
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.0.18.4
Build type: Release
Python version: 3.7.6
Qt version: 5.13.2
Coin version: 3.1.3
OCC version: 7.4.0.beta
Locale: C/Default (C)
1. Open the sketch in Sketcher WB
2. Scroll down to constraint labelled "UpperGuideSlopLines"
3. Click on it and notice where the two constraint texts are
4. On the right hand constraint, note the "UprRtSlopInLineWithUprRtGuide" constraint label above it
5. Click the "UpperGuideSlopLines" check box to hide it
Result: The right hand constraint label disappears, but not the left; the additional constraint above it disappears OS: FreeBSD 11.3-RELEASE-p6
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.0.18.4
Build type: Release
Python version: 3.7.6
Qt version: 5.13.2
Coin version: 3.1.3
OCC version: 7.4.0.beta
Locale: C/Default (C)
Re: Sketcher Constraints checkbox -- What does it do?
Please note than in 0.19 there is a new tool to activate and deactivate constraints, Sketcher_ToggleActiveConstraint.
Always add the important information to your posts if you need help. Also see Tutorials and Video tutorials.
To support the documentation effort, and code development, your donation is appreciated: liberapay.com/FreeCAD.
To support the documentation effort, and code development, your donation is appreciated: liberapay.com/FreeCAD.
Re: Sketcher Constraints checkbox -- What does it do?
Constraints are not hidden. They are moved to another virtual space and you can switch between the two spaces so you can have two visual sets of constraints. Sketcher_SwitchVirtualSpace
Re: Sketcher Constraints checkbox -- What does it do?
I noticed that in the docs, thanks.vocx wrote: ↑Tue May 12, 2020 5:59 pm Please note than in 0.19 there is a new tool to activate and deactivate constraints, Sketcher_ToggleActiveConstraint.
Ah, thanks.
Re: Sketcher Constraints checkbox -- What does it do?
@chrisb Don't know if this is helpful or not, but I've noticed the mismatch in constraint display seems to happen after I have deleted some pieces of a sketch and added new ones. Unfortunately, I haven't noticed exactly when it happens. But maybe something like deleting one arc, inserting a guide line, and then re-creating the arc. This might cause problems with constraints on straight lines that formerly connected to the ends of the deleted arc, even though those constraints were related to the line ends not connected to the arc.