Part: Crea primitive
Crea primitive |
Posizione nel menu |
---|
Parte → Crea primitive... |
Ambiente |
Parte, OpenSCAD |
Avvio veloce |
Nessuno |
Introdotto nella versione |
- |
Vedere anche |
Crea forma |
Descrizione
Primitive di Part apre una finestra di dialogo per creare una qualsiasi delle primitive geometriche parametriche definite nell'ambiente Parte.
Forme primitive che possono essere create con Part.
Attualmente lo strumento crea:
- Piano
- Cubo (prisma a base rettangolare)
- Cilindro
- Cono
- Sfera
- Ellissoide
- Toro
- Prisma disponibile dalla versione 0.14
- Cuneo
- Elica
- Spirale disponibile dalla versione 0.14
- Cerchio
- Ellisse
- Linea (Bordo)
- Punto (Vertice)
- Poligono regolare disponibile dalla versione 0.14
Some of the available (parametric) geometric primitives that are possible:
- Plane: inserts a simple parametric plane 10 x 10 mm, with the parameters of position, length, and width.
- Box/Cube: inserts a parametric, rectangular cuboid, geometric primitive into the active document.
- Cylinder: Inserts a simple parametric cylinder, with position, angle, radius and height parameters in to he active document.
- Cone: Inserts a parametric truncated Cone in to the active document.
- Sphere: Inserts a parametric sphere, with position, angle1, angle2, angle3 and radius parameters.
- Ellipsoid: Inserts a parametric Ellipsoid solid in to the active document.
- Torus: Inserts a simple parametric torus, with position, angle1, angle2, angle3, radius1 and radius2 as parameters in to the active document.
- Prism: Inserts a solid defined by a regular polygon cross section and a height in to the active document. introduced in version 0.14
- Wedge: Inserts a parametric Wedge object in to the active document.
- Helix: Inserts a Helix geometric primitive in to the active document. Common usage for Helix is creating threads.
- Spiral: Inserts a Spiral geometric primitive in to the active workbench. introduced in version 0.14
- Circle: Inserts a circular curved edge in to the active document.
- Ellipse: Inserts an elliptical curved edge in to the active document.
- Point (Vertex): Inserts a Point (vertex) geometric primitive in to the active document.
- Line (Edge): creates a simple line segment delimited by two vertices.
- Regular Polygon: Inserts a RegularPolygon geometric primitive in to the active document. introduced in version 0.14
Eredità
Tutte le primitive di Part sono oggetti che derivano dalla classe Part::Primitive
. Questa classe a sua volta deriva dall'oggetto base Part Feature (classe Part::Feature
).
Diagramma semplificato delle relazioni tra gli oggetti principali del programma. La classe Part::Primitive
è derivata dall'oggetto Part::Feature
. Include un'estensione che consente di associarlo a facce e piani.
Script
Vedere anche: Script di Part
Prova la creazione delle primitive con uno script.disponibile dalla versione 0.19
Questo può essere eseguito dalla console Python.
import parttests.part_test_objects as pto
pto.create_test_file("example_file")
Questo script si trova nella directory di istallazione del programma, e può essere esaminato per vedere come sono create le forme primitive.
$INSTALL_DIR/Mod/Part/parttests/part_test_objects.py
Può essere utilizzato anche come input per il programma.
freecad $INSTALL_DIR/Mod/Part/parttests/part_test_objects.py
- 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