[Gmsh] stl meshing

Christophe Geuzaine cgeuzaine at ulg.ac.be
Tue Jul 9 07:25:25 CEST 2013


On 30 May 2013, at 17:37, Neri alamanni <neri.alamanni at configuratori.it> wrote:

> Good morning to everybody
> I have a problem in getting a 3d mesh out of attached stl file
> I tried to follow what is written in wiki/STLremeshing but no mesh is done. Non errors non warning but the .msh file contains only triangular elements
> The stl  file should be ok, I can read and mesh it in netgen with 3d elements
> Attached you can find the  stl file and the geo file used to run gmsh from the command line

Use this:

Merge "test.stl";
CreateTopology;
Surface Loop(2) = 1;
Volume(3) = 2;
Mesh.Algorithm3D = 1; //(1=tetgen, 4=netgen, 7=MMG3D, 9=R-tree)
Mesh.Optimize=1;





> Thank you
> Best regards
> Neri alamanni
>  
>  
> <test.zip>_______________________________________________
> gmsh mailing list
> gmsh at geuz.org
> http://www.geuz.org/mailman/listinfo/gmsh

-- 
Prof. Christophe Geuzaine
University of Liege, Electrical Engineering and Computer Science 
http://www.montefiore.ulg.ac.be/~geuzaine