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]] command 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|0.22}}: In most cases it is advisable to use the combined [[Sketcher_ConstrainHorVer|Sketcher ConstrainHorVer]] command instead.

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


See [[Sketcher_ConstrainHorizontal#Usage|Sketcher ConstraintHorizontal]].
# 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 vertical]]}}.
#* Use the {{KEY|V}} keyboard shortcut
#* Use the {{MenuCommand|Sketch → Sketcher constraints → Constrain vertically}} entry in the Sketch dropdown menu
# Alternatively, the tool can be started without prior selection, and it will expect a selection; but only lines will be selectable.
# Right-click or press {{KEY|Esc}} once, to exit the tool.


==Scripting==
==Scripting==


See [[Sketcher_ConstrainHorizontal#Scripting|Sketcher ConstraintHorizontal]].
{{Code|code=Sketch.addConstraint(Sketcher.Constraint('Vertical', Line))}}

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.





Revision as of 09:24, 20 January 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 command constrains lines or pairs of points to be vertical (parallel to the vertical axis of the sketch).

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

Como usar

See Sketcher ConstraintHorizontal.

Scripting

See Sketcher ConstraintHorizontal.