Sketcher: Vincolo Punto su oggetto
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
- Selezionare il punto che si desidera apporre su una linea / arco / etc. (il punto selezionato diventa verde).
- Selezionare la linea su cui si desidera apporre il punto appena selezionato (la linea selezionata diventa verde).
- 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.