2010/11/26 Yu Zhang <[email protected]>: > Dear Miss/Mr. > > > > I am just a beginner of using Gmesh. > > > > I used to use Ansys to import STL file, generate mesh and do CFD work. I am > wondering if Gmesh can generate mesh from STL file? I searched from > internet, and got an answer that I need to merge a STL file to a GEO file. > But I do not know, where I should put those lines > > > > “Mesh.CharacteristicLengthFactor=0.05; > > Merge "artery.stl";” > > > > Should I put those lines following the endline of the STL file? > > > > I downloaded ‘artery.stl’from gmesh wiki,but when I open it using > Gmesh-geometry-edit, unknown code comes up. When I try my own STL file, the > ‘edit’ shows a file format like that > > > > Solid > > Facet normal ….. > > Outer loop > > Vertex ….. > > ….. > > Endfacet > > …… > > Endsolid > > > > However, after I put merge command at the end of this file and reload it, > nothing happens, no geo file comes. Could you please tell me what I should > do? Appreciate.
Nothing else can go in an STL file. Put the Gmsh commands into a separate file with a .geo extension. Open the .geo file with Gmsh. That should do the trick. _______________________________________________ gmsh mailing list [email protected] http://www.geuz.org/mailman/listinfo/gmsh
