Sketcher ConstrainBlock/es: Difference between revisions

From FreeCAD Documentation
(Created page with "{{Version/es|0.17}}")
(Updating to match new version of source page)
(19 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<languages/>
<languages/>

<div class="mw-translate-fuzzy">
{{Docnav/es
|[[Sketcher_ConstrainSymmetric/es|Simetría]]
|[[Sketcher_ConstrainLock/es|Bloqueo]]
|[[Sketcher_Workbench/es|Croquizador]]
|IconL=Sketcher_ConstrainSymmetric.svg
|IconR=Sketcher_ConstrainLock.svg
|IconC=Workbench_Sketcher.svg
}}
</div>

<div class="mw-translate-fuzzy">
{{GuiCommand/es
{{GuiCommand/es
|Name=Sketcher ConstrainBlock
|Name=Sketcher ConstrainBlock
|Name/es=Bloque de Restricción
|Name/es=Croquizador RestringirBloque
|MenuLocation=Croquis → Restricciones de croquis → Restringir Bloque
|Workbenches=[[Sketcher Workbench/es|Sketcher]]
|Workbenches=[[Sketcher Workbench/es|Croquizador]]
|MenuLocation=Sketch → Restricciones de croquis → Bloque de Restricción
|SeeAlso=[[Sketcher_ConstrainLock/es|Constrain Lock]]
|SeeAlso=[[Sketcher_ConstrainLock/es|Restringir Lock]]
|Version=0.17
}}
}}
</div>


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


'''Constrain Block''' blocks a geometric element in place with a single constraint. Its main intended use is to work with [[Sketcher_CreateBSpline|B-Splines]] which can be difficult to fully constrain otherwise.
The [[Image:Sketcher_ConstrainBlock.svg|24px]] [[Sketcher_ConstrainBlock|Sketcher ConstrainBlock]] tool blocks edges in place with a single constraint. It is mainly intended for [[Sketcher_CreateBSpline|B-splines]], which can be difficult to fully constrain otherwise.


The block constraint only affects the freely movable parts of an edge. Blocked edges can have other constraints, and applying addition constraints to a blocked edge can modify it.
{{Version/es|0.17}}


<span id="Usage"></span>
==How to use==
<div class="mw-translate-fuzzy">
==Utilización==
</div>

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

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

# Make sure there is no selection.
# There are several ways to invoke the tool:
#* Press the {{Button|[[Image:Sketcher_ConstrainBlock.svg|16px]] [[Sketcher_ConstrainBlock|Constrain block]]}} button.
#* Select the {{MenuCommand|Sketch → Sketcher constraints → [[Image:Sketcher_ConstrainBlock.svg|16px]] Constrain block}} option from the menu.
#* {{Version|1.0}}: Right-click in the [[3D_view|3D view]] and select the {{MenuCommand|Constrain → [[Image:Sketcher_ConstrainBlock.svg|16px]] Constrain block}} option from the context menu.
#* Use the keyboard shortcut: {{KEY|K}} then {{KEY|B}}.
# The cursor changes to a cross with the tool icon.
# Select a single edge.
# 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===

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


<div class="mw-translate-fuzzy">
{{Docnav/es
|[[Sketcher_ConstrainSymmetric/es|Simetría]]
|[[Sketcher_ConstrainLock/es|Bloqueo]]
|[[Sketcher_Workbench/es|Croquizador]]
|IconL=Sketcher_ConstrainSymmetric.svg
|IconR=Sketcher_ConstrainLock.svg
|IconC=Workbench_Sketcher.svg
}}
</div>


{{Sketcher_Tools_navi{{#translation:}}}}
# Select an element to constrain;
{{Userdocnavi{{#translation:}}}}
# Press the {{KEY|[[File:Sketcher ConstrainBlock.png|24px]] '''Constrain Block'''}} button.
'''Note:''' step 1 and 2 can be reversed.

Revision as of 15:04, 23 April 2024

Croquizador RestringirBloque

Ubicación en el Menú
Croquis → Restricciones de croquis → Restringir Bloque
Entornos de trabajo
Croquizador
Atajo de teclado por defecto
Ninguno
Introducido en versión
0.17
Ver también
Restringir Lock

Descripción

The Sketcher ConstrainBlock tool blocks edges in place with a single constraint. It is mainly intended for B-splines, which can be difficult to fully constrain otherwise.

The block constraint only affects the freely movable parts of an edge. Blocked edges can have other constraints, and applying addition constraints to a blocked edge can modify it.

Utilización

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 block button.
    • Select the Sketch → Sketcher constraints → Constrain block option from the menu.
    • introduced in version 1.0: Right-click in the 3D view and select the Constrain → Constrain block option from the context menu.
    • Use the keyboard shortcut: K then B.
  3. The cursor changes to a cross with the tool icon.
  4. Select a single edge.
  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 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.