[Gmsh] no tets in mesh saved as STL

David Colignon David.Colignon at ulg.ac.be
Mon May 5 11:06:59 CEST 2008


Hi Ernest,

the STL format is only based on triangular facets, it contains no volumic elements...

What about the UNV mesh file format ?

Cheers,

Dave

-- 
David Colignon, Ph.D.
Collaborateur Logistique F.R.S.-FNRS (Equipements de Calcul Intensif)
ACE - Applied & Computational Electromagnetics
Institut Montefiore B28
Université de Liège
4000 Liège - BELGIQUE
Tél: +32 (0)4 366 37 32
Fax: +32 (0)4 366 29 10
WWW:    http://www.montefiore.ulg.ac.be/personnel.php?op=detail&id=898
Agenda: http://www.google.com/calendar/embed?src=david.colignon%40gmail.com



Ernest Johnson wrote:
> Hello!
> 
> I have generated a 3D mesh with Gmsh. If I check the saved 'test.msh' 
> file, I find these element types:
> 
> |1 (|2-node line)
> |2 (|3-node triangle)
> |4 (|4-node tetrahedron)
> 
> Next I saved the mesh (File->Save As) in STL format. In the 'test.stl' 
> file I only find several blocks like
> 
> facet normal 0 -0.780942 -0.624604
>   outer loop
>     vertex -4.06184 1.96854 12.1372
>     vertex -4.43697 2.07828 12
>     vertex -4.07973 2.07828 12
>   endloop
> endfacet
> 
> There are no other elements except for facets. Why don't I find any tets 
> in the stl file?
> 
> In the Mesh module of Gmsh I have chosen '3D' to generate the mesh. I 
> have also tried 'STL' with no better success. What is the difference?
> 
> If I cannot save the tetrahedral elements in the STL format, is there 
> another format that I can select, which
> 1) saves the complete 3D mesh and which
> 2) can be opened in paraview or converted into the '*.vtk' format?
> 
> Thank you
> Ernest J.
> 
> 
> ------------------------------------------------------------------------
> Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try 
> it now. 
> <http://us.rd.yahoo.com/evt=51733/*http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ 
>  >
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> gmsh mailing list
> gmsh at geuz.org
> http://www.geuz.org/mailman/listinfo/gmsh