Hi,
I can’t seem to find a way to print the coordinates of each face forming the mesh (wireframe) on my polygon. Is there an easy script to write a text file (or even output on the screen) that does that?
Thanks
Fabio
Hi,
I can’t seem to find a way to print the coordinates of each face forming the mesh (wireframe) on my polygon. Is there an easy script to write a text file (or even output on the screen) that does that?
Thanks
Fabio
How do you define the coordinate of a face ?
Hi Mathieu,
The input data is an unstructured grid. I apologize for the little knowledge I have of vtk.
If I visualize the file and use the wireframe view I can see that the mesh is just rectangles of different dimensions (and few triangles that define 45 deg edges of the meshed polygon).
What I need is a way to export the coordinates of all the 4 vertices of all those rectangles in a file (each line represents the 4 coordinates)
Fabio
No direct way to do that, but you can do the following :
Now you only need to parse both csv file in order to reconstruct (and duplicate) the vertices coords.
Awesome! Let me give it a try!
Thanks!