OK thanks. bw Don
-----Original Message----- From: Christophe Geuzaine [mailto:[email protected]] Sent: February-29-20 12:15 PM To: Don Van Kerkhoven Cc: [email protected] Subject: Re: [Gmsh] geo script - how to reference elements after reading a msh file > On 29 Feb 2020, at 16:04, Don Van Kerkhoven <[email protected]> wrote: > > Hi, > > I have a �triangulated.msh� file that was created from the > Plugin(Triangulate) and saved. > I need to attach features to this mesh as well as correct several normal > directions. > > How do I reference or access the points, lines, etc of this mesh ? > This is not possible in a .geo script ; you'll need to use the API for that. > Is there a way to harmonize the normals? > > ------ code start -------- > Merge "Triangulated.msh"; // works, > but normals are random > SurfaceAll[]=Surface "*"; // > works, 1 surface detected > LinesAll[]=Line "*"; > // fail, 0 lines detected > PointsAll[]=Physical Point "*"; // fail, 0 > lines detected > ----- code end ------------- > > > thanks > Don > _______________________________________________ > gmsh mailing list > [email protected] > http://onelab.info/mailman/listinfo/gmsh � Prof. Christophe Geuzaine University of Liege, Electrical Engineering and Computer Science http://www.montefiore.ulg.ac.be/~geuzaine _______________________________________________ gmsh mailing list [email protected] http://onelab.info/mailman/listinfo/gmsh
