Sketcher ConstrainHorVer: Difference between revisions

From FreeCAD Documentation
(V0.22 -> V1.0)
No edit summary
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<languages/>
<languages/>
{{Page_in_progress}}
<translate>
<translate>


Line 16: Line 15:
{{GuiCommand
{{GuiCommand
|Name= Sketcher ConstrainHorVer
|Name= Sketcher ConstrainHorVer
|MenuLocation=Sketch → Sketcher constraints → Horizontal/Vertical
|MenuLocation=Sketch → Sketcher constraints → Constrain horizontal/vertical
|Workbenches=[[Sketcher_Workbench|Sketcher]]
|Workbenches=[[Sketcher_Workbench|Sketcher]]
|Shortcut={{KEY|A}}
|Shortcut={{KEY|A}}
Line 40: Line 39:
# Make sure there is no selection.
# Make sure there is no selection.
# There are several ways to invoke the tool:
# There are several ways to invoke the tool:
#* If the {{MenuCommand|Auto tool for Horizontal/Vertical}} [[Sketcher_Preferences#General|preference]] is selected (default): press the {{Button|[[Image:Sketcher_ConstrainHorVer.svg|16px]] [[Sketcher_ConstrainHorVer|Horizontal/Vertical]]}} button.
#* If the {{MenuCommand|Auto tool for Horizontal/Vertical}} [[Sketcher_Preferences#General|preference]] is selected (default): press the {{Button|[[Image:Sketcher_ConstrainHorVer.svg|16px]] [[Sketcher_ConstrainHorVer|Constrain horizontal/vertical]]}} button.
#* Select the {{MenuCommand|Sketch → Sketcher constraints → [[Image:Sketcher_ConstrainHorVer.svg|16px]] Horizontal/Vertical}} option from the menu.
#* Select the {{MenuCommand|Sketch → Sketcher constraints → [[Image:Sketcher_ConstrainHorVer.svg|16px]] Constrain horizontal/vertical}} option from the menu.
#* Right-click in the [[3D_view|3D view]] and select the {{MenuCommand|Constrain → [[Image:Sketcher_ConstrainHorVer.svg|16px]] Horizontal/Vertical}} option from the context menu.
#* Right-click in the [[3D_view|3D view]] and select the {{MenuCommand|Constrain → [[Image:Sketcher_ConstrainHorVer.svg|16px]] Constrain horizontal/vertical}} option from the context menu.
#* Use the keyboard shortcut: {{KEY|A}}.
#* Use the keyboard shortcut: {{KEY|A}}.
# The cursor changes to a cross with the tool icon.
# The cursor changes to a cross with the tool icon.
Line 58: Line 57:
#* Select one or more lines. Points can be included in the selection, but will be ignored.
#* Select one or more lines. Points can be included in the selection, but will be ignored.
# Invoke the tool as explained above, or with the following additional option:
# Invoke the tool as explained above, or with the following additional option:
#* Right-click in the [[3D_view|3D view]] and select the {{MenuCommand|[[Image:Sketcher_ConstrainHorVer.svg|16px]] Horizontal/Vertical}} option from the context menu.
#* Right-click in the [[3D_view|3D view]] and select the {{MenuCommand|[[Image:Sketcher_ConstrainHorVer.svg|16px]] Constrain horizontal/vertical}} option from the context menu.
# Depending on the selection one or more constraints are added.
# Depending on the selection one or more constraints are added.



Revision as of 14:52, 23 April 2024

Other languages:

Sketcher ConstrainHorVer

Menu location
Sketch → Sketcher constraints → Constrain horizontal/vertical
Workbenches
Sketcher
Default shortcut
A
Introduced in version
1.0
See also
Sketcher ConstrainHorizontal, Sketcher ConstrainVertical

Description

The Sketcher ConstrainHorVer tool constrains lines or pairs of points to be horizontal (parallel to the horizontal axis of the sketch) or vertical, whichever is closest to the current alignment.

This tool combines the Sketcher ConstrainHorizontal and Sketcher ConstrainVertical tools.

Usage

See also: Drawing aids.

Continue mode

  1. Make sure there is no selection.
  2. There are several ways to invoke the tool:
    • If the Auto tool for Horizontal/Vertical preference is selected (default): press the Constrain horizontal/vertical button.
    • Select the Sketch → Sketcher constraints → Constrain horizontal/vertical option from the menu.
    • Right-click in the 3D view and select the Constrain → Constrain horizontal/vertical option from the context menu.
    • Use the keyboard shortcut: A.
  3. The cursor changes to a cross with the tool icon.
  4. Do one of the following:
    • Select two points.
    • Select a single line.
  5. A constraint is added.
  6. Optionally keep creating constraints.
  7. To finish, right-click or press Esc, or start another geometry or constraint creation tool.

Run-once mode

  1. Do one of the following:
    • Select two or more points (the selection order can be relevant see Notes).
    • Select one or more lines. Points can be included in the selection, but will be ignored.
  2. Invoke the tool as explained above, or with the following additional option:
    • Right-click in the 3D view and select the Constrain horizontal/vertical option from the context menu.
  3. Depending on the selection one or more constraints are added.

Notes

  • More than 2 points are processed in the selection order, one pair at a time. The 1st point is paired with the 2nd. When they are constrained the 2nd point may move. The new location of the 2nd point determines which constraint is applied when the 2nd and 3rd point are constrained, etc.