Sketcher ConstrainBlock/ru: Difference between revisions

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

{{Docnav
<div class="mw-translate-fuzzy">
|[[Sketcher_ConstrainSymmetric|Symmetric]]
{{Docnav/ru
|[[Sketcher ConstrainLock|Lock]]
|[[Sketcher_ConstrainSymmetric/ru|Ограничение симметричности]]
|[[Sketcher_Workbench|Sketcher]]
|[[Sketcher_ConstrainLock/ru|Ограничение положения]]
|IconL=Constraint_Symmetric.png
|[[Sketcher_Workbench/ru|Верстак "Sketcher"]]
|IconC=Workbench_Sketcher.svg
|IconL=Constraint_Symmetric.svg
|IconR=Sketcher_ConstrainLock.svg‎
|IconR=Sketcher_ConstrainLock.svg‎
|IconC=Workbench_Sketcher.svg
}}
}}
</div>


<div class="mw-translate-fuzzy">
{{GuiCommand
{{GuiCommand/ru
|Name=Sketcher ConstrainBlock
|Name/ru=Ограничение перемещения
|MenuLocation=Sketch → Sketcher constraints → Constrain Block
|Name=Sketcher_ConstrainBlock
|Workbenches=[[Sketcher Workbench|Sketcher]]
|MenuLocation=Sketch → Ограничения эскиза → Constrain Block
|SeeAlso=[[Sketcher_ConstrainLock|Constrain Lock]]
|Workbenches=[[Sketcher_Workbench/ru|Sketcher]]
|Version=0.17
|Version=0.17
|SeeAlso=[[Sketcher_ConstrainLock/ru|Ограничение положения]]
}}
}}
</div>


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


<div class="mw-translate-fuzzy">
'''Constrain Block''' blocks a geometric element in place with a single constraint.
'''Блокирующее ограничение''' фиксирует геометрический элемент в указанном месте, одним нажатием.
</div>


The block constraint only affects the freely movable parts of an edge. Blocked edges can have other constraints, and applying additional constraints to a blocked edge can modify it.
It is mainly intended to be used with {{Button|[[File:Sketcher_CreateBSpline.svg|16px]] [[Sketcher_CreateBSpline|B-Splines]]}}, which can be difficult to fully constrain otherwise.


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


See also: [[Sketcher_Workbench#Drawing_aids|Drawing aids]].
# Select an element to constrain.
# Press the {{Button|[[File:Sketcher_ConstrainBlock.svg|16px]] [[Sketcher_ConstrainBlock|Constrain Block]]}} button.


===[[Sketcher_Workbench#Continue_modes|Continue mode]]===
Or press the button first, and then select the elements.


<div class="mw-translate-fuzzy">
{{Docnav
# Выберите элемент, степень свободы которого вы хотите ограничить.
|[[Sketcher_ConstrainSymmetric|Symmetric]]
# Нажмите на кнопку {{Button|[[File:Sketcher_ConstrainBlock.svg|16px]] [[Sketcher_ConstrainBlock/ru|Ограничение (Привязка)]]}}.
|[[Sketcher ConstrainLock|Lock]]
</div>
|[[Sketcher_Workbench|Sketcher]]

|IconL=Constraint_Symmetric.png
===Run-once mode===
|IconC=Workbench_Sketcher.svg

# Select one or more edges.
# 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_ConstrainBlock.svg|16px]] Constrain block}} 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('Block', Edge))}}

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


<div class="mw-translate-fuzzy">
{{Docnav/ru
|[[Sketcher_ConstrainSymmetric/ru|Ограничение симметричности]]
|[[Sketcher_ConstrainLock/ru|Ограничение положения]]
|[[Sketcher_Workbench/ru|Верстак "Sketcher"]]
|IconL=Constraint_Symmetric.svg
|IconR=Sketcher_ConstrainLock.svg‎
|IconR=Sketcher_ConstrainLock.svg‎
|IconC=Workbench_Sketcher.svg
}}
}}
</div>


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

Latest revision as of 11:10, 12 May 2024

Ограничение перемещения

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

Описание

Блокирующее ограничение фиксирует геометрический элемент в указанном месте, одним нажатием.

The block constraint only affects the freely movable parts of an edge. Blocked edges can have other constraints, and applying additional constraints to a blocked edge can modify it.

Применение

See also: Drawing aids.

Continue mode

  1. Выберите элемент, степень свободы которого вы хотите ограничить.
  2. Нажмите на кнопку Ограничение (Привязка).

Run-once mode

  1. Select one or more edges.
  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('Block', Edge))

The Sketcher scripting page explains the values which can be used for Edge and contains further examples on how to create constraints from Python scripts.