Sketcher ToggleDrivingConstraint: Difference between revisions

From FreeCAD Documentation
No edit summary
(Shortcut)
(13 intermediate revisions by 6 users not shown)
Line 1: Line 1:
<languages/>
<languages/>
<translate>
<translate>

<!--T:11-->
{{Docnav
|[[Sketcher_ConstrainInternalAlignment|Internal alignment]]
|[[Sketcher_ToggleActiveConstraint|Activate/deactivate constraint]]
|[[Sketcher_Workbench|Sketcher]]
|IconL=Sketcher_ConstrainInternalAlignment.svg
|IconR=Sketcher_ToggleActiveConstraint.svg
|IconC=Workbench_Sketcher.svg
}}

<!--T:1-->
<!--T:1-->
{{GuiCommand
{{GuiCommand
|Name=Sketcher ToggleConstraint
|Name=Sketcher ToggleDrivingConstraint
|MenuLocation=Sketch → Sketcher constraints → Toggle driving/reference constraint
|Workbenches=[[Sketcher Workbench|Sketcher]]
|Workbenches=[[Sketcher_Workbench|Sketcher]]
|MenuLocation=Sketch → Sketcher constraints → Toggle reference/driving constraint
|Shortcut={{KEY|K}} {{KEY|X}}
|SeeAlso=[[Sketcher_ToggleConstruction|Toggle Construction]]
|Version=0.16
|Version=0.16
|SeeAlso=[[Sketcher_ToggleConstruction|Sketcher Toggle Construction]]
}}
}}


Line 13: Line 25:


<!--T:6-->
<!--T:6-->
The '''Toggle Constraint''' icon turns dimensional constraints (Lock, Horizontal/Vertical distance, Length, Radius and Angle) into reference mode, and back. The icons in the toolbar turn blue, and rather than dimensional constraints, reference dimensions are created. Reference dimensions do not constrain the sketch. It can be useful to create reference dimensions in a sketch as a way to check on measurements; when given a name, they can also be used to drive constraints in another sketch through [[Expressions|expressions]].
The {{Button|[[File:Sketcher ToggleDrivingConstraint.svg|16px]] [[Sketcher_ToggleDrivingConstraint|Toggle driving constraint]]}} tool turns dimensional constraints (Lock, Horizontal/Vertical distance, Length, Radius and Angle) into reference mode, and back. The icons in the toolbar turn blue, and rather than dimensional constraints, reference dimensions are created. Reference dimensions do not constrain the sketch. It can be useful to create reference dimensions in a sketch as a way to check on measurements; when given a name, they can also be used to drive constraints in another sketch through [[Expressions|expressions]].




Line 20: Line 32:
<translate>
<translate>
<!--T:7-->
<!--T:7-->
''The Sketcher Constraint toolbar with the dimensional constraints in reference dimension mode (blue).''
{{Caption|The Sketcher Constraint toolbar with the dimensional constraints in reference dimension mode (blue).}}




Line 27: Line 39:
<translate>
<translate>
<!--T:8-->
<!--T:8-->
''A horizontal distance constraint (50 mm), a vertical constraint (30 mm) and an angle constraint (75°) were set to define the profile; a reference dimension was added on the slanted line segment to know its length (31.0583 mm).''
{{Caption|A horizontal distance constraint (50 mm), a vertical constraint (30 mm) and an angle constraint (75°) were set to define the profile; a reference dimension was added on the slanted line segment to know its length (31.0583 mm).}}


==How to use== <!--T:4-->
==Usage== <!--T:4-->


<!--T:9-->
<!--T:9-->
# Press the {{KEY|[[File:Sketcher ToggleConstraint.png|24px]] '''Toggle reference/driving constraint'''}} button. The dimensional constraints icons in the Sketcher Constraints toolbar turn from red to blue.
# Press the {{Button|[[File:Sketcher ToggleDrivingConstraint.svg|16px]] [[Sketcher_ToggleDrivingConstraint|Toggle driving constraint]]}} button. The dimensional constraints icons in the Sketcher Constraints toolbar turn from red to blue.
# The usual method of creating dimensional constraints works the same, but a blue reference dimension is added instead.
# The usual method of creating dimensional constraints works the same, but a blue reference dimension is added instead.
# To turn the Sketcher Constraints toolbar back to constraint mode (red), press the Toggle Constraint button again.
# To turn the Sketcher Constraints toolbar back to constraint mode (red), press the Toggle Constraint button again.
# To turn a dimensional constraint into a reference dimension, or the reverse, select it and press the Toggle Constraint button.
# To turn a dimensional constraint into a reference dimension, or the reverse, select it and press the Toggle Constraint button.


<!--T:12-->
{{Docnav
|[[Sketcher_ConstrainInternalAlignment|Internal alignment]]
|[[Sketcher_ToggleActiveConstraint|Activate/deactivate constraint]]
|[[Sketcher_Workbench|Sketcher]]
|IconL=Sketcher_ConstrainInternalAlignment.svg
|IconR=Sketcher_ToggleActiveConstraint.svg
|IconC=Workbench_Sketcher.svg
}}

</translate>
</translate>
{{Sketcher_Tools_navi{{#translation:}}}}
<translate>
{{Userdocnavi{{#translation:}}}}
[[Category:Sketcher]]
</translate>

Revision as of 20:44, 20 March 2022

Sketcher ToggleDrivingConstraint

Menu location
Sketch → Sketcher constraints → Toggle driving/reference constraint
Workbenches
Sketcher
Default shortcut
K X
Introduced in version
0.16
See also
Sketcher Toggle Construction

Description

The Toggle driving constraint tool turns dimensional constraints (Lock, Horizontal/Vertical distance, Length, Radius and Angle) into reference mode, and back. The icons in the toolbar turn blue, and rather than dimensional constraints, reference dimensions are created. Reference dimensions do not constrain the sketch. It can be useful to create reference dimensions in a sketch as a way to check on measurements; when given a name, they can also be used to drive constraints in another sketch through expressions.


The Sketcher Constraint toolbar with the dimensional constraints in reference dimension mode (blue).


A horizontal distance constraint (50 mm), a vertical constraint (30 mm) and an angle constraint (75°) were set to define the profile; a reference dimension was added on the slanted line segment to know its length (31.0583 mm).

Usage

  1. Press the Toggle driving constraint button. The dimensional constraints icons in the Sketcher Constraints toolbar turn from red to blue.
  2. The usual method of creating dimensional constraints works the same, but a blue reference dimension is added instead.
  3. To turn the Sketcher Constraints toolbar back to constraint mode (red), press the Toggle Constraint button again.
  4. To turn a dimensional constraint into a reference dimension, or the reverse, select it and press the Toggle Constraint button.