[Gmsh] Plugin tetrahedralize

Christophe Geuzaine cgeuzaine at ulg.ac.be
Tue Jul 9 10:33:45 CEST 2013


On 18 Apr 2013, at 09:33, Cazasnoves Anthony <acazasnoves at gmail.com> wrote:

> Hi Everyone,
> 
> I'm currently trying to write a code to handle a point cloud/mesh with some values associated to each node. If I understood correctly, I should be able to do so using Gmsh as a library by :
> 
> 1) Storing the mesh/cloud in a Gmodel
> 2) Loading the nodes values from a .pos file in a PView
> 
> To do so, I currently have an issue with the use of the pluggin tetrahedralize :
>  
>  - my initial point cloud is at the moment stored as a mesh in a .stl file and I want to remesh it using the plugin tetrahedralize. I first converted the initial .stl mesh to a .msh and loaded it in a view via the PView->readMSH function. When I ran Tetrahedralize on this view (PluginManager::instance()->
> action("Tetrahedralize","Run",view);) I get the following error : "Need at least 4 points to tetrahedralize"
> 
> Did I miss a step or isn't it possible to run Tetrahedralize this way?
> 

Plugin(Tetrahedralize) directly uses as input a post-processing view containing point values.

So just load a .pos file with data points and run Plugin(Tetrahedralize); that's it.



> Many thanks for your help!
> 
> Anthony Cazasnoves
> _______________________________________________
> 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







More information about the gmsh mailing list