Sketcher ConstrainHorizontal/ru: Difference between revisions

From FreeCAD Documentation
No edit summary
(Updating to match new version of source page)
 
(10 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<languages/>
<languages/>

{{UnfinishedDocu{{#translation:}}}}
<div class="mw-translate-fuzzy">
{{Docnav/ru
{{Docnav/ru
|[[Sketcher_ConstrainVertical/ru|Ограничение вертикальности]]
|[[Sketcher_ConstrainVertical/ru|Ограничение вертикальности]]
Line 9: Line 10:
|IconC=Workbench_Sketcher.svg
|IconC=Workbench_Sketcher.svg
}}
}}
</div>


<div class="mw-translate-fuzzy">
{{GuiCommand/ru
{{GuiCommand/ru
|Name/ru=Ограничение горизонтальности
|Name=Sketcher ConstrainHorizontal
|Name=Sketcher_ConstrainHorizontal
|Name/ru=Sketcher ConstrainHorizontal
|MenuLocation=Sketch → Ограничения эскиза → Ограничения горизонтальности
|MenuLocation=Sketch → Ограничения эскиза → Ограничение горизонтальности
|Workbenches=[[Sketcher_Workbench/ru|Sketcher]]
|Workbenches=[[Sketcher_Workbench/ru|Sketcher]]
|Shortcut={{KEY|H}}
|Shortcut={{KEY|H}}
|SeeAlso=[[Sketcher_ConstrainVertical/ru|Ограничения вертикальности]]
|SeeAlso=[[Sketcher_ConstrainVertical/ru|Ограничение вертикальности]]
}}
}}
</div>


<span id="Description"></span>
==Описание==
==Описание==


<div class="mw-translate-fuzzy">
Горизонтальное ограничение заставляет выбранную линию или линии в эскизе быть параллельными горизонтальной оси эскиза.
Горизонтальное ограничение заставляет выбранную линию или линии в эскизе быть параллельными горизонтальной оси эскиза.
</div>

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


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


See also: [[Sketcher_Workbench#Drawing_aids|Drawing aids]].
[[File:HorizontalConstraint1.png|left|256px]]
Выберите линию на эскизе, нажав на нее.
<br style="clear: both" />
[[File:HorizontalConstraint2.png|left|256px]]
Линия становится тёмно-зелёной.
<br style="clear: both" />


===[[Sketcher_Workbench#Continue_modes|Continue mode]]===
[[File:HorizontalConstraint2.png|500px]]
{{Caption|The line turns dark green.}}


<div class="mw-translate-fuzzy">
[[File:HorizontalConstraint3.png|500px]]
[[File:HorizontalConstraint1.png|500px]]
{{Caption|Apply the Horizontal Constraint by clicking on the {{Button|[[File:Sketcher_ConstrainHorizontal.svg|16px]] [[Sketcher_ConstrainHorizontal|Constraint horizontal]]}} in the Sketcher Constraints toolbar or by selecting the Constrain horizontally menu item in the Sketcher constraints sub menu of the Sketcher menu item in the Sketcher work bench (or the Part Design menu item of the Part Design work bench). The selected line is constrained to be parallel to the horizontal axis of the sketch.}}
{{Caption|Выберите отрезок на эскизе, кликнув по нему.}}
</div>


===Run-once mode===
[[File:HorizontalConstraint4.png|500px]]
{{Caption|Можно выбрать несколько линий}}


# Do one of the following:
[[File:HorizontalConstraint5.png|500px]]
#* Select two or more points.
{{Caption|и затем, применив к ним ограничение, как описано выше, они будут всегда оставаться параллельными горизонтальной оси эскиза.}}
#* 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>
==Программирование==
==Программирование==


Line 51: Line 61:




<div class="mw-translate-fuzzy">
{{Docnav/ru
{{Docnav/ru
|[[Sketcher_ConstrainVertical/ru|Ограничение вертикальности]]
|[[Sketcher_ConstrainVertical/ru|Ограничение вертикальности]]
Line 59: Line 70:
|IconC=Workbench_Sketcher.svg
|IconC=Workbench_Sketcher.svg
}}
}}
</div>


{{Sketcher Tools navi{{#translation:}}}}
{{Sketcher_Tools_navi{{#translation:}}}}
{{Userdocnavi{{#translation:}}}}
{{Userdocnavi{{#translation:}}}}
{{clear}}

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.