Sketcher ConstrainEqual/ro: Difference between revisions

From FreeCAD Documentation
No edit summary
(Updating to match new version of source page)
 
(15 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<languages/>
<languages/>

{{Docnav
|[[Sketcher_ConstrainTangent|Tangent]]
|[[Sketcher_ConstrainSymmetric|Symmetric]]
|[[Sketcher_Workbench|Sketcher]]
|IconL=Sketcher_ConstrainTangent.svg
|IconR=Sketcher_ConstrainSymmetric.svg
|IconC=Workbench_Sketcher.svg
}}

<div class="mw-translate-fuzzy">
{{GuiCommand
{{GuiCommand
|Name=Sketcher ConstrainEqual
|Name=Sketcher ConstrainEqual
Line 7: Line 18:
|SeeAlso=[[Sketcher_ConstrainRadius|Constrain radius]]
|SeeAlso=[[Sketcher_ConstrainRadius|Constrain radius]]
}}
}}
</div>


<span id="Description"></span>
==Descriere==
==Descriere==
Constrângerea de egalitate forțează două sau mai multe segmente de linie, o poli-linie sau un dreptunghi să aibă o lungime egală. Dacă se aplică în arce sau cercuri, razele sunt constrânse să fie egale. Nu poate fi aplicată primitivelor de geometrie care nu sunt de același tip (de exemplu, segmente de linie și arcuri de cerc).


<div class="mw-translate-fuzzy">
==Utilizare==
'''Constrângerea de egalitate''' forțează două sau mai multe segmente de linie, o poli-linie sau un dreptunghi să aibă o lungime egală. Dacă se aplică la arce sau cercuri, razele sunt constrânse să fie egale. Nu poate fi aplicată primitivelor geometrice care nu sunt de același tip (de exemplu, segmente de linie și arcuri de cerc).
Schema de exemplu de mai jos conține un număr de primitive de schiță (linie, poli-linie, dreptunghi, arc și cerc).<br /><br />
</div>
[[File:EqualConstraint1.png|256px]]<br /><br />

Selectați două sau mai multe segmente de linie (de exemplu linia și o parte a dreptunghiului).<br /><br />
==Usage==
[[File:EqualConstraint2.png|256px]]<br /><br />

Click on the Constrain Equal icon [[File:Constraint_EqualLength.png|16px]] în bara de instrumente Sketcher (în Aelierele Sketcher sau Part Design) sau selectați elementul de meniu Constrain Equal din elementul de submeniu al constrângerilor Sketcher din elementul de meniu Sketch or Part Design în funcție de ce Atelier este selectat (Sketcher sau Design Part) aplică constrângerea la elementele selectate.<br /><br />
See also: [[Sketcher_Workbench#Drawing_aids|Drawing aids]].
[[File:EqualConstraint3.png|256px]]<br /><br />

Acum, selectați arcul de cerc și cercul din schiță.<br /><br />
===[[Sketcher_Workbench#Continue_modes|Continue mode]]===
[[File:EqualConstraint4.png|256px]]<br /><br />

and apply the Constrain Equal [[File:Constraint_EqualLength.png|16px]] constraint as before.<br /><br />
# Make sure there is no selection.
[[File:EqualConstraint5.png|256px]]<br /><br />
# There are several ways to invoke the tool:
Now select the line segment, all segments of the poly-line and one of the remaining unconstrained sides of the rectangle <br /><br />
#* Press the {{Button|[[Image:Sketcher_ConstrainEqual.svg|16px]] [[Sketcher_ConstrainEqual|Constrain equal]]}} button.
[[File:EqualConstraint6.png|256px]]<br /><br />
#* Select the {{MenuCommand|Sketch → Sketcher constraints → [[Image:Sketcher_ConstrainEqual.svg|16px]] Constrain equal}} option from the menu.
and apply the Constrain Equal [[File:Constraint_EqualLength.png|16px]] constraint as before.<br /><br />
#* {{Version|1.0}}: Right-click in the [[3D_view|3D view]] and select the {{MenuCommand|Constrain → [[Image:Sketcher_ConstrainEqual.svg|16px]] Constrain equal}} option from the context menu.
[[File:EqualConstraint7.png|256px]]<br /><br />
#* Use the keyboard shortcut: {{KEY|E}}.
Select the line segment and the arc<br /><br />
# The cursor changes to a cross with the tool icon.
[[File:EqualConstraint8.png|256px]]<br /><br />
# Select two edges of the same type.
and apply the Constrain Equal [[File:Constraint_EqualLength.png|16px]] constrângere ca înainte. Un dialog contextula indică faptul că elementele constrânse trebuie să fie de același tip geometric (linii cu curbură nulă sau linii cu curbură non-nulă).<br /><br />
# A constraint is added.
[[File:EqualConstraint9.png|256px]]
# Optionally keep creating constraints.
# To finish, right-click or press {{KEY|Esc}}, or start another geometry or constraint creation tool.

===Run-once mode===

# Select two or more edges of the same type.
# 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_ConstrainEqual.svg|16px]] Constrain equal}} option from the context menu.
# Depending on the selection one or more constraints are added.

== Scripting ==

{{Code|code=Sketch.addConstraint(Sketcher.Constraint('Equal', Edge1, Edge2))}}

The [[Sketcher_scripting|Sketcher scripting]] page explains the values which can be used for {{incode|Edge1}} and {{incode|Edge2}} and contains further examples on how to create constraints from Python scripts.


{{Docnav
|[[Sketcher_ConstrainTangent|Tangent]]
|[[Sketcher_ConstrainSymmetric|Symmetric]]
|[[Sketcher_Workbench|Sketcher]]
|IconL=Sketcher_ConstrainTangent.svg
|IconR=Sketcher_ConstrainSymmetric.svg
|IconC=Workbench_Sketcher.svg
}}

{{Sketcher_Tools_navi{{#translation:}}}}
{{Userdocnavi{{#translation:}}}}

Latest revision as of 15:02, 23 April 2024

Sketcher ConstrainEqual

Menu location
Sketch → Sketcher constraints → Constrain equal
Workbenches
Sketcher
Default shortcut
E
Introduced in version
-
See also
Constrain radius

Descriere

Constrângerea de egalitate forțează două sau mai multe segmente de linie, o poli-linie sau un dreptunghi să aibă o lungime egală. Dacă se aplică la arce sau cercuri, razele sunt constrânse să fie egale. Nu poate fi aplicată primitivelor geometrice care nu sunt de același tip (de exemplu, segmente de linie și arcuri de cerc).

Usage

See also: Drawing aids.

Continue mode

  1. Make sure there is no selection.
  2. There are several ways to invoke the tool:
    • Press the Constrain equal button.
    • Select the Sketch → Sketcher constraints → Constrain equal option from the menu.
    • introduced in version 1.0: Right-click in the 3D view and select the Constrain → Constrain equal option from the context menu.
    • Use the keyboard shortcut: E.
  3. The cursor changes to a cross with the tool icon.
  4. Select two edges of the same type.
  5. A constraint is added.
  6. Optionally keep creating constraints.
  7. To finish, right-click or press Esc, or start another geometry or constraint creation tool.

Run-once mode

  1. Select two or more edges of the same type.
  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('Equal', Edge1, Edge2))

The Sketcher scripting page explains the values which can be used for Edge1 and Edge2 and contains further examples on how to create constraints from Python scripts.