Part Circle/it: Difference between revisions
No edit summary |
(Updating to match new version of source page) |
||
Line 16: | Line 16: | ||
==Descrizione== |
==Descrizione== |
||
⚫ | |||
Questo comando crea un bordo curvo circolare. Con i valori di default, il bordo curvo circolare è chiuso e quindi è un cerchio. Se vengono modificate i valori predefiniti (0 e 360) delle proprietà Angolo 0 o Angolo 1, il bordo è una curva aperta, un arco. |
Questo comando crea un bordo curvo circolare. Con i valori di default, il bordo curvo circolare è chiuso e quindi è un cerchio. Se vengono modificate i valori predefiniti (0 e 360) delle proprietà Angolo 0 o Angolo 1, il bordo è una curva aperta, un arco. |
||
⚫ | |||
A Part Circle is in fact a closed counterclockwise circular arc, it can be turned into an arc by changing its {{PropertyData|Angle1}} and/or {{PropertyData|Angle2}} properties. |
|||
In alternativa, un cerchio Part può essere inizialmente definito da tre punti. Una volta creato esso contiene solo le proprietà standard dei cerchi Part e non è più riferito ai punti di creazione. |
|||
[[Image:Part_Circle_Example.png|400px]] |
|||
⚫ | |||
⚫ | |||
⚫ | |||
La primitiva geometrica Cerchio è disponibile dalla finestra di dialogo Crea primitive di Parte. |
|||
See [[Part_Primitives#Usage|Part Primitives]]. |
|||
# Attivare l'ambiente [[Image:Workbench_Part.svg|24px]] [[Part Workbench/it|Part]] |
|||
# Ci sono diversi modi per accedere alla finestra di dialogo Crea primitive: |
|||
A Part Circle can alternatively be created by selecting three points: |
|||
#* Premere il pulsante [[Image:Part_CreatePrimitives.svg|24px]] [[Part_CreatePrimitives/it|Crea primitive]] nella barra degli strumenti di Part |
|||
# In the task panel of the [[Image:Part_Primitives.svg|16px]] [[Part_Primitives|Part Primitives]] command select the {{MenuCommand|[[Image:Part_Circle.svg|16px]] Circle}} option from the dropdown list. |
|||
#* Usare {{MenuCommand|Part → [[Part_CreatePrimitives/it|Crea primitive]] → Cerchio}} |
|||
# Press the {{Button|From three points}} button. |
|||
⚫ | |||
# Select three vertices in the [[3D_view|3D view]]. There is no need to hold down the {{KEY|Ctrl}} key. |
|||
# A circle is created. |
|||
# The selected vertices are only used at creation time to calculate the {{PropertyData|Radius}} and {{PropertyData|Placement}} of the circle. |
|||
== Example == |
|||
[[Image:Part_Circle_Scripting_Example.png|thumb|Part Circle from the scripting example]] |
|||
A Part Circle object created with the [[#Scripting|scripting example]] below is shown here. |
|||
==Proprietà== |
==Proprietà== |
||
See also: [[Property_editor|Property editor]]. |
|||
A Part Circle 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}} |
|||
<div class="mw-translate-fuzzy"> |
|||
* {{Parameter|Raggio}}: il raggio del bordo curvo (arco o cerchio) |
* {{Parameter|Raggio}}: il raggio del bordo curvo (arco o cerchio) |
||
* {{Parameter|Angolo 1}}: inizio del bordo curvo, (gradi in senso antiorario), il valore di default è 0 |
* {{Parameter|Angolo 1}}: inizio del bordo curvo, (gradi in senso antiorario), il valore di default è 0 |
||
* {{Parameter|Angolo 2}}: fine del bordo curvo (gradi in senso antiorario), il valore di default è 360 |
* {{Parameter|Angolo 2}}: fine del bordo curvo (gradi in senso antiorario), il valore di default è 360 |
||
</div> |
|||
== Scripting == |
|||
See also: [https://freecad.github.io/SourceDoc/ Autogenerated API documentation], [[Part_scripting|Part scripting]] and [[FreeCAD_Scripting_Basics|FreeCAD Scripting Basics]]. |
|||
A Part Circle can be created with the {{Incode|addObject()}} method of the document: |
|||
{{Code|code= |
|||
circle = FreeCAD.ActiveDocument.addObject("Part::Circle", "myCircle") |
|||
}} |
|||
* Where {{Incode|"myCircle"}} is the name for the object. |
|||
* The function returns the newly created object. |
|||
Example: |
|||
{{Code|code= |
|||
import FreeCAD as App |
|||
doc = App.activeDocument() |
|||
circle = doc.addObject("Part::Circle", "myCircle") |
|||
circle.Radius = 10 |
|||
circle.Angle1 = 45 |
|||
circle.Angle2 = 225 |
|||
circle.Placement = App.Placement(App.Vector(1, 2, 3), App.Rotation(30, 45, 10)) |
|||
doc.recompute() |
|||
}} |
|||
Line 46: | Line 100: | ||
}} |
}} |
||
{{ |
{{Part_Tools_navi{{#translation:}}}} |
||
{{Userdocnavi{{#translation:}}}} |
{{Userdocnavi{{#translation:}}}} |
Revision as of 10:24, 3 March 2022
Cerchio |
Posizione nel menu |
---|
Parte → Crea primitive → Cerchio |
Ambiente |
Parte |
Avvio veloce |
Nessuno |
Introdotto nella versione |
- |
Vedere anche |
Nessuno |
Descrizione
Questo comando crea un bordo curvo circolare. Con i valori di default, il bordo curvo circolare è chiuso e quindi è un cerchio. Se vengono modificate i valori predefiniti (0 e 360) delle proprietà Angolo 0 o Angolo 1, il bordo è una curva aperta, un arco.
A Part Circle is in fact a closed counterclockwise circular arc, it can be turned into an arc by changing its DatiAngle1 and/or DatiAngle2 properties.
Utilizzo
See Part Primitives.
A Part Circle can alternatively be created by selecting three points:
- In the task panel of the Part Primitives command select the Circle option from the dropdown list.
- Press the From three points button.
- Select three vertices in the 3D view. There is no need to hold down the Ctrl key.
- A circle is created.
- The selected vertices are only used at creation time to calculate the DatiRadius and DatiPlacement of the circle.
Example
A Part Circle object created with the scripting example below is shown here.
Proprietà
See also: Property editor.
A Part Circle 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
- Raggio: il raggio del bordo curvo (arco o cerchio)
- Angolo 1: inizio del bordo curvo, (gradi in senso antiorario), il valore di default è 0
- Angolo 2: fine del bordo curvo (gradi in senso antiorario), il valore di default è 360
Scripting
See also: Autogenerated API documentation, Part scripting and FreeCAD Scripting Basics.
A Part Circle can be created with the addObject()
method of the document:
circle = FreeCAD.ActiveDocument.addObject("Part::Circle", "myCircle")
- Where
"myCircle"
is the name for the object. - The function returns the newly created object.
Example:
import FreeCAD as App
doc = App.activeDocument()
circle = doc.addObject("Part::Circle", "myCircle")
circle.Radius = 10
circle.Angle1 = 45
circle.Angle2 = 225
circle.Placement = App.Placement(App.Vector(1, 2, 3), App.Rotation(30, 45, 10))
doc.recompute()
- Primitives: Box, Cylinder, Sphere, Cone, Torus, Tube, Create primitives, Shape builder
- Creation and modification: Extrude, Revolve, Mirror, Fillet, Chamfer, Make face from wires, Ruled Surface, Loft, Sweep, Section, Cross sections, 3D Offset, 2D Offset, Thickness, Projection on surface, Attachment
- Boolean: Make compound, Explode Compound, Compound Filter, Boolean, Cut, Fuse, Common, Connect, Embed, Cutout, Boolean fragments, Slice apart, Slice, XOR
- Measure: Measure Linear, Measure Angular, Measure Refresh, Clear All, Toggle All, Toggle 3D, Toggle Delta
- 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, Surface, TechDraw, Test Framework
- Hubs: User hub, Power users hub, Developer hub