Sketcher ConstrainBlock/ru: Difference between revisions

From FreeCAD Documentation
(Created page with "==Программирование==")
(Updating to match new version of source page)
(11 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|Ограничение положения]]
|[[Sketcher_Workbench/ru|Верстак "Sketcher"]]
|IconL=Constraint_Symmetric.svg
|IconL=Constraint_Symmetric.svg
|IconR=Sketcher_ConstrainLock.svg‎
|IconR=Sketcher_ConstrainLock.svg‎
|IconC=Workbench_Sketcher.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
|Workbenches=[[Sketcher_Workbench/ru|Sketcher]]
|Version=0.17
|Version=0.17
|SeeAlso=[[Sketcher_ConstrainLock|Sketcher Constrain Lock]]
|SeeAlso=[[Sketcher_ConstrainLock/ru|Ограничение положения]]
}}
}}
</div>


<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 addition 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.


<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]]===

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

===Run-once mode===


# Select one or more edges.
Or press the button first, and then select the elements.
# 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>
==Программирование==
==Программирование==


Line 37: Line 59:




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


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

Revision as of 15:04, 23 April 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 addition 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.