Sketcher ConstrainVertical/pt-br: Difference between revisions

From FreeCAD Documentation
(Updating to match new version of source page)
(Updating to match new version of source page)
 
(2 intermediate revisions by the same user not shown)
Line 2: Line 2:


{{Docnav
{{Docnav
|[[Sketcher_ConstrainPointOnObject|Point on object]]
|[[Sketcher_ConstrainHorizontal|Horizontal]]
|[[Sketcher_ConstrainHorizontal|Horizontal]]
|[[Sketcher_ConstrainParallel|Parallel]]
|[[Sketcher_Workbench|Sketcher]]
|[[Sketcher_Workbench|Sketcher]]
|IconL=Sketcher_ConstrainPointOnObject.svg
|IconL=Sketcher_ConstrainHorizontal.svg
|IconR=Sketcher_ConstrainHorizontal.svg
|IconR=Sketcher_ConstrainParallel.svg
|IconC=Workbench_Sketcher.svg
|IconC=Workbench_Sketcher.svg
}}
}}
Line 21: Line 21:
</div>
</div>


<span id="Description"></span>
==Descrição==
==Descrição==


The [[Image:Sketcher_ConstrainVertical.svg|24px]] [[Sketcher_ConstrainVertical|Sketcher ConstrainVertical]] tool constrains lines or pairs of points to be vertical (parallel to the vertical axis of the sketch).
Creates a vertical constraint to the selected lines or polyline elements. As of {{VersionPlus|0.17}} it can also constrain vertices vertically. More than one object can be selected.


{{Version|1.0}}: In most cases it is advisable to use the combined [[Sketcher_ConstrainHorVer|Sketcher ConstrainHorVer]] tool instead.

<span id="Usage"></span>
<div class="mw-translate-fuzzy">
<div class="mw-translate-fuzzy">
==Como usar==
==Como usar==
</div>
</div>


See also: [[Sketcher_Workbench#Drawing_aids|Drawing aids]].
# Select the lines or vertices to be constrained vertically
# To invoke the vertical constraint command:
#* Press the {{Button|[[File:Sketcher_ConstrainVertical.svg|16px]] [[Sketcher_ConstrainVertical|Constrain vertically]]}} button.
#* Use the {{KEY|V}} keyboard shortcut
#* Use the {{MenuCommand|Sketch → Sketcher constraints → [[File:Sketcher_ConstrainVertical.svg|16px]] Constrain vertically}} entry in the Sketch dropdown menu
# Alternatively, the tool can be started without prior selection, and it will expect a selection.
# Right-click or press {{KEY|Esc}} once, to exit the tool.


===[[Sketcher_Workbench#Continue_modes|Continue mode]]===
==Scripting==


# Make sure there is no selection.
{{Code|code=Sketch.addConstraint(Sketcher.Constraint('Vertical', Line))}}
# There are several ways to invoke the tool:
#* {{Version|1.0}}: If the {{MenuCommand|Auto tool for Horizontal/Vertical}} [[Sketcher_Preferences#General|preference]] is selected (default): press the down arrow to the right of the {{Button|[[Image:Sketcher_ConstrainHorVer.svg||x16px]][[Image:Toolbar_flyout_arrow.svg|x16px]]}} button and select the {{MenuCommand|[[Image:Sketcher_ConstrainVertical.svg|16px]] Constrain vertical}} option from the dropdown.
#* If this preference is not selected (and in {{VersionMinus|0.21}}): press the {{Button|[[Image:Sketcher_ConstrainVertical.svg|16px]] [[Sketcher_ConstrainVertical|Constrain vertical]]}} button.
#* Select the {{MenuCommand|Sketch → Sketcher constraints → [[Image:Sketcher_ConstrainVertical.svg|16px]] Constrain vertical}} option from the menu.
#* Use the keyboard shortcut: {{KEY|V}}.
# For further steps see [[Sketcher_ConstrainHorizontal#Continue_mode|Sketcher ConstrainHorizontal]].

===Run-once mode===

See [[Sketcher_ConstrainHorizontal#Run-once_mode|Sketcher ConstrainHorizontal]].

==Scripting==


See [[Sketcher_ConstrainHorizontal#Scripting|Sketcher ConstraintHorizontal]].
The [[Sketcher_scripting|Sketcher scripting]] page explains the values which can be used for {{incode|Line}} and contains further examples on how to create constraints from Python scripts.





Latest revision as of 14:55, 23 April 2024

Vertical constraint

Veja também
Sketch → Sketcher constraints → Constrain vertically
Bancadas de trabalho
Sketcher
Atalho padrão
V
Introduzido na versão
-
Veja também
Constraint Horizontal

Descrição

The Sketcher ConstrainVertical tool constrains lines or pairs of points to be vertical (parallel to the vertical axis of the sketch).

introduced in version 1.0: In most cases it is advisable to use the combined Sketcher ConstrainHorVer tool instead.

Como usar

See also: Drawing aids.

Continue mode

  1. Make sure there is no selection.
  2. There are several ways to invoke the tool:
    • introduced in version 1.0: If the Auto tool for Horizontal/Vertical preference is selected (default): press the down arrow to the right of the button and select the Constrain vertical option from the dropdown.
    • If this preference is not selected (and in version 0.21 and below): press the Constrain vertical button.
    • Select the Sketch → Sketcher constraints → Constrain vertical option from the menu.
    • Use the keyboard shortcut: V.
  3. For further steps see Sketcher ConstrainHorizontal.

Run-once mode

See Sketcher ConstrainHorizontal.

Scripting

See Sketcher ConstraintHorizontal.