I've added two examples for Gmsh 4.5.4 showing how such "terrain" meshes can be constructed with the API:
* from a regular grid of points: https://gitlab.onelab.info/gmsh/gmsh/-/blob/master/demos/api/terrain.py * from an STL mesh: https://gitlab.onelab.info/gmsh/gmsh/-/blob/master/demos/api/terrain_stl.py Christophe > On 9 Jan 2020, at 14:17, DILASSER Guillaume <[email protected]> wrote: > > Hello, > > The topic of mesh generation based on terrain data has been discussed several > time in the Gmsh mailing list. I would suggest you to explore the mailing > list archive here. A search for the “terrain” keyword for example returns > these results. > > Sincerely yours, > > Guillaume Dilasser > > De : gmsh <[email protected]> De la part de ? ? > Envoyé : jeudi 9 janvier 2020 13:25 > À : [email protected] > Objet : Re: [Gmsh] terrain meshing with an stl file > > Hello!I am a junior student ,learning Gmsh recently. I browsed your blog on > the Internet ,hoping to know how to import a terrain file to gmsh. I am > looking forward your reply. > > 发送自 Windows 10 版邮件应用 > > _______________________________________________ > 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
