Sketcher ConstrainLock: Difference between revisions
Renatorivo (talk | contribs) mNo edit summary |
No edit summary |
||
(17 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
⚫ | |||
<translate> |
<translate> |
||
<!--T:9--> |
|||
{{GuiCommand|Name=Sketcher ConstrainLock|Workbenches=[[Sketcher Workbench|Sketcher]], [[PartDesign Workbench|PartDesign]]|MenuLocation=Sketch → Sketcher constraints → Constrain lock|SeeAlso=[[Constraint PointOnPoint|Constraint Coincident]]}} |
|||
{{Docnav |
|||
|[[Sketcher_ConstrainBlock|Constrain Block]] |
|||
|[[Sketcher ConstrainDistanceX|Horizontal Distance]] |
|||
|[[Sketcher_Workbench|Sketcher]] |
|||
|IconL=Sketcher_ConstrainBlock.png |
|||
|IconC=Workbench_Sketcher.svg |
|||
|IconR=Constraint_HorizontalDistance.svg |
|||
}} |
|||
<!--T:4--> |
|||
{{GuiCommand |
|||
|Name=Sketcher ConstrainLock |
|||
|Workbenches=[[Sketcher_Workbench|Sketcher]] |
|||
|MenuLocation=Sketch → Sketcher constraints → Constrain lock |
|||
|SeeAlso=[[Sketcher_ConstrainBlock|Sketcher Constrain Block]] |
|||
}} |
|||
Create a lock constraint on the selected item |
|||
==Description== <!--T:1--> |
==Description== <!--T:1--> |
||
This constraint tool attempts to <em>fully constrain</em> any selected item. |
|||
<!--T: |
<!--T:5--> |
||
'''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. |
|||
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 <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. |
|||
⚫ | |||
<!--T:6--> |
|||
<ol> |
|||
# Select one or more vertices (points) in the sketch. |
|||
<li>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>.<br /> |
|||
# Press the {{Button|[[File:Sketcher_ConstrainLock.svg|16px]] [[Sketcher ConstrainLock|Constrain lock]]}} button. |
|||
[[File:LockConstraint1.png|256px]]</li> |
|||
# 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. |
|||
<li> |
|||
Highlighting of a drawing item is achieved by moving the mouse over the item and clicking the left-mouse-button. |
|||
<!--T:7--> |
|||
A highlighted item will change colour to green.<br /> |
|||
'''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. |
|||
[[File:LockConstraint2.png|256px]]</li> |
|||
<li> |
|||
<!--T:10--> |
|||
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.<br /> |
|||
{{Docnav |
|||
[[File:LockConstraint3.png|256px]]</li> |
|||
|[[Sketcher_ConstrainBlock|Constrain Block]] |
|||
<li> |
|||
|[[Sketcher ConstrainDistanceX|Horizontal Distance]] |
|||
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:<br /> |
|||
|[[Sketcher_Workbench|Sketcher]] |
|||
[[File:LockConstraint4.png|256px]].</li> |
|||
|IconL=Sketcher_ConstrainBlock.png |
|||
<li>Enter the desired value into the dialog box and click OK.<br /> |
|||
|IconC=Workbench_Sketcher.svg |
|||
[[File:LockConstraint5.png|256px]]</li> |
|||
|IconR=Constraint_HorizontalDistance.svg |
|||
<li>The new value of the constraint is applied to the drawing.<br /> |
|||
}} |
|||
[[File:LockConstraint6.png|256px]]</li> |
|||
<li>The vertical constraint may be similarly edited to constrain the point to the desired location.<br /> |
|||
[[File:LockConstraint7.png|256px]]</li></ol> |
|||
</translate> |
</translate> |
||
{{Sketcher Tools navi{{#translation:}}}} |
|||
⚫ | |||
{{Userdocnavi{{#translation:}}}} |
|||
{{clear}} |
Revision as of 12:28, 29 September 2020
Sketcher ConstrainLock |
Menu location |
---|
Sketch → Sketcher constraints → Constrain lock |
Workbenches |
Sketcher |
Default shortcut |
None |
Introduced in version |
- |
See also |
Sketcher 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
- Select one or more vertices (points) in the sketch.
- Press the 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.
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.
- General: Create sketch, Edit sketch, Map sketch to face, Reorient sketch, Validate sketch, Merge sketches, Mirror sketch, Leave sketch, View sketch, View section, Toggle grid, Toggle snap, Configure rendering order, Stop operation
- Sketcher geometries: Point, Line, Arc, Arc by 3 points, Circle, Circle by 3 points, Ellipse, Ellipse by 3 points, Arc of ellipse, Arc of hyperbola, Arc of parabola, B-spline by control points, Periodic B-spline by control points, B-spline by knots, Periodic B-spline by knots, Polyline, Rectangle, Centered rectangle, Rounded rectangle, Triangle, Square, Pentagon, Hexagon, Heptagon, Octagon, Regular polygon, Slot, Fillet, Corner-preserving fillet, Trim, Extend, Split, External geometry, Carbon copy, Toggle construction geometry
- Sketcher constraints:
- Geometric constraints: Coincident, Point on object, Vertical, Horizontal, Parallel, Perpendicular, Tangent, Equal, Symmetric, Block
- Dimensional constraints: Lock, Horizontal distance, Vertical distance, Distance, Radius or weight, Diameter, Auto radius/diameter, Angle, Refraction (Snell's law)
- Constraint tools: Toggle driving/reference constraint, Activate/deactivate constraint
- Sketcher tools: Select unconstrained DoF, Select associated constraints, Select associated geometry, Select redundant constraints, Select conflicting constraints, Show/hide internal geometry, Select origin, Select horizontal axis, Select vertical axis, Symmetry, Clone, Copy, Move, Rectangular array, Remove axes alignment, Delete all geometry, Delete all constraints
- Sketcher B-spline tools: Show/hide B-spline degree, Show/hide B-spline control polygon, Show/hide B-spline curvature comb, Show/hide B-spline knot multiplicity, Show/hide B-spline control point weight, Convert geometry to B-spline, Increase B-spline degree, Decrease B-spline degree, Increase knot multiplicity, Decrease knot multiplicity, Insert knot, Join curves
- Sketcher virtual space: Switch virtual space
- Additional: Sketcher Dialog, Preferences, Sketcher scripting
- Getting started
- Installation: Download, Windows, Linux, Mac, Additional components, Docker, AppImage, Ubuntu Snap
- Basics: About FreeCAD, Interface, Mouse navigation, Selection methods, Object name, Preferences, Workbenches, Document structure, Properties, Help FreeCAD, Donate
- Help: Tutorials, Video tutorials
- Workbenches: Std Base, Arch, Assembly, CAM, Draft, FEM, Inspection, Mesh, OpenSCAD, Part, PartDesign, Points, Reverse Engineering, Robot, Sketcher, Spreadsheet, Start, Surface, TechDraw, Test Framework, Web
- Hubs: User hub, Power users hub, Developer hub