Alternar restrição de direção/referência
Appearance
|
|
| Menu location |
|---|
| Sketch → Constraints → Toggle Driving/Reference Constraints |
| 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 driving horizontal distance constraint (50 mm), a driving vertical distance constraint (30 mm) and a driving 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 Constraints button.
- Select the Sketch → Constraints →
Toggle Driving/Reference Constraints option from the menu.
- Use the keyboard shortcut: K then X.
- Press the
- 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). The icon of this tool is then:
.
- In reference mode their menu and toolbar icons are blue, and they create reference constraints (default color blue). The icon of this tool is then:
.
- In driving mode their menu and toolbar icons are red, and they create driving constraints (default color red). The icon of this tool is then:
Toggle constraints
- Select one or more dimensional constraints.
- Invoke the tool as described above, or with one of the following additional options:
- introduced in 1.0: Right-click in the 3D View and select the
Toggle Driving/Reference Constraints option from the context menu.
- Right-click in the Constraints section of the Sketcher Dialog and select the Toggle Driving/Reference option from the context menu.
- introduced in 1.0: Right-click in the 3D View and select the
- 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.
- General: New Sketch, Edit Sketch, Attach Sketch, Reorient Sketch, Validate Sketch, Merge Sketches, Mirror Sketch, Leave Sketch, Align View to Sketch, Toggle Section View, Stop Operation, Grid, Snap, Rendering Order
- Geometries: Point, Polyline, Line, Arc From Center, Arc From 3 Points, Elliptical Arc, Hyperbolic Arc, Parabolic Arc, Circle From Center, Circle From 3 Points, Ellipse From Center, Ellipse From 3 Points, Rectangle, Centered Rectangle, Rounded Rectangle, Triangle, Square, Pentagon, Hexagon, Heptagon, Octagon, Polygon, Slot, Arc Slot, B-Spline, Periodic B-Spline, B-Spline From Knots, Periodic B-Spline From Knots, Toggle Construction Geometry
- Constraints:
- Dimensional Constraints: Dimension, Horizontal Dimension, Vertical Dimension, Distance Dimension, Radius/Diameter Dimension, Radius Dimension, Diameter Dimension, Angle Dimension, Lock Position
- Geometric Constraints: Coincident Constraint (Unified), Coincident Constraint, Point-On-Object Constraint, Horizontal/Vertical Constraint, Horizontal Constraint, Vertical Constraint, Parallel Constraint, Perpendicular Constraint, Tangent/Collinear Constraint, Equal Constraint, Symmetric Constraint, Block Constraint, Refraction Constraint
- Constraint Tools: Toggle Driving/Reference Constraints, Toggle Constraints
- Sketcher Tools: Fillet, Chamfer, Trim Edge, Split Edge, Extend Edge, External Projection, External Intersection, Carbon Copy, Select Origin, Select Horizontal Axis, Select Vertical Axis, Move/Array Transform, Rotate/Polar Transform, Scale, Offset, Mirror, Remove Axes Alignment, Delete All Geometry, Delete All Constraints, Copy Elements, Cut Elements, Paste Elements
- B-Spline Tools: Geometry to B-Spline, Increase B-Spline Degree, Decrease B-Spline Degree, Increase Knot Multiplicity, Decrease Knot Multiplicity, Insert Knot, Join Curves
- Visual Helpers: Select Under-Constrained Elements, Select Associated Constraints, Select Associated Geometry, Select Redundant Constraints, Select Conflicting Constraints, Toggle Circular Helper for Arcs, Toggle B-Spline Degree, Toggle B-Spline Control Polygon, Toggle B-Spline Curvature Comb, Toggle B-Spline Knot Multiplicity, Toggle B-Spline Control Point Weight, Toggle Internal Geometry, 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, Assembly, BIM, CAM, Draft, FEM, Inspection, Material, Mesh, OpenSCAD, Part, PartDesign, Points, Reverse Engineering, Robot, Sketcher, Spreadsheet, Surface, TechDraw, Test Framework
- Hubs: User hub, Power users hub, Developer hub