Sketcher ConstrainLock/pt: Difference between revisions

From FreeCAD Documentation
(Updating to match new version of source page)
(Updating to match new version of source page)
 
(10 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<languages/>
<languages/>

{{Docnav|[[Sketcher_ConstrainBlock|Constrain Block]]|[[Sketcher ConstrainDistanceX|Horizontal Distance]]|[[Sketcher_Workbench|Sketcher]]|IconL=Sketcher_ConstrainBlock.png|IconC=Workbench_Sketcher.svg|IconR=Constraint_HorizontalDistance.svg‎}}
{{Docnav
|[[Sketcher_ConstrainAngle|Angle]]
|[[Sketcher_ConstrainSnellsLaw|Refraction (Snell's law)]]
|[[Sketcher_Workbench|Sketcher]]
|IconL=Sketcher_ConstrainAngle.svg
|IconR=Sketcher_ConstrainSnellsLaw.svg‎
|IconC=Workbench_Sketcher.svg
}}


<div class="mw-translate-fuzzy">
<div class="mw-translate-fuzzy">
{{GuiCommand/pt
{{GuiCommand/pt|Name=Sketcher ConstrainLock|Name/pt=Sketcher ConstrainLock|Workbenches=[[Sketcher Workbench/pt|Sketcher]], [[PartDesign Workbench/pt|PartDesign]]|MenuLocation=Sketch → Sketcher constraints → Constrain lock|SeeAlso=[[Constraint PointOnPoint/pt|Constraint Coincident]]}}
|Name=Sketcher ConstrainLock
|Name/pt=Sketcher ConstrainLock
|Workbenches=[[Sketcher Workbench/pt|Sketcher]], [[PartDesign Workbench/pt|PartDesign]]
|MenuLocation=Sketch → Sketcher constraints → Constrain lock
|SeeAlso=[[Sketcher_ConstrainBlock|Sketcher Constrain Block]]
}}
</div>
</div>


==Description==
==Description==


'''Constraint Lock''' applies {{Button|[[File:Sketcher_ConstrainDistanceX.svg|16px]] [[Sketcher_ConstrainDistanceX|Horizontal distance]]}} and {{Button|[[File:Sketcher_ConstrainDistanceY.svg|16px]] [[Sketcher_ConstrainDistanceY|Vertical distance]]}} constraints to selected vertices (points) in the sketch. If a single vertex is selected, the horizontal and vertical distance constraints will refer to the sketch origin point. If two or more points are selected, horizontal and vertical distance constraints will be added for each pair of points. There is no automatic prompt to edit the constraints' values, they must be edited manually.
The [[Image:Sketcher_ConstrainLock.svg|24px]] [[Sketcher_ConstrainLock|Sketcher ConstrainLock]] tool applies [[Sketcher_ConstrainDistanceX|Horizontal distance]] and [[Sketcher_ConstrainDistanceY|Vertical distance]] constraints to points. If a single point is selected the constraints reference the origin of the sketch. If two or more points are selected the constraints reference the last point in the selection.


==Usage==
==Usage==


See also: [[Sketcher_Workbench#Drawing_aids|Drawing aids]].
# Select one or more vertices (points) in the sketch.

# Press the {{Button|[[File:Sketcher_ConstrainLock.svg|16px]] [[Sketcher ConstrainLock|Constrain lock]]}} button.
===[[Sketcher_Workbench#Continue_modes|Continue mode]]===
# To edit the constraints values, double-click on a constraint value in the 3D view, or double-click on the constraint or right-click and select '''Edit value''' in the Constraint list in the Tasks tab.

# Make sure there is no selection.
# There are several ways to invoke the tool:
#* {{Version|1.0}}: If the {{MenuCommand|Dimensioning constraints}} [[Sketcher_Preferences#General|preference]] is set to {{Value|Single tool}} (default): press the down arrow to the right of the {{Button|[[Image:Sketcher_Dimension.svg||x16px]][[Image:Toolbar_flyout_arrow.svg|x16px]]}} button and select the {{MenuCommand|[[Image:Sketcher_ConstrainLock.svg|16px]] Constrain lock}} option from the dropdown.
#* If this preference has a different value (and in {{VersionMinus|0.21}}): press the {{Button|[[Image:Sketcher_ConstrainLock.svg|16px]] [[Sketcher_ConstrainLock|Constrain lock]]}} button.
#* Select the {{MenuCommand|Sketch → Sketcher constraints → [[Image:Sketcher_ConstrainLock.svg|16px]] Constrain lock}} option from the menu.
#* {{Version|1.0}}: Right-click in the [[3D_view|3D view]] and select the {{MenuCommand|Dimension → [[Image:Sketcher_ConstrainLock.svg|16px]] Constrain lock}} option from the context menu.
#* Use the keyboard shortcut: {{KEY|K}} then {{KEY|L}}.
# The cursor changes to a cross with the tool icon.
# Select a single point.
# Two constraints are added.
# Optionally keep creating constraints.
# To finish, right-click or press {{KEY|Esc}}, or start another geometry or constraint creation tool.

===Run-once mode===

# Select one or more points.
# Invoke the tool as explained above.
# Depending on the selection two or more constraints are added.

==Notes==

* There is no automatic prompt to edit the constraint values. If required values can be [[Sketcher_Workbench#Edit_constraints|edited manually]].


'''Note:''' the constraint tool can also be started with no prior selection, but it will then only work on a single vertex, and reference the constraints to the sketch origin point. By default the command will be in continue mode to create new constraints; press the right mouse button or {{KEY|ESC}} once to quit the command.


{{Docnav
{{Docnav|[[Sketcher_ConstrainBlock|Constrain Block]]|[[Sketcher ConstrainDistanceX|Horizontal Distance]]|[[Sketcher_Workbench|Sketcher]]|IconL=Sketcher_ConstrainBlock.png|IconC=Workbench_Sketcher.svg|IconR=Constraint_HorizontalDistance.svg‎}}
|[[Sketcher_ConstrainAngle|Angle]]
|[[Sketcher_ConstrainSnellsLaw|Refraction (Snell's law)]]
|[[Sketcher_Workbench|Sketcher]]
|IconL=Sketcher_ConstrainAngle.svg
|IconR=Sketcher_ConstrainSnellsLaw.svg‎
|IconC=Workbench_Sketcher.svg
}}


{{Sketcher Tools navi{{#translation:}}}}
{{Sketcher_Tools_navi{{#translation:}}}}
{{Userdocnavi{{#translation:}}}}
{{Userdocnavi{{#translation:}}}}
{{clear}}

Latest revision as of 13:44, 24 April 2024

Sketcher ConstrainLock

Localização do menu
Sketch → Sketcher constraints → Constrain lock
Bancadas de trabalho
Sketcher, PartDesign
Atalho padrão
Nenhum
Introduzido na versão
-
Veja também
Sketcher Constrain Block

Description

The Sketcher ConstrainLock tool applies Horizontal distance and Vertical distance constraints to points. If a single point is selected the constraints reference the origin of the sketch. If two or more points are selected the constraints reference the last point in the selection.

Usage

See also: Drawing aids.

Continue mode

  1. Make sure there is no selection.
  2. There are several ways to invoke the tool:
    • introduced in version 1.0: If the Dimensioning constraints preference is set to Single tool (default): press the down arrow to the right of the button and select the Constrain lock option from the dropdown.
    • If this preference has a different value (and in version 0.21 and below): press the Constrain lock button.
    • Select the Sketch → Sketcher constraints → Constrain lock option from the menu.
    • introduced in version 1.0: Right-click in the 3D view and select the Dimension → Constrain lock option from the context menu.
    • Use the keyboard shortcut: K then L.
  3. The cursor changes to a cross with the tool icon.
  4. Select a single point.
  5. Two constraints are added.
  6. Optionally keep creating constraints.
  7. To finish, right-click or press Esc, or start another geometry or constraint creation tool.

Run-once mode

  1. Select one or more points.
  2. Invoke the tool as explained above.
  3. Depending on the selection two or more constraints are added.

Notes

  • There is no automatic prompt to edit the constraint values. If required values can be edited manually.