Skip to main content
The Surfer class enables you to perform surface meshing using different surface meshing algorithms on TopoFaces or face zonelets. Surface meshing considers many parameters, such as size field type, minimum size, maximum size, growth rate, and transition type, while meshing TopoFaces or face zonelets.

Surface meshing geometry/topology

The following example shows how to perform these steps:
  • Import topology-based geometry (SCDOC) files and visualize the model.
  • Surface mesh the TopoFaces with constant size.
Start the PyPrimeMesh client and import the CAD geometry (SCDOC) file:
Simple Bracket Holes scdoc CAD geometry imported Initialize surfer parameters and generate surface mesh on TopoFaces:
Simple Brackey holes Mesh 3 Surface mesh displayed

Remesh surfaces

This example shows you to perform these steps:
  • Import a faceted geometry (STL) file and visualize the model.
  • Create curvature size control and compute a volumetric size field. (For more information, see Sizing)
  • Remesh the STL surface mesh.
Start the PyPrimeMesh client and import the faceted geometry (STL) file:
Now that the CAD file is imported, display the model using graphics module:
Simple bracket holes stl Faceted geometry imported Print the results of part summary:
Set the global sizing parameters to initialize size control parameters (with curvature refinement):
Compute the volumetric size field based on the size controls:
Initialize surfer parameters and generate a surface mesh on face zonelets:
simple bracket holes mesh1 Surface mesh displayed