Sketcher ConstrainPointOnObject/it: Difference between revisions

From FreeCAD Documentation
(Replaced content with "<br />")
(Updating to match new version of source page)
Line 3: Line 3:
{{GuiCommand/it|Name=Constraint PointOnObject|Name/it=Punto su oggettto|Workbenches=[[Sketcher Workbench/it|Schizzo]], [[PartDesign Workbench/it|PartDesign]]|MenuLocation=PartDesign → Schizzo → Punto su oggetto|Shortcut=Maiusc+O|SeeAlso=[[Constraint PointOnPoint/it|Coincidenza]]}}
{{GuiCommand/it|Name=Constraint PointOnObject|Name/it=Punto su oggettto|Workbenches=[[Sketcher Workbench/it|Schizzo]], [[PartDesign Workbench/it|PartDesign]]|MenuLocation=PartDesign → Schizzo → Punto su oggetto|Shortcut=Maiusc+O|SeeAlso=[[Constraint PointOnPoint/it|Coincidenza]]}}


====Descrizione====
==Description==
Affixes a point onto another object such as a line, arc, or axis.
Questo comando appone
* uno o più punti su un altro oggetto, ad esempio su una linea, un arco o un asse, oppure
* un solo punto su altre selezioni multiple, ad esempio su due o tre linee.
Attenzione, se viene usato su oggetti non vincolati, in genere, modifica la loro forma.


==How to Use==
NOTA: Per vincolare un punto sull'oggetto il punto deve essere spostato in una posizione appropriata.
#Selct the point you want to affixe onto a line/arc/etc. (Once selected the point become green).
#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]].


Note : The order you select the line and point does not matter. The point will always move to line. The line remains fixed.
====Uso====
'''Uno o più punti su una linea/curva'''
# Posizionare i punti in prossimità della linea a cui si vuole vincolarli
# Selezionare i punti e la linea
# Cliccare sul simbolo del vincolo
# Adattare la posizione dei punti con i vincoli di distanza


== Scripting ==
'''Un punto su diverse linee'''
The constraint can be created from macros and from the python console by using the following command:
# Posizionare il punto in prossimità delle linee a cui si vuole vincolarlo, tenendo presente che il punto andrà a collocarsi nella congiunzione delle linee e che, nel caso di linee non vincolate, probabilmente causa il loro spostamento.
{{Code|code= Sketch.addConstraint(Sketcher.Constraint('PointOnObject',LineMoving,PointOfLineMoving,LineFixed))}}
# Selezionare il punto e le linee
# Cliccare sul simbolo del vincolo
# Adattare la posizione del punto con gli altri vincoli


where :
<br />

* 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 [[Constraint_PointOnPoint|this wiki page]].


<br />
<br />

Revision as of 16:53, 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

Description

Affixes a point onto another object such as a line, arc, or axis.

How to Use

  1. Selct the point you want to affixe onto a line/arc/etc. (Once selected the point become green).
  2. Select the line you want to be affixed onto the point you have just selected (Once selected the line become green).
  3. Click the constraint button «point onto object » .

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.