Sketcher ToggleDrivingConstraint: Difference between revisions
m (Changed section to 'Usage') |
No edit summary |
||
(24 intermediate revisions by 6 users not shown) | |||
Line 1: | Line 1: | ||
<languages/> |
<languages/> |
||
{{Page_in_progress}} |
|||
<translate> |
<translate> |
||
<!--T:11--> |
<!--T:11--> |
||
{{Docnav |
|||
{{Docnav|[[Sketcher_ConstrainInternalAlignment|Internal Alignment]]|[[Sketcher_SelectElementsWithDoFs|Select solver DOFs]]|[[Sketcher_Workbench|Sketcher]]|IconL=Constraint_InternalAlignment.png |IconC=Workbench_Sketcher.svg|IconR=Sketcher SelectElementsWithDoFs.svg}} |
|||
|[[Sketcher_ConstrainSnellsLaw|Refraction (Snell's law)]] |
|||
|[[Sketcher_ToggleActiveConstraint|Activate/deactivate constraint]] |
|||
|[[Sketcher_Workbench|Sketcher]] |
|||
|IconL=Sketcher_ConstrainSnellsLaw.svg |
|||
|IconR=Sketcher_ToggleActiveConstraint.svg |
|||
|IconC=Workbench_Sketcher.svg |
|||
}} |
|||
<!--T:1--> |
<!--T:1--> |
||
{{GuiCommand |
{{GuiCommand |
||
|Name=Sketcher |
|Name=Sketcher ToggleDrivingConstraint |
||
⚫ | |||
|Workbenches=[[ |
|Workbenches=[[Sketcher_Workbench|Sketcher]] |
||
⚫ | |||
|Shortcut={{KEY|K}} {{KEY|X}} |
|||
|SeeAlso=[[Sketcher_ToggleConstruction|Toggle Construction]] |
|||
|Version=0.16 |
|Version=0.16 |
||
|SeeAlso=[[Sketcher_ToggleActiveConstraint|Sketcher ToggleActiveConstraint]] |
|||
}} |
}} |
||
Line 16: | Line 26: | ||
<!--T:6--> |
<!--T:6--> |
||
The [[Image:Sketcher ToggleDrivingConstraint.svg|24px]] [[Sketcher_ToggleDrivingConstraint|Sketcher ToggleDrivingConstraint]] tool either toggles the [[Sketcher_Workbench#Sketcher_CompDimensionTools|dimensional constraint creation tools]] between driving and reference mode, or toggles selected dimensional constraints between those modes. |
|||
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]]. |
|||
</translate> |
|||
[[File:Sketcher Constraint Toolbar ReferenceMode.png|none]] |
|||
<translate> |
|||
<!--T:7--> |
|||
''The Sketcher Constraint toolbar with the dimensional constraints in reference dimension mode (blue).'' |
|||
Contrary to driving constraints, reference constraints do not constrain the sketch, their value depends on other constraints, they are driven. They can be useful to verify measurements. They can be used in [[Expressions|expressions]], but not in the sketch itself. |
|||
</translate> |
</translate> |
||
Line 30: | Line 34: | ||
<translate> |
<translate> |
||
<!--T:8--> |
<!--T:8--> |
||
{{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).}} |
|||
==Usage== <!--T:4--> |
==Usage== <!--T:4--> |
||
===Toggle tools=== |
|||
<!--T:9--> |
<!--T:9--> |
||
# Make sure no dimensional constraints have been selected. |
|||
# 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. |
|||
# There are several ways to invoke the tool: |
|||
# The usual method of creating dimensional constraints works the same, but a blue reference dimension is added instead. |
|||
#* Press the {{Button|[[Image:Sketcher_ToggleDrivingConstraint.svg|16px]] [[Sketcher_ToggleDrivingConstraint|Toggle driving/reference constraint]]}} button. |
|||
# To turn the Sketcher Constraints toolbar back to constraint mode (red), press the Toggle Constraint button again. |
|||
#* Select the {{MenuCommand|Sketch → Sketcher constraints → [[Image:Sketcher_ToggleDrivingConstraint.svg|16px]] Toggle driving/reference constraint}} option from the menu. |
|||
# To turn a dimensional constraint into a reference dimension, or the reverse, select it and press the Toggle Constraint button. |
|||
#* Use the keyboard shortcut: {{KEY|K}} then {{KEY|X}}. |
|||
# The mode of the dimensional constraint creation tools is toggled: |
|||
#* In driving mode their menu and toolbar icons are red, and they create driving constraints (default [[Sketcher_Preferences#Appearance|color]] red). |
|||
#* In reference mode their menu and toolbar icons are blue, and they create reference constraints (default color blue). |
|||
===Toggle constraints=== |
|||
# Select one or more dimensional constraints. |
|||
# Invoke the tool as described above, or with one of the following additional options: |
|||
#* {{Version|0.22}}: Right-click in the [[3D_view|3D view]] and select the {{MenuCommand|[[Image:Sketcher_ToggleDrivingConstraint.svg|16px]] Toggle driving/reference constraint}} option from the context menu. |
|||
#* Right-click in the {{MenuCommand|Constraints}} section of the [[Sketcher_Dialog|Sketcher Dialog]] and select the {{MenuCommand|Toggle to/from reference}} option from the context menu. |
|||
# The selected constraints are changed from driving to reference mode or vice versa. Their appearance changes accordingly. |
|||
# The mode of the dimensional constraint creation tools is not changed. |
|||
<!--T:12--> |
|||
{{Docnav|[[Sketcher_ConstrainInternalAlignment|Internal Alignment]]|[[Sketcher_SelectElementsWithDoFs|Select solver DOFs]]|[[Sketcher_Workbench|Sketcher]]|IconL=Constraint_InternalAlignment.png |IconC=Workbench_Sketcher.svg|IconR=Sketcher SelectElementsWithDoFs.svg}} |
|||
<!--T: |
<!--T:12--> |
||
{{Docnav |
|||
{{Sketcher Tools navi}} |
|||
|[[Sketcher_ConstrainSnellsLaw|Refraction (Snell's law)]] |
|||
|[[Sketcher_ToggleActiveConstraint|Activate/deactivate constraint]] |
|||
<!--T:14--> |
|||
|[[Sketcher_Workbench|Sketcher]] |
|||
⚫ | |||
|IconL=Sketcher_ConstrainSnellsLaw.svg |
|||
|IconR=Sketcher_ToggleActiveConstraint.svg |
|||
|IconC=Workbench_Sketcher.svg |
|||
}} |
|||
</translate> |
</translate> |
||
{{Sketcher_Tools_navi{{#translation:}}}} |
|||
⚫ |
Revision as of 22:22, 27 March 2024
This documentation is a work in progress. Please don't mark it as translatable since it will change in the next hours and days.
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 ToggleActiveConstraint |
Description
The Sketcher ToggleDrivingConstraint tool either toggles the dimensional constraint creation tools between driving and reference mode, or toggles selected dimensional constraints between those modes.
Contrary to driving constraints, reference constraints do not constrain the sketch, their value depends on other constraints, they are driven. They can be useful to verify measurements. They can be used in expressions, but not in the sketch itself.
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
Toggle tools
- Make sure no dimensional constraints have been selected.
- There are several ways to invoke the tool:
- Press the Toggle driving/reference constraint button.
- Select the Sketch → Sketcher constraints → Toggle driving/reference constraint option from the menu.
- Use the keyboard shortcut: K then X.
- The mode of the dimensional constraint creation tools is toggled:
- In driving mode their menu and toolbar icons are red, and they create driving constraints (default color red).
- In reference mode their menu and toolbar icons are blue, and they create reference constraints (default color blue).
Toggle constraints
- Select one or more dimensional constraints.
- Invoke the tool as described above, or with one of the following additional options:
- introduced in version 0.22: Right-click in the 3D view and select the Toggle driving/reference constraint option from the context menu.
- Right-click in the Constraints section of the Sketcher Dialog and select the Toggle to/from reference option from the context menu.
- The selected constraints are changed from driving to reference mode or vice versa. Their appearance changes accordingly.
- The mode of the dimensional constraint creation tools is not changed.
Sketcher
- 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
User documentation
- 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