Sketcher ConstrainEqual/es: Difference between revisions

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

{{Docnav
<div class="mw-translate-fuzzy">
|[[Sketcher ConstrainTangent|Tangent]]
{{Docnav/es
|[[Sketcher_ConstrainSymmetric|Symmetric]]
|[[Sketcher_Workbench|Sketcher]]
|[[Sketcher ConstrainTangent/es|Tangente]]
|[[Sketcher_ConstrainSymmetric/es|Simétrico]]
|[[Sketcher_Workbench/es|Coquizador]]
|IconL=Constraint_Tangent.png
|IconL=Constraint_Tangent.png
|IconC=Workbench_Sketcher.svg
|IconC=Workbench_Sketcher.svg
|IconR=Constraint_Symmetric.png
|IconR=Constraint_Symmetric.png
}}
}}
</div>


<div class="mw-translate-fuzzy">
{{GuiCommand
{{GuiCommand/es
|Name=Sketcher ConstrainEqual
|Name=Sketcher ConstrainEqual
|Name/es=Croquizador RestringirIgual
|Workbenches=[[Sketcher Workbench|Sketcher]]
|Workbenches=[[Sketcher Workbench/es|Croquizador]]
|MenuLocation=Sketch → Sketcher constraints → Constrain equal
|MenuLocation=Croquis → Croquizador Restricciones → Restringir igual
|Shortcut=E
|Shortcut=E
|SeeAlso=[[Sketcher_ConstrainRadius|Constrain radius]]
|SeeAlso=[[Sketcher_ConstrainRadius/es|Restringir radius]]
}}
}}
</div>


<span id="Description"></span>
==Descripción==
==Descripción==


<div class="mw-translate-fuzzy">
La restricción Igual fuerza que dos o más segmentos de línea en una línea, polilínea o rectángulo tengan la misma longitud. Si se aplica sobre arcos o circunferencias el radio se restringe para que sea igual. No puede aplicarse sobre geometría que no sea del mismo tipo (por ejemplo segmentos de línea y arcos).
La restricción Igual fuerza que dos o más segmentos de línea en una línea, polilínea o rectángulo tengan la misma longitud. Si se aplica sobre arcos o circunferencias el radio se restringe para que sea igual. No puede aplicarse sobre geometría que no sea del mismo tipo (por ejemplo segmentos de línea y arcos).

<div class="mw-translate-fuzzy">
==Funcionamiento==
El croquis de ejemplo de abajo contiene una serie de primitivas de croquis ( línea, polilínea, rectángulo, arco y circunferencia).

[[File:EqualConstraint1.png|256px]]

Selecciona dos o más segmentos de línea (por ejemplo la línea y un lado del rectángulo).

[[File:EqualConstraint2.png|256px]]

Pulsa sobre el icono de la Restricción Igual [[File:Constraint_EqualLength.png|16px]] en la barra de herramientas del Croquizador (tanto en el entorno del Croquizador como en el de Diseño de Piezas) o selecciona el elemento Restricción Igual en el submenú de las restricciones del entorno del Croquizador o en el entorno de Diseño de Piezas, dependiendo del entorno que esté seleccionado (Croquizador o Diseño de Piezas) para aplicar la restricción a los elementos seleccionados.

[[File:EqualConstraint3.png|256px]]

Ahora selecciona el arco y la circunferencia en el croquis.

[[File:EqualConstraint4.png|256px]]

y aplica la Restricción Igual [[File:Constraint_EqualLength.png|16px]] tal como hiciste antes.

[[File:EqualConstraint5.png|256px]]

Ahora selecciona el segmento de línea, todos los segmentos de la polilínea y uno de los lados del rectángulo que no están restringidos

[[File:EqualConstraint6.png|256px]]

y aplica la Restricción Igual [[File:Constraint_EqualLength.png|16px]] tal como hiciste antes.

[[File:EqualConstraint7.png|256px]]

Selecciona el segmento de línea y el arco

[[File:EqualConstraint8.png|256px]]

y aplica la Restricción Igual [[File:Constraint_EqualLength.png|16px]] tal como hiciste antes. Un letrero de mensaje indica que los elementos restringidos deben ser del mismo tipo geométrico (líneas de curvatura cero o líneas de curvatura distinta de cero).

[[File:EqualConstraint9.png|256px]]
</div>
</div>


==Usage==
The example sketch below contains a number of sketch primitives (line,poly-line, rectangle, arc and circle).


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


===[[Sketcher_Workbench#Continue_modes|Continue mode]]===
Select two or more line segments (e.g. line and one side of the rectangle).


# Make sure there is no selection.
[[File:EqualConstraint2.png]]
# There are several ways to invoke the tool:
#* Press the {{Button|[[Image:Sketcher_ConstrainEqual.svg|16px]] [[Sketcher_ConstrainEqual|Constrain equal]]}} button.
#* Select the {{MenuCommand|Sketch → Sketcher constraints → [[Image:Sketcher_ConstrainEqual.svg|16px]] Constrain equal}} option from the menu.
#* {{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.
#* Use the keyboard shortcut: {{KEY|E}}.
# The cursor changes to a cross with the tool icon.
# Select two edges of the same type.
# A constraint is added.
# Optionally keep creating constraints.
# To finish, right-click or press {{KEY|Esc}}, or start another geometry or constraint creation tool.


===Run-once mode===
Click on {{Button|[[File:Constraint_EqualLength.png|16px]] [[Sketcher_ConstrainEqual|Constrain equal]]}} in the Sketcher toolbar (in either the Sketcher or Part Design workbenches) or select the Constrain Equal menu item from the Sketcher constraints sub menu item in either the Sketch or Part Design menu item depending upon which workbench is selected (Sketcher or Part Design) to apply the constraint to the selected items.


# Select two or more edges of the same type.
[[File:EqualConstraint3.png]]
# 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 ==
Now select the arc and the circle in the sketch.


{{Code|code=Sketch.addConstraint(Sketcher.Constraint('Equal', Edge1, Edge2))}}
[[File:EqualConstraint4.png]]


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.
and apply {{Button|[[File:Constraint_EqualLength.png|16px]] [[Sketcher_ConstrainEqual|Constrain equal]]}} as before.


[[File:EqualConstraint5.png]]

Now select the line segment, all segments of the poly-line and one of the remaining unconstrained sides of the rectangle

[[File:EqualConstraint6.png]]

and apply {{Button|[[File:Constraint_EqualLength.png|16px]] [[Sketcher_ConstrainEqual|Constrain equal]]}} as before.

[[File:EqualConstraint7.png]]

Select the line segment and the arc

[[File:EqualConstraint8.png]]

and apply {{Button|[[File:Constraint_EqualLength.png|16px]] [[Sketcher_ConstrainEqual|Constrain equal]]}} as before. A pop-up message indicates that the constrained items have to be of the same geometrical type (lines of zero curvature or lines of non-zero curvature).

[[File:EqualConstraint9.png]]


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


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

{{Userdocnavi}}

Latest revision as of 15:02, 23 April 2024

Croquizador RestringirIgual

Ubicación en el Menú
Croquis → Croquizador Restricciones → Restringir igual
Entornos de trabajo
Croquizador
Atajo de teclado por defecto
E
Introducido en versión
-
Ver también
Restringir radius

Descripción

La restricción Igual fuerza que dos o más segmentos de línea en una línea, polilínea o rectángulo tengan la misma longitud. Si se aplica sobre arcos o circunferencias el radio se restringe para que sea igual. No puede aplicarse sobre geometría que no sea del mismo tipo (por ejemplo segmentos de línea y arcos).

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.