[Paraview] PV for Mesh Generation

Bryn Lloyd blloyd at vision.ee.ethz.ch
Fri Feb 13 17:30:02 EST 2009


you could do it with the python programmable filter in paraview.


On Feb 13, 2009, at 9:11 PM, Randall Hand wrote:

> I was actually hoping for some way to do this with the standard  
> ParaView Distribution.
> --
> Randall Hand
> Visualization Scientist, DAAC
> http://www.yeraze.com
>
>
> On Fri, Feb 13, 2009 at 10:50 AM, Bryn Lloyd  
> <blloyd at vision.ee.ethz.ch> wrote:
> You can do the following:
>
> 1. start with original surface (original triangles), with N nodes
>
> 2. extrude by a certain distance: you get a new surface (new  
> triangles)
>
> 3. the extrusion simply adds corresponding nodes for each original  
> node, so a node with id k has a corresponding node with id N+k.
>
> 4. connect triangle i in original triangles with triangle i in new  
> triangles. Make a prism for each triangle.
>
> 5. convert all prisms to tetrahedra using "triangulate"
>
>
> Most of the code necessary for this can be found here (steps 1-4, 5  
> is already in paraview):
> http://www.vision.ee.ethz.ch/~blloyd/Extrusion/
>
> -Bryn
>
>
>
>
>
> On Feb 13, 2009, at 5:32 PM, Randall Hand wrote:
>
> I have a 2D Triangulated mesh that a user wants extruded into a 3D  
> Shape for use in simulation work.
>
> I tried using the "Linear Extrusion" filter, but that only gets the  
> outer edges.  What I really need to do is extrude the triangles into  
> 3D Triangulate Prisms (5-sided solids, 2 triangles & 3 quads).  Is  
> there any way to do this?
>
> I tried doing:
> Dataset
>  |- Extract Surface - Linear Extrusion
>  |- Extract Edges - Linear Extrusion
> Append both Together - Clean
>
> That's close, but I have a collection of 2D Primitives, and lose all  
> the interior volume.
>
> --
> Randall Hand
> Visualization Scientist, DAAC
> http://www.yeraze.com
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView
>
> Follow this link to subscribe/unsubscribe:
> http://www.paraview.org/mailman/listinfo/paraview
>
>



More information about the ParaView mailing list