Sketcher ConstrainPointOnObject/it: Difference between revisions

From FreeCAD Documentation
No edit summary
No edit summary
Line 6: Line 6:
Appone un punto su un altro oggetto, ad esempio, su una linea, un arco o un asse.
Appone un punto su un altro oggetto, ad esempio, su una linea, un arco o un asse.


==How to Use==
==Uso==
#Selezionare il punto che si desidera apporre su una linea / arco / etc. (il punto selezionato diventa verde).
#Selct the point you want to affixe onto a line/arc/etc. (Once selected the point become green).
#Selezionare la linea su cui si desidera apporre il punto appena selezionato (la linea selezionata diventa verde).
#Select the line you want to be affixed onto the point you have just selected (Once selected the line become green).
#Click the constraint button «point onto object » [[Image:Constraint_PointOnObject.png|24px]].
#Fare clic sul pulsante [[Image:Constraint_PointOnObject.png|24px]] del vincolo «Punto su oggetto».


Note : The order you select the line and point does not matter. The point will always move to line. The line remains fixed.
Note : The order you select the line and point does not matter. The point will always move to line. The line remains fixed.

Revision as of 17:00, 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».

Note : The order you select the line and point does not matter. The point will always move to line. The line remains fixed.

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.