Export binary STL with solid name
Export binary STL with solid namePosted by Tobias Holzmann at March 10. 2017
I am wondering if it is possible to export the STL`s in SALOME with specified solidnames. Till now I am always using ASCII files and use a simple bash script to modify the solid names in order to create a region STL file. The script is only working for ASCII files and therefore I want to ask you, if it is possible to export the name of the solid within SALOME directly. Example given: ASCII export:
After my script, the file gets:
PS: I will check if sed can also manipulate binary files.
Re: Export binary STL with solid namePosted by Fynn at March 12. 2017
I was trying that too and couldn't find a solution to it.
However, if your're using the same boundary names, the attached script merges the surface files and names then.
This is not your preferred solution but I has the advantage of better book keeping of several geometries. In my case a von Karman test geometry.