Sketcher Dimension: Difference between revisions

From FreeCAD Documentation
No edit summary
(If there is a selection:..)
Line 35: Line 35:
#* Select the {{MenuCommand|Sketch → Sketcher constraints → [[Image:Sketcher_Dimension.svg|16px]] Dimension}} option from the menu.
#* Select the {{MenuCommand|Sketch → Sketcher constraints → [[Image:Sketcher_Dimension.svg|16px]] Dimension}} option from the menu.
#* Right-click in the [[3D_view|3D view]] and select the {{MenuCommand|Dimension → [[Image:Sketcher_Dimension.svg|16px]] Dimension}} option from the context menu.
#* Right-click in the [[3D_view|3D view]] and select the {{MenuCommand|Dimension → [[Image:Sketcher_Dimension.svg|16px]] Dimension}} option from the context menu.
#* If there is a selection: Right-click in the 3D view and select the {{MenuCommand|[[Image:Sketcher_Dimension.svg|16px]] Dimension}} option from the context menu.
#* Use the keyboard shortcut: {{KEY|D}}.
#* Use the keyboard shortcut: {{KEY|D}}.
# If you have not yet selected an element: select one.
# If you have not yet selected an element: select one.

Revision as of 14:20, 25 March 2024

Other languages:
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 Dimension

Menu location
Sketch → Sketcher constraints → Dimension
Workbenches
Sketcher
Default shortcut
D
Introduced in version
0.22
See also
None

Description

The Sketcher Dimension tool is a context-sensitive constraint tool. Based on the current selection, it offers appropriate dimensional constraints, but also geometric constraints.

Usage

See also: Drawing aids.

  1. Optionally select one or more elements (edges or points). B-spline edges are currently not supported.
  2. There are several ways to invoke the tool:
    • If the Dimensioning constraints preference is set to Both or Single tool (default): press the Dimension button.
    • Select the Sketch → Sketcher constraints → Dimension option from the menu.
    • Right-click in the 3D view and select the Dimension → Dimension option from the context menu.
    • If there is a selection: Right-click in the 3D view and select the Dimension option from the context menu.
    • Use the keyboard shortcut: D.
  3. If you have not yet selected an element: select one.
  4. Depending on the selected element(s) a constraint is proposed.
  5. Optionally select an additional element.
  6. Optionally deselect an element by clicking it again.
  7. The proposed constraint is updated after every selection change.
  8. Optionally press the M key one or more times to cycle through other available constraints, if any.
  9. If a geometric constraint is proposed, selected elements may change giving a preview of the result.
  10. Do one of the following:
    • Click in an empty area in the 3D view to confirm:
      1. If a dimensional constraint is created the clicked point determines its location. For a linear dimension the clicked point also determines its type: Horizontal distance, Vertical distance or Distance.
      2. If a driving dimensional constraint is created, depending on the preferences, a dialog opens to edit its value.
      3. A constraint is added.
      4. This tool always runs in continue mode: optionally keep creating constraints.
    • To finish, right-click or press Esc, or start another geometry or constraint creation tool.

Scripting

See the Sketcher scripting page for details and examples on how to create constraints from Python scripts.