Mesh MeshObject

From FreeCAD Documentation
Revision as of 03:23, 11 January 2020 by Vocx (talk | contribs) (A Mesh MeshObject, or formally a Mesh::MeshObject, is a class that defines a '''mesh''' in the software. This is similar to the Part TopoShape but for meshes,)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Other languages:

Introduction

A Mesh MeshObject, or formally a Mesh::MeshObject, is a class that defines a mesh in the software. This is similar to the Part TopoShape but for meshes, that is, elements created with the Mesh Workbench, or imported from STL, OBJ, and similar mesh file formats.

Simplified diagram of the relationships between the core objects in the program. The Mesh::MeshObject class is embedded in the Mesh::Feature object and from there it is propagated to all objects that are derived from it.

How to use

The Mesh MeshObject is an object that is assigned to some App DocumentObjects.

In particular, the basic object that handles these types of attributes is the Mesh Feature (Mesh::Feature class). All objects derived from this class will have access to a Mesh MeshObject.

The most notable objects that will have a Mesh MeshObject are the following:

  • Any primitive mesh created with the Mesh Workbench.
  • Any object created by importing an STL, OBJ, and similar mesh format files.