Sketcher ConstrainHorizontal/ru: Difference between revisions

From FreeCAD Documentation
(Updating to match new version of source page)
(Updating to match new version of source page)
 
Line 30: Line 30:
</div>
</div>


{{Version|0.22}}: In most cases it is advisable to use the combined [[Sketcher_ConstrainHorVer|Sketcher ConstrainHorVer]] command instead.
{{Version|1.0}}: In most cases it is advisable to use the combined [[Sketcher_ConstrainHorVer|Sketcher ConstrainHorVer]] tool instead.


<span id="Usage"></span>
<span id="Usage"></span>
==Применение==
==Применение==

See also: [[Sketcher_Workbench#Drawing_aids|Drawing aids]].

===[[Sketcher_Workbench#Continue_modes|Continue mode]]===


<div class="mw-translate-fuzzy">
<div class="mw-translate-fuzzy">
Line 39: Line 43:
{{Caption|Выберите отрезок на эскизе, кликнув по нему.}}
{{Caption|Выберите отрезок на эскизе, кликнув по нему.}}
</div>
</div>

===Run-once mode===

# Do one of the following:
#* Select two or more points.
#* Select one or more lines. Points can be included in the selection, but will be ignored.
# Invoke the tool as explained above, or with the following additional option:
#* {{Version|1.0}}: Right-click in the [[3D_view|3D view]] and select the {{MenuCommand|[[Image:Sketcher_ConstrainHorizontal.svg|16px]] Constrain horizontal}} option from the context menu.
# Depending on the selection one or more constraints are added.


<span id="Scripting"></span>
<span id="Scripting"></span>

Latest revision as of 14:54, 23 April 2024

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

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

Описание

Горизонтальное ограничение заставляет выбранную линию или линии в эскизе быть параллельными горизонтальной оси эскиза.

introduced in version 1.0: In most cases it is advisable to use the combined Sketcher ConstrainHorVer tool instead.

Применение

See also: Drawing aids.

Continue mode

Выберите отрезок на эскизе, кликнув по нему.

Run-once mode

  1. Do one of the following:
    • Select two or more points.
    • Select one or more lines. Points can be included in the selection, but will be ignored.
  2. Invoke the tool as explained above, or with the following additional option:
  3. Depending on the selection one or more constraints are added.

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

Sketch.addConstraint(Sketcher.Constraint('Horizontal', 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.