Part Point/it: Difference between revisions

From FreeCAD Documentation
(Created page with "Crea un punto parametrico. Utilizzare il menu {{KEY/it|16px Crea primitive... → Punto}}. Si apre una finestra di dialogo che consente di...")
(Updating to match new version of source page)
(26 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<languages/>
{{GuiCommand/it|Name=Part_Point|Name/it=Punto|MenuLocation=Parte → [[Part_CreatePrimitives/it|Crea primitive]] → Punto|Workbenches=[[Part Module/it|Parte]], [[OpenSCAD_Module/it|OpenSCAD]]|SeeAlso=..}}


{{Docnav
|[[Part_Ellipse|Ellipse]]
|[[Part_Line|Line]]
|[[Part_Workbench|Part]]
|IconL=Part_Ellipse.svg
|IconR=Part_Line.svg
|IconC=Workbench_Part.svg
}}


<div class="mw-translate-fuzzy">
Crea un punto parametrico.
{{GuiCommand/it|Name=Part_Point|Name/it=Punto|MenuLocation=Parte → [[Part_CreatePrimitives/it|Crea primitive]] → Punto|Workbenches=[[Part_Workbench/it|Parte]]|SeeAlso=[[Part CreatePrimitives/it|Crea primitive]]}}
</div>


== Description ==
Utilizzare il menu {{KEY/it|[[Image:Part_CreatePrimitives.png|16px]] Crea primitive... → Punto}}. Si apre una finestra di dialogo che consente di impostare:


<div class="mw-translate-fuzzy">
*
== Descrizione ==
*
Una primitiva geometrica Punto (vertice).
|}
</div>
===Property===
{|
| [[File:PartVertexProperty_it.png|left]]
|
==== View ====
..
==== Data ====
{{KEY|Base}}<br />
* {{ProprietaDati|Label}}:
* {{ProprietaDati|Placement}}: [[Placement|placement]]
* {{ProprietaDati|X}} :
* {{ProprietaDati|Y}} :
* {{ProprietaDati|Z}} :
|}
{{clear}}


==Utilizzo==
{{clear}}

<languages/>
See [[Part_Primitives#Usage|Part Primitives]].

== Properties ==

See also: [[Property_editor|Property editor]].

A Part Point object is derived from a [[Part_Feature|Part Feature]] object and inherits all its properties. It also has the following additional properties:

=== Data ===

{{TitleProperty|Attachment}}

The object has the same attachment properties as a [[Part_Part2DObject#Data|Part Part2DObject]].

{{TitleProperty|Base}}

* {{PropertyData|X|Distance}}: The X coordinate of the point. The default is {{Value|0mm}}.
* {{PropertyData|Y|Distance}}: The Y coordinate of the point. The default is {{Value|0mm}}.
* {{PropertyData|Z|Distance}}: The Z coordinate of the point. The default is {{Value|0mm}}.

== Scripting ==

See also: [https://freecad.github.io/SourceDoc/ Autogenerated API documentation], [[Part_scripting|Part scripting]] and [[FreeCAD_Scripting_Basics|FreeCAD Scripting Basics]].

A Part Point can be created with the {{Incode|addObject()}} method of the document:

{{Code|code=
point = FreeCAD.ActiveDocument.addObject("Part::Vertex", "myPoint")
}}

* Where {{Incode|"myPoint"}} is the name for the object.
* The function returns the newly created object.

Example:

{{Code|code=
import FreeCAD as App

doc = App.activeDocument()

point = doc.addObject("Part::Vertex", "myPoint")
point.X = 1
point.Y = 2
point.Z = 3

doc.recompute()
}}


{{Docnav
|[[Part_Ellipse|Ellipse]]
|[[Part_Line|Line]]
|[[Part_Workbench|Part]]
|IconL=Part_Ellipse.svg
|IconR=Part_Line.svg
|IconC=Workbench_Part.svg
}}

{{Part_Tools_navi{{#translation:}}}}
{{Userdocnavi{{#translation:}}}}

Revision as of 10:27, 3 March 2022

Punto

Posizione nel menu
Parte → Crea primitive → Punto
Ambiente
Parte
Avvio veloce
Nessuno
Introdotto nella versione
-
Vedere anche
Crea primitive

Description

Descrizione

Una primitiva geometrica Punto (vertice).

Utilizzo

See Part Primitives.

Properties

See also: Property editor.

A Part Point object is derived from a Part Feature object and inherits all its properties. It also has the following additional properties:

Data

Attachment

The object has the same attachment properties as a Part Part2DObject.

Base

  • DatiX (Distance): The X coordinate of the point. The default is 0mm.
  • DatiY (Distance): The Y coordinate of the point. The default is 0mm.
  • DatiZ (Distance): The Z coordinate of the point. The default is 0mm.

Scripting

See also: Autogenerated API documentation, Part scripting and FreeCAD Scripting Basics.

A Part Point can be created with the addObject() method of the document:

point = FreeCAD.ActiveDocument.addObject("Part::Vertex", "myPoint")
  • Where "myPoint" is the name for the object.
  • The function returns the newly created object.

Example:

import FreeCAD as App

doc = App.activeDocument()

point = doc.addObject("Part::Vertex", "myPoint")
point.X = 1
point.Y = 2
point.Z = 3

doc.recompute()