Sketcher ConstrainBlock/ro: Difference between revisions

From FreeCAD Documentation
(Updating to match new version of source page)
(Updating to match new version of source page)
Line 43: Line 43:
{{Code|code=Sketch.addConstraint(Sketcher.Constraint('Block', Edge))}}
{{Code|code=Sketch.addConstraint(Sketcher.Constraint('Block', Edge))}}


The [[Scripting_Sketcher_constraints_in_Python|Scripting Sketcher constraints in Python]] page explains the values which can be used for {{incode|Edge}} and contains further examples on how to create constraints from Python scripts.
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.





Revision as of 23:31, 23 January 2021

Constrângere de blocare

poziția meniului
Sketch → Constrângeri desenator → Constrain Block
Ateliere
Sketcher
scurtătură
nici unul
Prezentat în versiune
-
A se vedea, de asemenea,
Constrângere fixă

Descriere

Constrain Block permite blocarea unui element geometric pe loc cu ajutorul unei singure constrângeri. Scopul său principal este de a lucra cu B-Splines ceea ce poate fi dificil de restrâns complet în alt mod.

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

Cum se folosește

  1. Selectează un element de constrângere;
  2. Apăsă butonul Constrain Block .

Note: pașii 1 și 2 pot fi inversați.

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.