Sketcher ConstrainVertical/ro: Difference between revisions

From FreeCAD Documentation
(Updating to match new version of source page)
(Updating to match new version of source page)
Line 27: Line 27:
Creates a vertical constraint to the selected lines or polyline elements. More than one object can be selected.
Creates a vertical constraint to the selected lines or polyline elements. More than one object can be selected.
</div>
</div>

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


<span id="Usage"></span>
<span id="Usage"></span>
Line 33: Line 35:
</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 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.


==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

poziția meniului
Sketch → Sketcher constraints → Constrain vertically
Ateliere
Sketcher
scurtătură
V
Prezentat în versiune
-
A se vedea, de asemenea,
Constraint Horizontal

Descriere

Creates a vertical constraint to the selected lines or polyline elements. More than one object can be selected.

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

Utilizare

See Sketcher ConstraintHorizontal.

Scripting

See Sketcher ConstraintHorizontal.