Sketcher ConstrainLock: Difference between revisions

From FreeCAD Documentation
(→‎Operation: Addition of screen shots and expanding the usage description for the lock constraint davec49)
Line 8: Line 8:
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.
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.
==Operation==
==Operation==
#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>.
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>.
[[File:LockConstraint1.png|256px]]
[File:LockConstraint1.png|256px]]
#Highlighting of a drawing item is achieved by moving the mouse over the item and clicking the left-mouse-button.
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.
A highlighted item will change colour to green.
[[File:LockConstraint2.png|256px]]
[[File:LockConstraint2.png|256px]]
#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. These are set by default to the current co-ordinates of the point.
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. These are set by default to the current co-ordinates of the point.
[[File:LockConstraint3.png|256px]]
[[File:LockConstraint3.png|256px]]
#The vertical and horizontal constraints forming the lock can be edited by double clicking on the appropriate constraint to be edited either in the drawing itself or in the Constraint tab of the Combo View pane. This will open a dialog box to edit the constraint. Clicking on the horizontal constraint component produces:
The vertical and horizontal constraints forming the lock can be edited by double clicking on the appropriate constraint to be edited either in the drawing itself or in the Constraint tab of the Combo View pane. This will open a dialog box to edit the constraint. Clicking on the horizontal constraint component produces:
[[File:LockConstraint4.png|256px]].
[[File:LockConstraint4.png|256px]].
#Enter the desired value into the dialog box and click OK.
Enter the desired value into the dialog box and click OK.
[[File:LockConstraint5.png|256px]]
[[File:LockConstraint5.png|256px]]
#The new value of the constraint is applied to the drawing.
The new value of the constraint is applied to the drawing.
[[File:LockConstraint6.png|256px]]
[[File:LockConstraint6.png|256px]]
#The vertical constraint may be similarly edited to constrain the point to the desired location.
#The vertical constraint may be similarly edited to constrain the point to the desired location.

Revision as of 07:20, 25 March 2012

Sketcher ConstrainLock

Menu location
Sketch → Sketcher constraints → Constrain lock
Workbenches
Sketcher, PartDesign
Default shortcut
None
Introduced in version
-
See also
Constraint Coincident

"Create a lock constraint on the selected item"

Description

This constraint tool attempts to fully constrain any selected item.

NOTE: It is advised that this tool be exclusively used on points for the time-being:

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 point, 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.

Operation

Firstly it is necessary to highlight an item you wish to constrain. For reasons alluded-to above it is wise to only highlight a point. [File:LockConstraint1.png|256px]] 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 lock 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. These are set by default to the current co-ordinates of the point. The vertical and horizontal constraints forming the lock can be edited by double clicking on the appropriate constraint to be edited either in the drawing itself or in the Constraint tab of the Combo View pane. This will open a dialog box to edit the constraint. Clicking on the horizontal constraint component produces: . Enter the desired value into the dialog box and click OK. The new value of the constraint is applied to the drawing.

  1. The vertical constraint may be similarly edited to constrain the point to the desired location.

Available translations of this page: