Sketcher ConstrainBlock/it: Difference between revisions

From FreeCAD Documentation
(Updating to match new version of source page)
(Updating to match new version of source page)
Line 32: Line 32:
{{Code|code=Sketch.addConstraint(Sketcher.Constraint('Block', Edge))}}
{{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.
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.





Revision as of 19:49, 23 January 2021

Fissa

Posizione nel menu
Sketch → Vincoli → Fissa
Ambiente
Sketcher
Avvio veloce
Nessuno
Introdotto nella versione
0.17
Vedere anche
Blocca

Descrizione

Il vincolo Fissa blocca un elemento geometrico in posizione con un singolo vincolo.

Il suo scopo principale è quello di lavorare con le B-Splines che altrimenti possono essere difficili da vincolare completamente.

Utilizzo

  1. Selezionare un elemento da vincolare.
  2. Premere il pulsante Fissa.

Oppure premere prima il pulsante, quindi selezionare gli elementi.

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.