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)
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
<languages/>
<languages/>

{{Docnav
{{Docnav
|[[Sketcher_ConstrainSymmetric|Symmetric]]
|[[Sketcher_ConstrainSymmetric|Symmetric]]
|[[Sketcher_Dimension|Dimension]]
|[[Sketcher_ConstrainLock|Lock]]
|[[Sketcher_Workbench|Sketcher]]
|[[Sketcher_Workbench|Sketcher]]
|IconL=Constraint_Symmetric.svg
|IconL=Constraint_Symmetric.svg
|IconR=Sketcher_ConstrainLock.svg‎
|IconR=Sketcher_Dimension.svg‎
|IconC=Workbench_Sketcher.svg
|IconC=Workbench_Sketcher.svg
}}
}}
Line 19: Line 20:
</div>
</div>


<span id="Description"></span>
==Descriere==
==Descriere==


Line 25: Line 27:
</div>
</div>


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.


<span id="Usage"></span>
<div class="mw-translate-fuzzy">
<div class="mw-translate-fuzzy">
== Cum se folosește ==
== Cum se folosește ==
Line 43: Line 46:
{{Code|code=Sketch.addConstraint(Sketcher.Constraint('Block', Edge))}}
{{Code|code=Sketch.addConstraint(Sketcher.Constraint('Block', Edge))}}


The [[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.




{{Docnav
{{Docnav
|[[Sketcher_ConstrainSymmetric|Symmetric]]
|[[Sketcher_ConstrainSymmetric|Symmetric]]
|[[Sketcher_Dimension|Dimension]]
|[[Sketcher_ConstrainLock|Lock]]
|[[Sketcher_Workbench|Sketcher]]
|[[Sketcher_Workbench|Sketcher]]
|IconL=Constraint_Symmetric.svg
|IconL=Constraint_Symmetric.svg
|IconR=Sketcher_ConstrainLock.svg‎
|IconR=Sketcher_Dimension.svg‎
|IconC=Workbench_Sketcher.svg
|IconC=Workbench_Sketcher.svg
}}
}}


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

Revision as of 16:41, 2 January 2024

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.