Sketcher ConstrainVertical/cs: Difference between revisions

From FreeCAD Documentation
No edit summary
(Updating to match new version of source page)
(14 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<languages/>
<languages/>

{{Docnav
|[[Sketcher_ConstrainPointOnObject|Point on object]]
|[[Sketcher_ConstrainHorizontal|Horizontal]]
|[[Sketcher_Workbench|Sketcher]]
|IconL=Sketcher_ConstrainPointOnObject.svg
|IconR=Sketcher_ConstrainHorizontal.svg
|IconC=Workbench_Sketcher.svg
}}

<div class="mw-translate-fuzzy">
{{GuiCommand/cs
{{GuiCommand/cs
|Icon=Constraint Vertical.svg
|Icon=Constraint Vertical.svg
Line 8: Line 19:
|SeeAlso=[[Sketcher_ConstrainHorizontal/cs|Vazba vodorovnosti]]
|SeeAlso=[[Sketcher_ConstrainHorizontal/cs|Vazba vodorovnosti]]
}}
}}
</div>

==Popis==


<div class="mw-translate-fuzzy">
<div class="mw-translate-fuzzy">
====Popis====
Na vybrané přímce nebo lomené čáře vytvoří vazbu svislosti. Může být vybrán jeden nebo více objektů.
Na vybrané přímce nebo lomené čáře vytvoří vazbu svislosti. Může být vybrán jeden nebo více objektů.
</div>
</div>

Creates a vertical constraint to the selected lines or polyline elements. Starting with v0.17, it can also contrain vertices vertically. More than one object can be selected.


<div class="mw-translate-fuzzy">
<div class="mw-translate-fuzzy">
====Použití====
==Použití==
Podívejte se na [[Sketcher_ConstrainHorizontal/cs|Vazbu vodorovnosti]]
{{clear}}
</div>
</div>


# Select the lines or vertices to be constrained vertically
# Select the lines or vertices to be constrained vertically
# Press the {{Button|[[File:Constraint Vertical.svg|24px]]}} '''vertical constraint''' icon.
# To invoke the vertical constraint command:
#* Press the {{Button|[[File:Sketcher_ConstrainVertical.svg|16px]] [[Sketcher_ConstrainVertical|Constrain vertically]]}} button.
# 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.
#* 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==

{{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.


<div class="mw-translate-fuzzy">
[[Category:Sketcher/cs]]
</div>


{{Sketcher_Tools_navi{{#translation:}}}}
[[Category:Sketcher]]
{{Userdocnavi{{#translation:}}}}

Revision as of 20:16, 20 March 2022

Constraint Vertical

Umístění Menu
Sketch → Sketcher constraints → Constrain vertically
Pracovní stoly
Náčrt
Výchozí zástupce
V
Představen ve verzi
-
Viz také
Vazba vodorovnosti

Popis

Na vybrané přímce nebo lomené čáře vytvoří vazbu svislosti. Může být vybrán jeden nebo více objektů.

Použití

  1. Select the lines or vertices to be constrained vertically
  2. To invoke the vertical constraint command:
    • Press the Constrain vertically button.
    • Use the V keyboard shortcut
    • Use the Sketch → Sketcher constraints → Constrain vertically entry in the Sketch dropdown menu
  3. Alternatively, the tool can be started without prior selection, and it will expect a selection.
  4. Right-click or press Esc once, to exit the tool.

Scripting

Sketch.addConstraint(Sketcher.Constraint('Vertical', Line))

The Sketcher scripting page explains the values which can be used for Line and contains further examples on how to create constraints from Python scripts.