Sketcher ConstrainPointOnObject/it: Difference between revisions
Renatorivo (talk | contribs) (Replaced content with "==Utilizzo==") |
(Updating to match new version of source page) |
||
(6 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<languages/> |
<languages/> |
||
⚫ | |||
{{Docnav/it|[[Sketcher ConstrainCoincident/it|Coincidente]]|[[Sketcher_ConstrainVertical/it|Verticale]]|[[Sketcher_Workbench/it|Sketcher]]|IconL=Constraint_PointOnPoint.svg|IconC=Workbench_Sketcher.svg|IconR=Constraint_Vertical.svg}} |
{{Docnav/it|[[Sketcher ConstrainCoincident/it|Coincidente]]|[[Sketcher_ConstrainVertical/it|Verticale]]|[[Sketcher_Workbench/it|Sketcher]]|IconL=Constraint_PointOnPoint.svg|IconC=Workbench_Sketcher.svg|IconR=Constraint_Vertical.svg}} |
||
⚫ | |||
⚫ | |||
{{GuiCommand/it |
{{GuiCommand/it |
||
|Name=Sketcher ConstrainPointOnObject |
|Name=Sketcher ConstrainPointOnObject |
||
Line 11: | Line 14: | ||
|SeeAlso=[[Sketcher ConstrainCoincident/it|Coincidenza]] |
|SeeAlso=[[Sketcher ConstrainCoincident/it|Coincidenza]] |
||
}} |
}} |
||
⚫ | |||
==Descrizione== |
==Descrizione== |
||
Line 16: | Line 20: | ||
==Utilizzo== |
==Utilizzo== |
||
# Select the point you want to affix onto a line/arc/etc. ('''Result:''' Once selected the point will become green). |
|||
# Select the line you want affixed onto the point you have just selected ('''Result:''' Once selected the line becomes green). |
|||
# Invoke the '''Constrain point onto object''' tool using several methods: |
|||
⚫ | |||
#* Use the {{KEY|Shift}} + {{KEY|O}} keyboard shortcut. |
|||
#* Use the {{MenuCommand|Sketch → Sketcher constraints → Constrain point onto object}} entry in the top menu. |
|||
<div class="mw-translate-fuzzy"> |
<div class="mw-translate-fuzzy"> |
||
#Selezionare il punto che si desidera apporre su una linea o arco, etc. (il punto selezionato diventa verde). |
|||
⚫ | |||
#Selezionare la linea su cui si desidera apporre il punto appena selezionato (la linea selezionata diventa verde). |
|||
# Invocare il vincolo in uno di questi modi: |
|||
⚫ | |||
#* Usare la scorciatoia da tastiera {{KEY|Maiusc}} + {{KEY|O}}. |
|||
#* Usare la voce {{MenuCommand|Sketch → Vincoli → Punto su oggetto}} dal menu principale. |
|||
</div> |
</div> |
||
⚫ | |||
== Script == |
== Script == |
||
Line 33: | Line 37: | ||
{{incode|Sketch.addConstraint(Sketcher.Constraint('PointOnObject',LineMoving,PointOfLineMoving,LineFixed))}} |
{{incode|Sketch.addConstraint(Sketcher.Constraint('PointOnObject',LineMoving,PointOfLineMoving,LineFixed))}} |
||
⚫ | |||
⚫ | |||
* {{incode|LineMoving}} è il numero che indica la linea che contiene il punto che deve essere spostato sul {{incode|LineFixed}} (la linea che rimane fissa). |
|||
⚫ | |||
* |
* {{incode|PointOfLineMoving}} è il numero del vertice della linea {{incode|LineMoving}} che deve essere spostato sulla {{incode|LineFixed}}. |
||
* |
* {{incode|LinedFixed}} è il numero della linea su cui apporre il punto {{incode|PointOfLineMoving}}. |
||
* LinedFixed è il numero della linea su cui apporre il punto PointOfLineMoving |
|||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
<div class="mw-translate-fuzzy"> |
<div class="mw-translate-fuzzy"> |
||
{{Docnav/it|[[Sketcher ConstrainCoincident/it|Coincidente]]|[[Sketcher_ConstrainVertical/it|Verticale]]|[[Sketcher_Workbench/it|Sketcher]]|IconL=Constraint_PointOnPoint. |
{{Docnav/it|[[Sketcher ConstrainCoincident/it|Coincidente]]|[[Sketcher_ConstrainVertical/it|Verticale]]|[[Sketcher_Workbench/it|Sketcher]]|IconL=Constraint_PointOnPoint.svg|IconC=Workbench_Sketcher.svg|IconR=Constraint_Vertical.svg}} |
||
</div> |
</div> |
||
Revision as of 20:01, 29 September 2020
Punto su oggettto |
Posizione nel menu |
---|
PartDesign → Schizzo → Punto su oggetto |
Ambiente |
Schizzo |
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 dello schizzo.
Utilizzo
- Selezionare il punto che si desidera apporre su una linea o arco, etc. (il punto selezionato diventa verde).
- Selezionare la linea su cui si desidera apporre il punto appena selezionato (la linea selezionata diventa verde).
- Invocare il vincolo in uno di questi modi:
Nota: l'ordine di selezione della linea e del punto non è importante. Il punto viene sempre spostato sulla linea. La linea rimane fissa.
Script
Il vincolo può essere creato con una macro e dalla console Python utilizzando il seguente comando:
Sketch.addConstraint(Sketcher.Constraint('PointOnObject',LineMoving,PointOfLineMoving,LineFixed))
Sketch
è un oggetto schizzo.LineMoving
è il numero che indica la linea che contiene il punto che deve essere spostato sulLineFixed
(la linea che rimane fissa).PointOfLineMoving
è il numero del vertice della lineaLineMoving
che deve essere spostato sullaLineFixed
.LinedFixed
è il numero della linea su cui apporre il puntoPointOfLineMoving
.
Per identificare il numero che indica le linee ed i punti si prega di fare riferimento alla parte di scripting del vincolo coincidenza.
Sketcher
- General: Create sketch, Edit sketch, Map sketch to face, Reorient sketch, Validate sketch, Merge sketches, Mirror sketch, Leave sketch, View sketch, View section, Toggle grid, Toggle snap, Configure rendering order, Stop operation
- Sketcher geometries: Point, Line, Arc, Arc by 3 points, Circle, Circle by 3 points, Ellipse, Ellipse by 3 points, Arc of ellipse, Arc of hyperbola, Arc of parabola, B-spline by control points, Periodic B-spline by control points, B-spline by knots, Periodic B-spline by knots, Polyline, Rectangle, Centered rectangle, Rounded rectangle, Triangle, Square, Pentagon, Hexagon, Heptagon, Octagon, Regular polygon, Slot, Fillet, Corner-preserving fillet, Trim, Extend, Split, External geometry, Carbon copy, Toggle construction geometry
- Sketcher constraints:
- Geometric constraints: Coincident, Point on object, Vertical, Horizontal, Parallel, Perpendicular, Tangent, Equal, Symmetric, Block
- Dimensional constraints: Lock, Horizontal distance, Vertical distance, Distance, Radius or weight, Diameter, Auto radius/diameter, Angle, Refraction (Snell's law)
- Constraint tools: Toggle driving/reference constraint, Activate/deactivate constraint
- Sketcher tools: Select unconstrained DoF, Select associated constraints, Select associated geometry, Select redundant constraints, Select conflicting constraints, Show/hide internal geometry, Select origin, Select horizontal axis, Select vertical axis, Symmetry, Clone, Copy, Move, Rectangular array, Remove axes alignment, Delete all geometry, Delete all constraints
- Sketcher B-spline tools: Show/hide B-spline degree, Show/hide B-spline control polygon, Show/hide B-spline curvature comb, Show/hide B-spline knot multiplicity, Show/hide B-spline control point weight, Convert geometry to B-spline, Increase B-spline degree, Decrease B-spline degree, Increase knot multiplicity, Decrease knot multiplicity, Insert knot, Join curves
- Sketcher virtual space: Switch virtual space
- Additional: Sketcher Dialog, Preferences, Sketcher scripting
User documentation
- Getting started
- Installation: Download, Windows, Linux, Mac, Additional components, Docker, AppImage, Ubuntu Snap
- Basics: About FreeCAD, Interface, Mouse navigation, Selection methods, Object name, Preferences, Workbenches, Document structure, Properties, Help FreeCAD, Donate
- Help: Tutorials, Video tutorials
- Workbenches: Std Base, Arch, Assembly, CAM, Draft, FEM, Inspection, Mesh, OpenSCAD, Part, PartDesign, Points, Reverse Engineering, Robot, Sketcher, Spreadsheet, Start, Surface, TechDraw, Test Framework, Web
- Hubs: User hub, Power users hub, Developer hub