The Mesh::Feature class handles meshes. The Mesh.MeshFeature() function is for internal use only and cannot be used to create instances of this class. Therefore you must have a reference to a document, e.g. 'd' then you can create an instance with d.addObject("Mesh::Feature"). Return the number of vertices of the mesh object Return the number of facets of the mesh object Adjust wrong oriented facets Smooth the mesh data Decimate the mesh decimate(tolerance(Float), reduction(Float)) tolerance: maximum error reduction: reduction factor must be in the range [0.0,1.0] Example: mesh.decimate(0.5, 0.1) # reduction by up to 10 percent mesh.decimate(0.5, 0.9) # reduction by up to 90 percent or decimate(targwt size(int)) mesh.decimate(mesh.CountFacets/2) Remove non-manifolds Remove non-manifold points Repair any invalid indices Remove degenerated facets Remove duplicated facets Remove duplicated points Repair self-intersections Remove folds on surfaces Remove points with invalid coordinates (NaN)