Shape
Introduction
Dans FreeCAD, le mot "Shape" est normalement utilisé pour faire référence à une classe Part TopoShape (Part::TopoShape
), un type d'objet qui donne un élément sa représentation géométrique et paramétrique 3D (cube, pyramide, sphère, cylindre, fusion, etc.).
Essentiellement, tous les objets affichés dans la vue 3D ont un TopoShape, à l'exception de "Meshes", qui ont un MeshObject (classe Mesh::MeshObject
).
Voir Part TopoShape pour plus d'informations sur ce type d'objet.
Comment l'utiliser
Les formes sont normalement créées par des fonctions internes de Part Workbench, et sont finalement définies par le noyau de technologie OpenCASCADE (OCCT).
Une fois qu'une forme est créée, elle peut être utilisée et modifiée par tous les ateliers en créant objets scriptés autour de cette forme.
Essentiellement, chaque objet dérivé d'une Part Feature (classe Part::Feature
) devrait contenir et manipuler une forme.
Notes
In informal usage, a "Shape" may be any geometrical figure that is visible in the 3D view, and thus its concept may be confused with that of "Body" or "Part".
However, when more precision is required, the distinction must be made.
- A "Body" is an object derived from a Part Feature (
Part::Feature
class), created with the PartDesign Workbench. - A "Shape" is an internal object, embedded within the "Body".
- A "Part" is used to group several "Bodies" to form an assembly. A "Part" has a collection of "Shapes", but doesn't have a "Shape" of its own.
- 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
- Core: App DocumentObject
- Basic: App FeaturePython, App GeoFeature, Part Feature, Mesh Feature, Fem FemMeshObject
- Internal shapes: Part TopoShape, Mesh MeshObject, Fem FemMesh
- Structure: App DocumentObjectGroup (Std Group), App Part (Std Part), App Link (Std LinkMake)
- Derived: Part Part2DObject, Sketcher SketchObject, PartDesign Body, PartDesign Feature
- 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