Sketcher ConstrainPointOnObject/it: Difference between revisions

From FreeCAD Documentation
No edit summary
(Created page with "Nota: l'ordine di selezione della linea e del punto non è importante. Il punto viene sempre spostato sulla linea. La linea rimane fissa.")
Line 11: Line 11:
#Fare clic sul pulsante [[Image:Constraint_PointOnObject.png|24px]] del vincolo «Punto su oggetto».
#Fare clic sul pulsante [[Image:Constraint_PointOnObject.png|24px]] del vincolo «Punto su oggetto».


Nota: l'ordine di selezione della linea e del punto non è importante. Il punto viene sempre spostato sulla linea. La linea rimane fissa.
Note : The order you select the line and point does not matter. The point will always move to line. The line remains fixed.


== Scripting ==
== Scripting ==

Revision as of 17:02, 10 January 2017


Punto su oggettto

Posizione nel menu
PartDesign → Schizzo → Punto su oggetto
Ambiente
Schizzo, PartDesign
Avvio veloce
Maiusc+O
Introdotto nella versione
-
Vedere anche
Coincidenza

Descrizione

Appone un punto su un altro oggetto, ad esempio, su una linea, un arco o un asse.

Uso

  1. Selezionare il punto che si desidera apporre su una linea / arco / etc. (il punto selezionato diventa verde).
  2. Selezionare la linea su cui si desidera apporre il punto appena selezionato (la linea selezionata diventa verde).
  3. Fare clic sul pulsante del vincolo «Punto su oggetto».

Nota: l'ordine di selezione della linea e del punto non è importante. Il punto viene sempre spostato sulla linea. La linea rimane fissa.

Scripting

The constraint can be created from macros and from the python console by using the following command:

Sketch.addConstraint(Sketcher.Constraint('PointOnObject',LineMoving,PointOfLineMoving,LineFixed))

where :

  • Sketch is a sketch object
  • LineMoving is the number that designates the line, which contains the point that has to be moved onto the LineFixed (The line which is fixed)
  • PointOfLineMoving is the number of the vertex of line LineMoving, that has to be moved onto the LineFixed
  • LinedFixed is the number of the line to be affixed onto the point PointOfLineMoving

How to indentify the number that designates lines and points ? Please refer to the scripting part of this wiki page.