Shape/fr: Difference between revisions

From FreeCAD Documentation
(Created page with "Essentiellement, tous les objets affichés dans la vue 3D ont un TopoShape, à l'exception de "Meshes", qui ont un Mesh_Mesh...")
(Created page with "Voir Part TopoShape pour plus d'informations sur ce type d'objet.")
Line 7: Line 7:
Essentiellement, tous les objets affichés dans la [[3D view/fr|vue 3D]] ont un [[Part_TopoShape/fr|TopoShape]], à l'exception de "[[Mesh/fr|Meshes]]", qui ont un [[Mesh_MeshObject/fr|MeshObject]] (classe {{incode|Mesh::MeshObject}}).
Essentiellement, tous les objets affichés dans la [[3D view/fr|vue 3D]] ont un [[Part_TopoShape/fr|TopoShape]], à l'exception de "[[Mesh/fr|Meshes]]", qui ont un [[Mesh_MeshObject/fr|MeshObject]] (classe {{incode|Mesh::MeshObject}}).


See [[Part_TopoShape|Part TopoShape]] for more information about this type of object.
Voir [[Part_TopoShape|Part TopoShape]] pour plus d'informations sur ce type d'objet.


== How to use ==
== How to use ==

Revision as of 10:09, 24 January 2020

Other languages:

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.

How to use

Shapes are normally created by internal functions of the Part Workbench, and are ultimately defined by the OpenCASCADE Technology kernel (OCCT).

Once a Shape is created, it can be used and modified by all workbenches by creating scripted objects around that Shape.

Essentially, every object derived from a Part Feature (Part::Feature class) is expected to hold and manipulate a Shape.

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.