[Paraview] Segmentation fault when clipping Polyhedra

Lennart Schneiders Lennart.Schneiders at rwth-aachen.de
Mon Oct 24 08:25:40 EDT 2011


Hello,

I encounter a segmentation fault when trying to clip an unstructured
grid containing more than one polyhedron (cell type 42) in Paraview
3.10.1 64-bit. Clipping a single polyhedron does not yield a seg. fault
but gives a non-watertight cell which obviously is not correct. In
contrast, slicing works flawlessly.

I wonder if my .vtu file is faulty. A minimal example containing two
tetrahedra is given below. Any help is greatly appreciated.

Lennart

----

<VTKFile type="UnstructuredGrid" version="0.1"
byte_order="LittleEndian">
<UnstructuredGrid>
<Piece NumberOfPoints="8" NumberOfCells="2">
<Points>
<DataArray type="Float32" NumberOfComponents="3" format="ascii">
0.0 0.0 0.0
1.0 0.0 0.0
0.0 1.0 0.0
0.0 0.0 1.0
0.0 0.0 0.0
-1.0 0.0 0.0
0.0 1.0 0.0
0.0 0.0 1.0
</DataArray>
</Points>
<Cells>
<DataArray type="Int32" Name="connectivity" format="ascii">
0 1 2 3 4 5 6 7
</DataArray>
<DataArray type="Int32" Name="offsets" format="ascii">
4 8
</DataArray>
<DataArray type="UInt8" Name="types" format="ascii">
42 42
</DataArray>
<DataArray type="UInt32" Name="faces" format="ascii">
4  3 0 1 2  3 0 1 3  3 0 2 3  3 1 2 3
4  3 4 5 6  3 4 5 7  3 4 6 7  3 5 6 7
</DataArray>
<DataArray type="UInt32" Name="faceoffsets" format="ascii">
17 34
</DataArray>
</Cells>
</Piece>
</UnstructuredGrid>
</VTKFile>



More information about the ParaView mailing list