A little C++ programm that reads and writes ASCII or Binary STL ("STereoLithography" or "Standard Triangle Language").
triangle.hppprovides a basic Triangle classSTL_tool.hppprovides the read and write routines for .stl files
If you want to create a .stl file you need to fill a std::vector<Triangle> with the surface traingulation and pass it to a Write* routine of the STL_tool class.
Reading a .stl file returns a std::vector<Triangle> which can then be further processsed.
surface_creation.hppis a sample collection to createstd::vector<Triangle>which can then be written to .stl on viewed in e.g. Paraview.
meson builddir
cd builddir
ninja