Sketcher ConstrainBlock/fr: Difference between revisions

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

{{Docnav/fr
{{Docnav/fr
|[[Sketcher_ConstrainSymmetric/fr|Contrainte symétrique]]
|[[Sketcher_ConstrainSymmetric/fr|Contrainte symétrique]]
|[[Sketcher_Dimension/fr|Dimension]]
|[[Sketcher ConstrainLock/fr|Contrainte Fixe]]
|[[Sketcher_Workbench/fr|Atelier Sketcher]]
|[[Sketcher_Workbench/fr|Atelier Sketcher]]
|IconL=Constraint_Symmetric.png
|IconL=Constraint_Symmetric.svg
|IconR=Sketcher_Dimension.svg‎
|IconC=Workbench_Sketcher.svg
|IconC=Workbench_Sketcher.svg
|IconR=Sketcher_ConstrainLock.png‎
}}
}}


<div class="mw-translate-fuzzy">
{{GuiCommand/fr
{{GuiCommand/fr
|Name=Sketcher ConstrainBlock
|Name=Sketcher ConstrainBlock
|Name/fr=Contrainte de blocage Sketcher|MenuLocation=Sketch → Contraintes d'esquisse → Contrainte de blocage
|Name/fr=Sketcher Contrainte de blocage
|MenuLocation=Esquisse → Contraintes d'esquisse → Contrainte de blocage
|Workbenches=[[Sketcher Workbench/fr|Sketcher]]
|Workbenches=[[Sketcher_Workbench/fr|Sketcher]]
|SeeAlso=[[Sketcher_ConstrainLock/fr|Contrainte fixe]]|Version=0.17
|Shortcut={{KEY|K}} {{KEY|B}}
|Version=0.17
|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. Son usage principal est prévu pour les [[Sketcher_CreateBSpline/fr|courbes B-Splines]] qui peuvent être difficile à contraindre entièrement.
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.

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


See also: [[Sketcher_Workbench#Drawing_aids|Drawing aids]].
# Sélectionner un élément à contraindre ;

# Appuyer sur le bouton {{KEY|[[File:Sketcher ConstrainBlock.png|24px]] '''Contrainte de blocage'''}}.
===[[Sketcher_Workbench#Continue_modes|Continue mode]]===
'''Nota :''' les étapes 1 et 2 peuvent être inversées.

<div class="mw-translate-fuzzy">
# Sélectionner un élément à contraindre.
# 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.
# 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>
==Script==

{{Code|code=Sketch.addConstraint(Sketcher.Constraint('Block', Edge))}}

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



{{Docnav/fr
{{Docnav/fr
|[[Sketcher_ConstrainSymmetric/fr|Contrainte symétrique]]
|[[Sketcher_ConstrainSymmetric/fr|Contrainte symétrique]]
|[[Sketcher_Dimension/fr|Dimension]]
|[[Sketcher ConstrainLock/fr|Contrainte Fixe]]
|[[Sketcher_Workbench/fr|Atelier Sketcher]]
|[[Sketcher_Workbench/fr|Atelier Sketcher]]
|IconL=Constraint_Symmetric.png
|IconL=Constraint_Symmetric.svg
|IconR=Sketcher_Dimension.svg‎
|IconC=Workbench_Sketcher.svg
|IconC=Workbench_Sketcher.svg
|IconR=Sketcher_ConstrainLock.png‎
}}
}}


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

{{Userdocnavi/fr}}

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