Sketcher ConstrainBlock/fr: Difference between revisions

From FreeCAD Documentation
(Updating to match new version of source page)
(Updating to match new version of source page)
Line 35: Line 35:
{{Code|code=Sketch.addConstraint(Sketcher.Constraint('Block', Edge))}}
{{Code|code=Sketch.addConstraint(Sketcher.Constraint('Block', Edge))}}


The [[Scripting_Sketcher_constraints_in_Python|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.
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.





Revision as of 23:31, 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 Sketcher scripting page explains the values which can be used for Edge and contains further examples on how to create constraints from Python scripts.