[Gmsh] geo script - how to get a mesh after plugin(triangulate) ?
Don Van Kerkhoven
donvk at distributel.net
Wed Feb 26 19:23:36 CET 2020
Thanks again Christophe. That does what I need.
I ended up importing back for further processing.
>> Save View[1] "mesh.msh";
>> Merge "Mesh.msh";
br
Don
-----Original Message-----
From: Christophe Geuzaine [mailto:cgeuzaine at uliege.be]
Sent: February-26-20 1:18 AM
To: Don Van Kerkhoven
Cc: Gmsh
Subject: Re: [Gmsh] geo script - how to get a mesh after plugin(triangulate) ?
> On 24 Feb 2020, at 20:11, Don Van Kerkhoven <donvk at distributel.net> wrote:
>
> Hi,
>
> I have a point cloud that I have successfully triangulated it but I can�t figure out how to create a mesh and save it.
>
> What are the next steps to create and save the mesh from this triangulation ?
>
You can export View[1] as a mesh (currently in the old MSH2 format) with
Save View[1] "mesh.msh";
Christophe
> // ------ script start ----------
> Points(1..n)
> Mesh 1; // works,
> Plugin(NewView).Run;
>
> Plugin(CutPlane).A = 0 ; // works, cut the cloud in XY plane
> Plugin(CutPlane).B = 0 ;
> Plugin(CutPlane).C = 1 ;
> Plugin(CutPlane).D = 0 ;
> Plugin(CutPlane).ExtractVolume= 1 ;
> Plugin(CutPlane).View = 0 ;
> Plugin(CutPlane).Run ;
>
> Plugin(Triangulate).Run; // works, triangulate 1/2 symmetry
>
> // ---- script end ----------
>
> thanks
> DonVK
> _______________________________________________
> gmsh mailing list
> gmsh at onelab.info
> http://onelab.info/mailman/listinfo/gmsh
�
Prof. Christophe Geuzaine
University of Liege, Electrical Engineering and Computer Science
http://www.montefiore.ulg.ac.be/~geuzaine
More information about the gmsh
mailing list