[Gmsh] Empty STL sxport

Luis Miranda luis.miranda at convergecfd.com
Mon Oct 21 20:29:53 CEST 2019


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:

> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://onelab.info/pipermail/gmsh/attachments/20191021/4cf36c46/attachment.html>


More information about the gmsh mailing list