Sketcher ConstrainBlock/fr: Difference between revisions

From FreeCAD Documentation
No edit summary
(Updating to match new version of source page)
(2 intermediate revisions by the same user not shown)
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 [[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.



{{Docnav/fr
{{Docnav/fr

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.