[Paraview] Cutting cells of different dimension
ALIZIER Julien AUSY
julien.alizier-ausy at irsn.fr
Wed, 11 Feb 2004 16:16:31 +0100
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.
------_=_NextPart_001_01C3F0B2.0790A230
Content-Type: text/plain;
charset="iso-8859-1"
Hi all,
I am trying to make a cut of 3D and 2D cells in one Unstructured grid in
ParaView.
The problem is that it is possible to cut only if there is no data on cells
(which is not very useful obviously ;-).
Here is a tiny vtk file that shows the bug : it is a triangle and a line and
I'd like to cut them in order to get a line and a point. It works when I
removed the CELL_DATA part.
Thanks for your help
-- Julien
# vtk DataFile Version 2.0
cut problem with cell of different dimension
ASCII
DATASET UNSTRUCTURED_GRID
POINTS 5 float
0 0 0
2 0 2
1 3 1
4 0 4
4 3 4
CELLS 2 7
3 0 1 2
2 3 4
CELL_TYPES 2
5
3
CELL_DATA 2
SCALARS cell_scalars float 1
LOOKUP_TABLE default
0
1
------_=_NextPart_001_01C3F0B2.0790A230
Content-Type: text/html;
charset="iso-8859-1"
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META content="MSHTML 5.50.4134.600" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=951240815-11022004><FONT face=Arial size=2>Hi
all,</FONT></SPAN></DIV>
<DIV><SPAN class=951240815-11022004><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=951240815-11022004><FONT face=Arial size=2>I am trying to make
a cut of 3D and 2D cells in one Unstructured grid in
ParaView.</FONT></SPAN></DIV>
<DIV><SPAN class=951240815-11022004><FONT face=Arial size=2>The problem is that
it is possible to cut only if there is no data on cells (which is not very
useful obviously ;-).</FONT></SPAN></DIV>
<DIV><SPAN class=951240815-11022004><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=951240815-11022004><FONT face=Arial size=2>Here is a tiny vtk
file that shows the bug : it is a triangle and a line and I'd like to cut them
in order to get a line and a point. It works when I removed the CELL_DATA
part.</FONT></SPAN></DIV>
<DIV><SPAN class=951240815-11022004><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=951240815-11022004><FONT face=Arial size=2>Thanks for your
help</FONT></SPAN></DIV>
<DIV><SPAN class=951240815-11022004><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=951240815-11022004><FONT face=Arial size=2>--
Julien</FONT></SPAN></DIV>
<DIV><SPAN class=951240815-11022004><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=951240815-11022004><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=951240815-11022004><FONT face=Arial size=2># vtk DataFile
Version 2.0<BR>cut problem with cell of different dimension<BR>ASCII<BR>DATASET
UNSTRUCTURED_GRID<BR>POINTS 5 float<BR>0 0 0<BR>2 0 2<BR>1 3
1</FONT></SPAN></DIV>
<DIV><SPAN class=951240815-11022004><FONT face=Arial size=2>4 0 4<BR>4 3
4</FONT></SPAN></DIV>
<DIV> </DIV>
<DIV><SPAN class=951240815-11022004><FONT face=Arial size=2>CELLS 2 7<BR>3 0 1
2<BR>2 3 4</FONT></SPAN></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><SPAN class=951240815-11022004><FONT face=Arial size=2>CELL_TYPES
2<BR>5<BR>3</FONT></SPAN></DIV>
<DIV> </DIV>
<DIV><SPAN class=951240815-11022004><FONT face=Arial size=2>CELL_DATA
2<BR>SCALARS cell_scalars float 1<BR>LOOKUP_TABLE
default<BR>0<BR>1</FONT></SPAN></DIV>
<DIV> </DIV>
<DIV><SPAN class=951240815-11022004><FONT face=Arial
size=2></FONT></SPAN> </DIV></BODY></HTML>
------_=_NextPart_001_01C3F0B2.0790A230--