Skip to main content
This example loads a .implicit file, samples the body’s field function (ImplicitBody.Value, backed by ntop_core_query_field) over a regular 3D grid sized from the body’s bounding box (ntop_core_query_bounding_box), and reconstructs the surface using a from-scratch implementation of the “Marching Cubes” algorithm. The resulting triangle soup is written out as an STL file.

MainProgram.cs

Mesher.cs

Triangle.cs

WriteSTL.cs