Hi, I am trying to use Nglib to do some surface mesh regeneration. At the end of the day, I want to save the surface mesh it created into an STL format. I tried using Ng_SaveMesh but it creates a text format that is not STL (looks like its .vol). Can I do this using any call in Nglib? Basically, its the functionality in GUI where one first sets the "Export format" to STL and then uses Export Mesh. Thanks!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi, I am trying to use Nglib to do some surface mesh regeneration. At the end of the day, I want to save the surface mesh it created into an STL format. I tried using Ng_SaveMesh but it creates a text format that is not STL (looks like its .vol). Can I do this using any call in Nglib? Basically, its the functionality in GUI where one first sets the "Export format" to STL and then uses Export Mesh. Thanks!
Hi,
you could use a python script
This should have the same behavior as the Export Mesh in the GUI.
There is also a "STL Extended Format".
For further questions please use the forum on the NGSolve homepage.
Regards
Christoph