Sketcher ConstrainBlock/fr: Difference between revisions

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


Ou appuyez d'abord sur le bouton, puis sélectionnez les éléments.
Ou appuyez d'abord sur le bouton, puis sélectionnez les éléments.

== Scripting ==

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

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



{{Docnav/fr
{{Docnav/fr

Revision as of 19:19, 23 January 2021

Sketcher Contrainte de blocage

Emplacement du menu
Sketch → Contraintes d'esquisse → Contrainte de blocage
Ateliers
Sketcher
Raccourci par défaut
Aucun
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.

Son usage principal est prévu pour les courbes B-Splines qui peuvent être difficile à contraindre entièrement.

Utilisation

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

Ou appuyez d'abord sur le bouton, puis sélectionnez les éléments.

Scripting

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

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