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

{{Docnav
{{Docnav
|[[Sketcher_ConstrainSymmetric|Symmetric]]
|[[Sketcher_ConstrainSymmetric|Symmetric]]
|[[Sketcher_ConstrainSnellsLaw|Refraction (Snell's law)]]
|[[Sketcher ConstrainLock|Lock]]
|[[Sketcher_Workbench|Sketcher]]
|[[Sketcher_Workbench|Sketcher]]
|IconL=Constraint_Symmetric.png
|IconL=Constraint_Symmetric.svg
|IconR=Sketcher_ConstrainSnellsLaw.svg‎
|IconC=Workbench_Sketcher.svg
|IconC=Workbench_Sketcher.svg
|IconR=Sketcher_ConstrainLock.svg‎
}}
}}


Line 19: Line 20:
</div>
</div>


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


Line 25: Line 27:
</div>
</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.
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 ==
</div>
</div>

See also: [[Sketcher_Workbench#Drawing_aids|Drawing aids]].

===[[Sketcher_Workbench#Continue_modes|Continue mode]]===


<div class="mw-translate-fuzzy">
<div class="mw-translate-fuzzy">
Line 37: Line 44:
</div>
</div>


===Run-once mode===
Or press the button first, and then select the elements.

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

== Scripting ==

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



{{Docnav
{{Docnav
|[[Sketcher_ConstrainSymmetric|Symmetric]]
|[[Sketcher_ConstrainSymmetric|Symmetric]]
|[[Sketcher_ConstrainSnellsLaw|Refraction (Snell's law)]]
|[[Sketcher ConstrainLock|Lock]]
|[[Sketcher_Workbench|Sketcher]]
|[[Sketcher_Workbench|Sketcher]]
|IconL=Constraint_Symmetric.png
|IconL=Constraint_Symmetric.svg
|IconR=Sketcher_ConstrainSnellsLaw.svg‎
|IconC=Workbench_Sketcher.svg
|IconC=Workbench_Sketcher.svg
|IconR=Sketcher_ConstrainLock.svg‎
}}
}}


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

Latest revision as of 11:10, 12 May 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.

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.

Cum se folosește

See also: Drawing aids.

Continue mode

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

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

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.

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.