Sketcher ConstrainBlock/ru: Difference between revisions

From FreeCAD Documentation
(Created page with "==Описание==")
(Created page with "==Применение==")
Line 23: Line 23:
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.
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==


# Select an element to constrain.
# Select an element to constrain.

Revision as of 21:27, 4 September 2021

Sketcher ConstrainBlock

Menu location
Sketch → Sketcher constraints → Constrain Block
Workbenches
Sketcher
Default shortcut
None
Introduced in version
0.17
See also
Sketcher Constrain Lock

Описание

Constrain Block blocks a geometric element in place with a single constraint.

It is mainly intended to be used with B-Splines, which can be difficult to fully constrain otherwise.

Применение

  1. Select an element to constrain.
  2. Press the Constrain Block button.

Or press the button first, and then select the elements.

Scripting

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.