Sketcher Ограничение параллельности

From FreeCAD Documentation
Revision as of 09:25, 20 January 2024 by FuzzyBot (talk | contribs) (Updating to match new version of source page)

Ограничение параллельности

Системное название
Sketcher_ConstrainParallel
Расположение в меню
Sketch → Ограничения эскиза → Ограничение параллельности
Верстаки
Sketcher
Быстрые клавиши
P
Представлено в версии
-
См. также
Ограничение вертикальности, Ограничение горизонтальности

Описание

The Sketcher ConstrainParallel command constrains lines to be parallel.

Usage

  1. Optionally select two or more lines.
  2. There are several ways to invoke the command:
    • Press the Constrain parallel button.
    • Select the Sketch → Sketcher constraints → Constrain parallel option from the menu.
    • Use the keyboard shortcut: P.
  3. To indicate that the command has been activated the cursor changes to a white cross with the command icon.
  4. Optionally keep selecting elements. You can only select two lines at a time now.
  5. To finish the command press Esc or the right mouse button, or start a another constraints or geometries command.

Программирование

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