Sketcher ConstrainBlock/ru: Difference between revisions

From FreeCAD Documentation
(Created page with "Sketcher ConstrainBlock")
 
(Updating to match new version of source page)
 
(23 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<languages/>
<languages/>
{{Docnav|[[Sketcher_ConstrainSymmetric|Symmetric]]|[[Sketcher ConstrainLock|Lock]]|[[Sketcher_Workbench|Sketcher]]|IconL=Constraint_Symmetric.png|IconC=Workbench_Sketcher.svg|IconR=Sketcher_ConstrainLock.png‎}}


<div class="mw-translate-fuzzy">
{{GuiCommand
{{Docnav/ru
|Name=Sketcher ConstrainBlock
|[[Sketcher_ConstrainSymmetric/ru|Ограничение симметричности]]
|MenuLocation=Sketch → Sketcher constraints → Constrain Block
|[[Sketcher_ConstrainLock/ru|Ограничение положения]]
|Workbenches=[[Sketcher Workbench|Sketcher]]
|[[Sketcher_Workbench/ru|Верстак "Sketcher"]]
|SeeAlso=[[Sketcher_ConstrainLock|Constrain Lock]]
|IconL=Constraint_Symmetric.svg
|IconR=Sketcher_ConstrainLock.svg‎
|IconC=Workbench_Sketcher.svg
}}
</div>

<div class="mw-translate-fuzzy">
{{GuiCommand/ru
|Name/ru=Ограничение перемещения
|Name=Sketcher_ConstrainBlock
|MenuLocation=Sketch → Ограничения эскиза → Constrain Block
|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. Its main intended use is to work with [[Sketcher_CreateBSpline|B-Splines]] which can be difficult to fully constrain otherwise.
'''Блокирующее ограничение''' фиксирует геометрический элемент в указанном месте, одним нажатием.
</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.
==How to use==


<span id="Usage"></span>
# Select an element to constrain;
==Применение==
# Press the {{KEY|[[File:Sketcher ConstrainBlock.png|24px]] '''Constrain Block'''}} button.
'''Note:''' step 1 and 2 can be reversed.


See also: [[Sketcher_Workbench#Drawing_aids|Drawing aids]].
{{Docnav|[[Sketcher_ConstrainSymmetric|Symmetric]]|[[Sketcher ConstrainLock|Lock]]|[[Sketcher_Workbench|Sketcher]]|IconL=Constraint_Symmetric.png|IconC=Workbench_Sketcher.svg|IconR=Sketcher_ConstrainLock.png‎}}


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

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

===Run-once mode===

# 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‎
|IconC=Workbench_Sketcher.svg
}}
</div>


{{Sketcher_Tools_navi{{#translation:}}}}
{{Userdocnavi}}
{{Userdocnavi{{#translation:}}}}

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.