Part: Ellisse
Part Ellisse |
Posizione nel menu |
---|
Parte → Crea primitive → Ellisse |
Ambiente |
Part, OpenSCAD |
Avvio veloce |
Nessuno |
Introdotto nella versione |
- |
Vedere anche |
Part Primitive |
Descrizione
Una Part Ellisse è una forma parametrica che può essere creata con il comando Part Primitive. Nel sistema di coordinate definito dalla sua proprietà DatiPlacement, l'ellisse si trova sul piano XY con il centro nell'origine. Il suo asse maggiore è parallelo all'asse X.
Una Part Ellisse è infatti un arco ellittico chiuso in senso antiorario, può essere trasformato in un arco modificando le sue proprietà DatiAngle1 e/o DatiAngle2.
Utilizzo
Vedere Part Primitive.
Esempio
Qui viene mostrato un oggetto Part Ellisse creato con l'esempio di scripting riportato di seguito.
Proprietà
Vedere anche: Editor delle proprietà.
Un oggetto Part Ellisse deriva da un oggetto Funzione Part e ne eredita tutte le proprietà. Ha inoltre le seguenti proprietà aggiuntive:
Dati
Attachment
L'oggetto ha le stesse proprietà di collegamento di un Part Part2DObject.
Base
- DatiMajorRadius (
Length
): il raggio maggiore dell'ellisse o dell'arco ellittico. Il valore predefinito è4mm
. - DatiMinorRadius (
Length
): il raggio minore dell'ellisse o dell'arco ellittico. Il valore predefinito è2mm
. - DatiAngle1 (
Angle
): l'angolo iniziale dell'arco ellittico. Intervallo valido:0° < valore <= 360°
. Il valore predefinito è0°
. - DatiAngle2 (
Angle
): l'angolo finale dell'arco ellittico. Intervallo valido:0° < valore <= 360°
. Il valore predefinito è360°
. Se DatiAngle1 e DatiAngle2 sono uguali, o se un angolo è0°
e l'altro360°
, viene creata un'ellisse completa.
Script
Vedere anche: Autogenerated API documentation, Script di Part e Script di base per FreeCAD.
È possibile creare un Part Ellisse con il metodo addObject()
del documento:
ellipse = FreeCAD.ActiveDocument.addObject("Part::Ellipse", "myEllipse")
- Where
"myEllipse"
is the name for the object. - The function returns the newly created object.
Example:
import FreeCAD as App
doc = App.activeDocument()
ellipse = doc.addObject("Part::Ellipse", "myEllipse")
ellipse.MajorRadius = 20
ellipse.MinorRadius = 10
ellipse.Angle1 = 45
ellipse.Angle2 = 135
ellipse.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