Part Torus/it: Difference between revisions
No edit summary |
No edit summary |
||
Line 29: | Line 29: | ||
== Utilizzo == |
== Utilizzo == |
||
# Esistono diversi modi per richiamare il comando: |
|||
<div class="mw-translate-fuzzy"> |
|||
# |
#* Premere il pulsante {{Button|[[Image:Part_Torus.svg|16px]] [[Part_Torus|Toro]]}}. |
||
#* Selezionare l'opzione {{MenuCommand|Parte → Primitive → [[Image:Part_Torus.svg|16px]] Toro}} dal menu. |
|||
# Richiamare il comando Toro in uno di questi modi: |
|||
# Viene creato il toro. |
|||
⚫ | |||
# Facoltativamente, modificare le dimensioni e il {{PropertyData|Placement}} del toro effettuando una delle seguenti operazioni: |
|||
#* Usare {{MenuCommand|Part → Toro}} dal menu principale. |
|||
#* Fare doppio clic sull'oggetto nella [[Tree_view/it|Vista ad albero]]: |
|||
</div> |
|||
#*# Si apre il pannello delle attività {{MenuCommand|Primitive geometriche}}. |
|||
#*# Modificare una o più proprietà. |
|||
#*# L'oggetto viene aggiornato dinamicamente nella [[3D_view/it|vista 3D]]. |
|||
⚫ | |||
#* Modificare le proprietà nell'[[Property_editor|Editor delle proprietà]]. |
|||
#* Modificare il {{PropertyData|Placement}} con il comando [[Image:Std_TransformManip.svg|16px]] [[Std_TransformManip/it|Trasforma]]. |
|||
= |
<span id="Example"></span> |
||
== Esempio == |
|||
[[Image:Part_Torus_Scripting_Example.png|thumb|Part Torus from the scripting example]] |
[[Image:Part_Torus_Scripting_Example.png|thumb|Part Torus from the scripting example]] |
Revision as of 22:59, 25 December 2023
Part Torus |
Posizione nel menu |
---|
Parte → Primitive → Toro |
Ambiente |
Part |
Avvio veloce |
Nessuno |
Introdotto nella versione |
- |
Vedere anche |
Part Primitive |
Descrizione
Il comando Part Toro crea un solido toroide parametrico, a forma di ciambella. È il risultato dello spostamento di un profilo circolare attorno a un percorso circolare. Nel sistema di coordinate definito dalla sua proprietà DatiPlacement, il percorso circolare del toro giace sul piano XY con il centro nell'origine.
Una Part Toro può essere trasformata in un segmento di un toro modificando la sua proprietà DatiAngle3. Modificando le sue proprietà DatiAngle1 e/o DatiAngle2 il profilo di creazione può diventare un segmento di un cerchio.
Utilizzo
- Esistono diversi modi per richiamare il comando:
- Premere il pulsante Toro.
- Selezionare l'opzione Parte → Primitive → Toro dal menu.
- Viene creato il toro.
- Facoltativamente, modificare le dimensioni e il DatiPlacement del toro effettuando una delle seguenti operazioni:
- Fare doppio clic sull'oggetto nella Vista ad albero:
- Si apre il pannello delle attività Primitive geometriche.
- Modificare una o più proprietà.
- L'oggetto viene aggiornato dinamicamente nella vista 3D.
- Premere il pulsante OK.
- Modificare le proprietà nell'Editor delle proprietà.
- Modificare il DatiPlacement con il comando Trasforma.
- Fare doppio clic sull'oggetto nella Vista ad albero:
Esempio
A Part Torus object created with the scripting example below is shown here.
Notes
- A Part Torus can also be created with the Part Primitives command. With that command you can specify the dimensions and placement at creation time.
See also: Property editor.
A Part Torus 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.
Torus
- Raggio1: Raggio del cerchio attorno al quale circola il disco. Distanza tra l'asse di rotazione, centro del toro, e il centro del disco.
- Raggio2: Raggio del disco che definisce la forma del toro
- Angolo1: 1° Angolo di taglio per definire il disco del toro
- Angolo2: 2° Angolo di taglio per definire il disco del toro
- Angolo3: 3° Angolo per definire la circonferenza del toro. Ampiezza della rotazione
Scripting
See also: Autogenerated API documentation, Part scripting and FreeCAD Scripting Basics.
A Part Torus can be created with the addObject()
method of the document:
torus = FreeCAD.ActiveDocument.addObject("Part::Torus", "myTorus")
- Where
"myTorus"
is the name for the object. - The function returns the newly created object.
Example:
import FreeCAD as App
doc = App.activeDocument()
torus = doc.addObject("Part::Torus", "myTorus")
torus.Radius1 = 20
torus.Radius2 = 10
torus.Angle1 = -90
torus.Angle2 = 45
torus.Angle3 = 270
torus.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