Sketcher ConstrainLock: Difference between revisions

From FreeCAD Documentation
m (Languages spanish)
m (Changed section to 'Usage')
(26 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<languages/>
{{GuiCommand|Name=Sketcher ConstrainLock|Workbenches=[[Sketcher Workbench|Sketcher]], [[PartDesign Module|PartDesign_Workbench]]|MenuLocation=Sketcher → Constrain lock|SeeAlso=[[Constraint Coincedent]]}}
<translate>
"Create a lock constraint on the selected item"
<!--T:9-->
==Description==
{{Docnav|[[Sketcher_ConstrainBlock|Constrain Block]]|[[Sketcher ConstrainDistanceX|Horizontal Distance]]|[[Sketcher_Workbench|Sketcher]]|IconL=Sketcher_ConstrainBlock.png|IconC=Workbench_Sketcher.svg|IconR=Constraint_HorizontalDistance.png‎}}
This constraint tool attempts to <em>fully constrain</em> any selected item.


<!--T:4-->
NOTE: It is advised that this tool be exclusively used on points for the time-being:
{{GuiCommand
|Name=Sketcher ConstrainLock
|Workbenches=[[Sketcher Workbench|Sketcher]]
|MenuLocation=Sketch → Sketcher constraints → Constrain lock
|SeeAlso=[[Sketcher ConstrainBlock|Constrain Block]]
}}


==Description== <!--T:1-->
Owing to the fact that FreeCAD is still under development - this tool exhibits strange behaviour when it attempts to 'lock' anything other than a point. For example (as of V0.12 R4802), when locking a circle by its circumferential line rather than its centre <em>point</em>, a horizontal constraint and a vertical constraint appear in the constraints dialogue, but they are both of value zero and do not appear in the graphics window.
==Usage==
#Firstly it is necessary to highlight an item you wish to constrain. For reasons alluded-to above it is wise to only highlight a <em>point</em>.
#Highlighting of a drawing item is achieved by moving the mouse over the item and clicking the left-mouse-button.
#A highlighted item will change colour to green.
#Once an item is highlighted, left-clicking on the <em>lock</em> constraint serves to lock the highlighted item in-place. This usually manifests as two constraints: a horizontal distance constraint from the drawing axis origin, and a vertical constraint from the drawing axis origin.


<!--T:5-->
{{languages | {{es|Constraint_Lock/es}} }}
'''Constraint Lock''' applies [[File:Constraint_HorizontalDistance.png|24px]] [[Sketcher_ConstrainDistanceX|Horizontal distance]] and [[File:Constraint_VerticalDistance.png|24px]] [[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.


==Usage== <!--T:3-->

<!--T:6-->
# Select one or more vertices (points) in the sketch.
# Press the {{KEY|[[File:Sketcher ConstrainLock.png|24px]] '''Constrain Lock'''}} button.
# 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.

<!--T:7-->
'''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.

<!--T:10-->
{{Docnav|[[Sketcher_ConstrainBlock|Constrain Block]]|[[Sketcher ConstrainDistanceX|Horizontal Distance]]|[[Sketcher_Workbench|Sketcher]]|IconL=Sketcher_ConstrainBlock.png|IconC=Workbench_Sketcher.svg|IconR=Constraint_HorizontalDistance.png‎}}

<!--T:11-->
{{Sketcher Tools navi}}

<!--T:12-->
{{Userdocnavi}}

</translate>

Revision as of 18:47, 30 January 2020

Sketcher ConstrainLock

Menu location
Sketch → Sketcher constraints → Constrain lock
Workbenches
Sketcher
Default shortcut
None
Introduced in version
-
See also
Constrain Block

Description

Constraint Lock applies Horizontal distance and 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.


Usage

  1. Select one or more vertices (points) in the sketch.
  2. Press the Constrain Lock button.
  3. 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.

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 ESC once to quit the command.