> On 21 Oct 2019, at 20:29, Luis Miranda <[email protected]> wrote: > > Hello, > > I am trying to use Gmsh to import a NASTRAN file and export a correspondent > STL file. > > The (simple prism) import looks great, but when I export to STL I get an > empty file:
STL only support (triangular) surface meshes. Christophe > solid Created by Gmsh > endsolid Created by Gmsh > > Usage: > gmsh test.nas -o test.stl -format stl -save_all > > If I export the file as MSH this is what I get: > $MeshFormat > 4.1 0 8 > $EndMeshFormat > $Entities > 0 0 0 1 > 10 -1 1 0 1 3 1 0 0 > $EndEntities > $Nodes > 1 6 1 6 > 3 10 0 6 > 1 > 2 > 3 > 4 > 5 > 6 > -1 1 0 > 1 1 0 > 0 1 1 > -1 3 0 > 1 3 0 > 0 3 1 > $EndNodes > $Elements > 1 1 1 1 > 3 10 6 1 > 1 1 2 3 4 5 6 > $EndElements > > How can I export the prism into the STL file? > > Thank you, > Luis > _______________________________________________ > gmsh mailing list > [email protected] > http://onelab.info/mailman/listinfo/gmsh — Prof. Christophe Geuzaine University of Liege, Electrical Engineering and Computer Science http://www.montefiore.ulg.ac.be/~geuzaine _______________________________________________ gmsh mailing list [email protected] http://onelab.info/mailman/listinfo/gmsh
