Sketcher ConstrainBlock/fr: Difference between revisions

From FreeCAD Documentation
No edit summary
(Updating to match new version of source page)
Line 10: Line 10:
}}
}}


<div class="mw-translate-fuzzy">
{{GuiCommand/fr
{{GuiCommand/fr
|Name=Sketcher ConstrainBlock
|Name=Sketcher ConstrainBlock
Line 19: Line 20:
|SeeAlso=[[Sketcher_ConstrainLock/fr|Sketcher Contrainte fixe]]
|SeeAlso=[[Sketcher_ConstrainLock/fr|Sketcher Contrainte fixe]]
}}
}}
</div>


==Description==
==Description==


<div class="mw-translate-fuzzy">
La '''Contrainte de blocage''' permet de bloquer un élément en place à l'aide d'une seule contrainte.
La '''Contrainte de blocage''' permet de bloquer un élément en place à l'aide d'une seule contrainte.
</div>


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.
Son principal usage est prévu pour les {{Button|[[File:Sketcher_CreateBSpline.svg|16px]] [[Sketcher_CreateBSpline/fr|B-splines]]}} qui peuvent être difficiles à contraindre entièrement par ailleurs.


<span id="Usage"></span>
<span id="Usage"></span>
==Utilisation==
==Utilisation==


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

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

<div class="mw-translate-fuzzy">
# Sélectionner un élément à contraindre.
# Sélectionner un élément à contraindre.
# Appuyer sur le bouton {{Button|[[File:Sketcher_ConstrainBlock.svg|16px]] [[Sketcher_ConstrainBlock/fr|Contrainte de blocage]]}}.
# Appuyer sur le bouton {{Button|[[File:Sketcher_ConstrainBlock.svg|16px]] [[Sketcher_ConstrainBlock/fr|Contrainte de blocage]]}}.
</div>

===Run-once mode===


# Select one or more edges.
Ou appuyez d'abord sur le bouton, puis sélectionnez les éléments.
# 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.


<span id="Scripting"></span>
<span id="Scripting"></span>

Revision as of 15:04, 23 April 2024

Sketcher Contrainte de blocage

Emplacement du menu
Esquisse → Contraintes d'esquisse → Contrainte de blocage
Ateliers
Sketcher
Raccourci par défaut
K B
Introduit dans la version
0.17
Voir aussi
Sketcher Contrainte fixe

Description

La Contrainte de blocage permet de bloquer un élément en place à l'aide d'une seule contrainte.

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.

Utilisation

See also: Drawing aids.

Continue mode

  1. Sélectionner un élément à contraindre.
  2. Appuyer sur le bouton Contrainte de blocage.

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.

Script

Sketch.addConstraint(Sketcher.Constraint('Block', Edge))

La page Sketcher Scripts explique les valeurs qui peuvent être utilisées pour Edge et contient d'autres exemples sur la façon de créer des contraintes à partir de scripts Python.