<div dir="ltr">Dear Kenneth,<br><br>Thank you for helping but i didn't mean understanding the text document if that is what you mean.<br>I mean I want to access the appended data in base 64. <br><br>Maybe in command module somehow <br>(code to show the data)<br>data ..<br><br>Thank you,<br>Andi</div><div class="gmail_extra"><br><div class="gmail_quote">On 14 January 2017 at 03:49, Moreland, Kenneth <span dir="ltr"><<a href="mailto:kmorel@sandia.gov" target="_blank">kmorel@sandia.gov</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div lang="EN-US" link="blue" vlink="purple">
<div class="m_-45617776471325052WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Documentation for vtu file format (and several other standard VTK formats) is here:<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><a href="http://www.vtk.org/VTK/img/file-formats.pdf" target="_blank">http://www.vtk.org/VTK/img/<wbr>file-formats.pdf</a><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">-Ken<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">From:</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"> ParaView [mailto:<a href="mailto:paraview-bounces@paraview.org" target="_blank">paraview-bounces@<wbr>paraview.org</a>]
<b>On Behalf Of </b>Andi Hartarto<br>
<b>Sent:</b> Thursday, January 12, 2017 7:54 PM<br>
<b>To:</b> <a href="mailto:paraview@paraview.org" target="_blank">paraview@paraview.org</a><br>
<b>Subject:</b> [EXTERNAL] [Paraview] Decode a vtu file<u></u><u></u></span></p><div><div class="h5">
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal">Hello all,<br>
<br>
Can I please have guidance/help in decoding a vtu file?<br>
<br>
My file is a <u></u><u></u></p>
<div>
<div>
<p class="MsoNormal"><?xml version="1.0"?><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><VTKFile type="UnstructuredGrid" version="0.1" byte_order="LittleEndian" compressor="<wbr>vtkZLibDataCompressor"><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> <UnstructuredGrid><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> <Piece NumberOfPoints="116" NumberOfCells="1052" ><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> <PointData><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> </PointData><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> <CellData><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> <DataArray type="Int32" Name="TetrahedraRank" format="appended" RangeMin="1" RangeMax="2" offset="0" /><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> <DataArray type="Int32" Name="TetrahedraNo" format="appended" RangeMin="0" RangeMax="262" offset="188" /><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> </CellData><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> <Points><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> <DataArray type="Float32" Name="Points" NumberOfComponents="3" format="appended" RangeMin="2003013.3465" RangeMax="2003224.1668" offset="812" /><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> </Points><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> <Cells><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> <DataArray type="Int64" Name="connectivity" format="appended" RangeMin="" RangeMax="" offset="1680" /><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> <DataArray type="Int64" Name="offsets" format="appended" RangeMin="" RangeMax="" offset="5892" /><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> <DataArray type="UInt8" Name="types" format="appended" RangeMin="" RangeMax="" offset="8116" /><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> </Cells><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> </Piece><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> </UnstructuredGrid><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> <AppendedData encoding="base64"><u></u><u></u></p>
</div>
</div>
<div>
<p class="MsoNormal"> (data long list)<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><br>
The file can be found in this link:<br>
<a href="https://drive.google.com/open?id=0BzmZiSDoM7l3U2poYWNTbUhBWVU" target="_blank">https://drive.google.com/open?<wbr>id=<wbr>0BzmZiSDoM7l3U2poYWNTbUhBWVU</a><br>
<br>
I don't understand how to decode a vtk file and couldn't find anything in google. I've tried using some scripts in python for base64 but it didn't work..<br>
<br>
The reason why I need to decode this is because somehow this vtk file which load in paraview perfectly becomes a 2d file in another software "MOOSE" .. So I think somehow in the encoded data is telling the other software "only display the 2D intersection of
blocks". But I want a 3D cube not a 2D surface. If someone knows about this please tell me .<br>
<br>
Thank you,<br>
Andi<u></u><u></u></p>
</div>
</div>
</div></div></div>
</div>
</blockquote></div><br></div>