Sketcher ConstrainBlock/fr: Difference between revisions

From FreeCAD Documentation
(Updating to match new version of source page)
(Created page with "==Script==")
Line 31: Line 31:
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 ==
==Script==


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

Revision as of 12:43, 24 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.

Script

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.