<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
Hi, Paul,
<div><br>
</div>
<div>Thanks for the pointers.</div>
<div><br>
</div>
<div>joe</div>
<div><br>
</div>
<div>
<div>
<div>On Oct 13, 2014, at 5:13 PM, Paul Edwards <<a href="mailto:paul.m.edwards@gmail.com">paul.m.edwards@gmail.com</a>> wrote:</div>
<br class="Apple-interchange-newline">
<blockquote type="cite">
<div dir="ltr">Hi Joe,
<div><br>
</div>
<div>I've seen this before and there is a bug report in mantis here:</div>
<div><br>
</div>
<div><a href="http://www.paraview.org/Bug/view.php?id=13382">http://www.paraview.org/Bug/view.php?id=13382</a><br>
</div>
<div><br>
</div>
<div>There has also been a patch posted to the vtk-developers list a while back although I haven't tested it:</div>
<div><br>
</div>
<div><a href="http://markmail.org/message/zg3damrg27p5sgue">http://markmail.org/message/zg3damrg27p5sgue</a><br>
</div>
<div><br>
</div>
<div>Regards,</div>
<div>Paul</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On 10 October 2014 00:32, Insley, Joseph A. <span dir="ltr">
<<a href="mailto:insley@anl.gov" target="_blank">insley@anl.gov</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="word-wrap:break-word">
<div>Hi,</div>
<div><br>
</div>
<div>I have a serial vtu dataset provided by one of my users. Their current code can produce this in either ascii or inline binary. I am currently trying to convert this to appended binary (ultimately to pvtu with appended binary).</div>
<div>I'm having trouble, which I now believe may stem from the data containing VTK_POLYHEDRON. </div>
<div><br>
</div>
<div>I have a simple python script that I use with pvbatch to do this conversion, but I see the same results when I load the original data set with ParaView (4.1.0, in client/server mode), and use the Save Data option and save as vtu.</div>
<div>I get the same results for each input format (ascii or inline binary), and output format (ascii, binary, appended).</div>
<div><br>
</div>
<div>The first few lines of the original vtu file look like this:</div>
<div><br>
</div>
<div><?xml version="1.0"?></div>
<div> <VTKFile type="UnstructuredGrid" version="0.1" byte_order="BigEndian"></div>
<div> <UnstructuredGrid></div>
<div> <Piece NumberOfPoints="1699427" NumberOfCells="384126"></div>
<div><br>
</div>
<div>The first few lines of the converted file look like this:</div>
<div><br>
</div>
<div>offset="177748206"ructuredGrid" version="0.1" byte_order="LittleEndian"></div>
<div> <UnstructuredGrid></div>
<div> <Piece NumberOfPoints="1699427" NumberOfCells="384126" ></div>
<div><br>
</div>
<div><br>
</div>
<div>Something is clearly getting jumbled at the beginning of the converted file. If I manually edit the header of the file to read <VTKFile type="UnstructuredGrid", there are still problems with the file. In that case the info tab in ParaView reports the
correct number of points and cells, but no geometry is drawn. I have successfully converted other vtu files using this same method. The primary difference that I've been able to identify is that the files that are not converting happily contain VTK_POLYHEDRON
elements.</div>
<div><br>
</div>
<div>Has anyone else seen similar behavior?</div>
<div><br>
</div>
<div>Thanks,</div>
<div>joe</div>
<div><br>
</div>
<div><span style="border-collapse:separate;border-spacing:0px">
<div>
<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;font-size:12px">
<font face="Helvetica" size="3" style="font:normal normal normal 12px/normal Helvetica">===================================================</font></div>
<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;font-size:12px">
<font face="Helvetica" size="3" style="font:normal normal normal 12px/normal Helvetica">joseph a. insley <a href="mailto:insley@anl.gov" target="_blank">insley@anl.gov</a></font></div>
<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;font-size:12px">
<font face="Helvetica" size="3" style="font:normal normal normal 12px/normal Helvetica">argonne leadership computing facility
<a href="tel:%28630%29%20252-5649" value="+16302525649" target="_blank">(630) 252-5649</a></font></div>
<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;font-size:12px">
<font face="Helvetica" size="3" style="font:normal normal normal 12px/normal Helvetica">argonne national laboratory </font></div>
</div>
<div><br>
</div>
</span><br>
</div>
<br>
</div>
<br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com/" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">
http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" target="_blank">
http://paraview.org/Wiki/ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/paraview" target="_blank">http://public.kitware.com/mailman/listinfo/paraview</a><br>
<br>
</blockquote>
</div>
<br>
</div>
</blockquote>
</div>
<br>
</div>
</body>
</html>