Skip to content

Latest commit

 

History

History
41 lines (25 loc) · 1.48 KB

Sketcher_ConstrainVertical.md

File metadata and controls

41 lines (25 loc) · 1.48 KB
Error in user YAML: (<unknown>): did not find expected alphabetic or numeric character while scanning an alias at line 5 column 14
---
- GuiCommand:
   Name: Sketcher ConstrainVertical
   MenuLocation: Sketch -> Sketcher constraints -> Constrain vertically
   Workbenches: Sketcher_Workbench
   Shortcut: **V**
   SeeAlso: Sketcher_ConstrainHorizontal
---

Sketcher ConstrainVertical

Description

Creates a vertical constraint to the selected lines or polyline elements. As of (v0.17) it can also constrain vertices vertically. More than one object can be selected.

Usage

  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

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

{{Sketcher_Tools_navi}}


documentation index > Sketcher > Sketcher ConstrainVertical