[Gmsh] Empty STL sxport
Christophe Geuzaine
cgeuzaine at uliege.be
Wed Oct 23 19:13:05 CEST 2019
> On 21 Oct 2019, at 20:29, Luis Miranda <luis.miranda at convergecfd.com> 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
> gmsh at onelab.info
> http://onelab.info/mailman/listinfo/gmsh
—
Prof. Christophe Geuzaine
University of Liege, Electrical Engineering and Computer Science
http://www.montefiore.ulg.ac.be/~geuzaine
More information about the gmsh
mailing list