Sketcher ConstrainHorizontal/ru: Difference between revisions

From FreeCAD Documentation
(Created page with "{{Userdocnavi/ru}}")
(Updating to match new version of source page)
 
(36 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<languages/>
<languages/>

{{Docnav/ru|
<div class="mw-translate-fuzzy">
[[Sketcher_ConstrainVertical/ru|Vertical]]|
{{Docnav/ru
[[Sketcher_ConstrainParallel/ru|Parallel]]|
|[[Sketcher_ConstrainVertical/ru|Ограничение вертикальности]]
[[Sketcher_Workbench/ru|Sketcher]]
|[[Sketcher_ConstrainParallel/ru|Ограничение параллельности]]
|IconL=Constraint_Vertical.png|IconC=Workbench_Sketcher.svg|IconR=Constraint_Parallel.png
|[[Sketcher_Workbench/ru|Верстак "Sketcher"]]
|IconL=Sketcher_ConstrainVertical.svg
|IconR=Sketcher_ConstrainParallel.svg
|IconC=Workbench_Sketcher.svg
}}
}}
</div>


<div class="mw-translate-fuzzy">
{{GuiCommand/ru
{{GuiCommand/ru
|Name/ru=Ограничение горизонтальности
|Name=Constraint Horizontal
|Name=Sketcher_ConstrainHorizontal
|Name/ru=Constraint Horizontal
|MenuLocation=Sketch → Ограничения эскиза → Ограничение горизонтальности
|Workbenches=[[Sketcher Workbench/ru|Sketcher]]
|Workbenches=[[Sketcher_Workbench/ru|Sketcher]]
|MenuLocation=Sketch → Ограничения эскиза → Ограничения горизонтальности
|Shortcut=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>
[[File:HorizontalConstraint1.png|left|256px]]
==Применение==
Выберите линию на эскизе, нажав на нее.
<br style="clear: both" />
[[File:HorizontalConstraint2.png|left|256px]]
The line turns dark green.
<br style="clear: both" />
[[File:HorizontalConstraint3.png|left|256px]]
Apply the Horizontal Constraint by clicking on the Horizontal Constraint icon [[File:Constraint_Horizontal.png|16px]] 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.
<br style="clear: both" />
[[File:HorizontalConstraint4.png|left|256px]]
Multiple lines may be selected,
<br style="clear: both" />
[[File:HorizontalConstraint5.png|left|256px]]
и затем, применяя ограничение, как описано выше, они ограничиваются, чтобы быть параллельными горизонтальной оси эскиза.
<br style="clear: both" />


See also: [[Sketcher_Workbench#Drawing_aids|Drawing aids]].
{{Docnav/ru|
[[Sketcher_ConstrainVertical/ru|Vertical]]|
[[Sketcher_ConstrainParallel/ru|Parallel]]|
[[Sketcher_Workbench/ru|Sketcher]]
|IconL=Constraint_Vertical.png|IconC=Workbench_Sketcher.svg|IconR=Constraint_Parallel.png
}}


===[[Sketcher_Workbench#Continue_modes|Continue mode]]===
{{Sketcher Tools navi/ru}}

<div class="mw-translate-fuzzy">
[[File:HorizontalConstraint1.png|500px]]
{{Caption|Выберите отрезок на эскизе, кликнув по нему.}}
</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>
==Программирование==

{{Code|code=Sketch.addConstraint(Sketcher.Constraint('Horizontal', Line))}}

The [[Sketcher_scripting|Sketcher scripting]] page explains the values which can be used for {{incode|Line}} and contains further examples on how to create constraints from Python scripts.


<div class="mw-translate-fuzzy">
{{Docnav/ru
|[[Sketcher_ConstrainVertical/ru|Ограничение вертикальности]]
|[[Sketcher_ConstrainParallel/ru|Ограничение параллельности]]
|[[Sketcher_Workbench/ru|Верстак "Sketcher"]]
|IconL=Sketcher_ConstrainVertical.svg
|IconR=Sketcher_ConstrainParallel.svg
|IconC=Workbench_Sketcher.svg
}}
</div>


{{Sketcher_Tools_navi{{#translation:}}}}
{{Userdocnavi/ru}}
{{Userdocnavi{{#translation:}}}}

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.