Sketcher ConstrainLock/ru: Difference between revisions

From FreeCAD Documentation
(Created page with "==Скрипты==")
No edit summary
Line 29: Line 29:
'''Note:''' the constraint tool can also be started with no prior selection, but it will then only work on a single vertex, and reference the constraints to the sketch origin point. By default the command will be in continue mode to create new constraints; press the right mouse button or {{KEY|ESC}} once to quit the command.
'''Note:''' the constraint tool can also be started with no prior selection, but it will then only work on a single vertex, and reference the constraints to the sketch origin point. By default the command will be in continue mode to create new constraints; press the right mouse button or {{KEY|ESC}} once to quit the command.


==Программирование==
==Скрипты==


The [[File:Sketcher_ConstrainLock.svg|24px]] [[Sketcher_ConstrainLock|Lock]] constraint is a GUI command which creates a [[File:Sketcher_ConstrainDistanceX.svg|24px]] [[Sketcher_ConstrainDistanceX|Horizontal distance]] and a [[File:Sketcher_ConstrainDistanceY.svg|24px]] [[Sketcher_ConstrainDistanceY|Vertical distance]] constraint, it is not a constraint of its own. See the [[Sketcher_scripting|Sketcher scripting]] page for details and examples on how to create these constraints from Python scripts.
The [[File:Sketcher_ConstrainLock.svg|24px]] [[Sketcher_ConstrainLock|Lock]] constraint is a GUI command which creates a [[File:Sketcher_ConstrainDistanceX.svg|24px]] [[Sketcher_ConstrainDistanceX|Horizontal distance]] and a [[File:Sketcher_ConstrainDistanceY.svg|24px]] [[Sketcher_ConstrainDistanceY|Vertical distance]] constraint, it is not a constraint of its own. See the [[Sketcher_scripting|Sketcher scripting]] page for details and examples on how to create these constraints from Python scripts.

Revision as of 21:26, 4 September 2021

Sketcher ConstrainLock

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

Описание

Constraint Lock applies Horizontal distance and Vertical distance constraints to selected vertices (points) in the sketch. If a single vertex is selected, the horizontal and vertical distance constraints will refer to the sketch origin point. If two or more points are selected, horizontal and vertical distance constraints will be added for each pair of points. There is no automatic prompt to edit the constraints' values, they must be edited manually.

Применение

  1. Select one or more vertices (points) in the sketch.
  2. Press the Constrain lock button.
  3. To edit the constraints values, double-click on a constraint value in the 3D view, or double-click on the constraint or right-click and select Edit value in the Constraint list in the Tasks tab.

Note: the constraint tool can also be started with no prior selection, but it will then only work on a single vertex, and reference the constraints to the sketch origin point. By default the command will be in continue mode to create new constraints; press the right mouse button or ESC once to quit the command.

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

The Lock constraint is a GUI command which creates a Horizontal distance and a Vertical distance constraint, it is not a constraint of its own. See the Sketcher scripting page for details and examples on how to create these constraints from Python scripts.