Skip to main content
This example loads a .implicit file (a heat sink) and meshes it directly using the library’s native ntop_core_generate_mesh_by_DC dual contouring function, collecting vertices and triangle indices through callbacks (including a progress/cancellation callback with a configurable timeout). Unlike the Mesh example, no external meshing library is used — dual contouring is performed entirely inside nTop Core. The resulting mesh is written to an STL file and also rendered to a PNG with Matplotlib.