Skip to content

Latest commit

 

History

History
64 lines (37 loc) · 2.32 KB

File metadata and controls

64 lines (37 loc) · 2.32 KB

Sketcher ConstrainParallel/cs


GuiCommand: Name: Constraint Parallel Name/cs: Constraint Parallel Workbenches: Sketcher Workbench/cs Sketcher, PartDesign Workbench/cs, Sketcher ConstrainHorizontal/cs---

Description

Popis

Vazba rovnoběžnosti zajistí, že dvě vybrané přímky nebo hrany jsou vzájemně rovnoběžné.

Usage

See also: Drawing aids.

  1. Make sure there is no selection.
  2. There are several ways to invoke the tool:
    • Press the Constrain parallel button.

    • Select the Sketch → Sketcher constraints → Constrain parallel option from the menu.

    • (v1.0)

      : Right-click in the 3D view and select the Constrain → Constrain parallel option from the context menu.

    • Use the keyboard shortcut: P.

  3. The cursor changes to a cross with the tool icon.
  4. Select two lines.
  5. A constraint is added.
  6. Optionally keep creating constraints.
  7. To finish, right-click or press Esc, or start another geometry or constraint creation tool.

Run-once mode

  1. Select two or more lines. (v1.0) : Points can be included in the selection, but will be ignored.
  2. Invoke the tool as explained above, or with the following additional option:

    <small>(v1.0)</small> 
    
    : Right-click in the [3D view](3D_view.md) and select the **<img src="images/Sketcher_ConstrainParallel.svg" width=16px> Constrain parallel** option from the context menu.
    
  3. Depending on the selection one or more constraints are added.

Scripting

pythonSketch.addConstraint(Sketcher.Constraint('Parallel', Line1, Line2))

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


documentation index > Sketcher > Sketcher ConstrainParallel/cs