<div dir="ltr">Hi<br><br>Indeed, incorrect copy paste. thanks for pointing it out.<br></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Mathieu Westphal<br></div></div></div>
<br><div class="gmail_quote">On Tue, Jan 3, 2017 at 4:46 PM, T.J. Corona <span dir="ltr"><<a href="mailto:tj.corona@kitware.com" target="_blank">tj.corona@kitware.com</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 Mathieu and Pierre,</div><div><br></div><div>Perhaps you meant to point to this “work in progress” branch?</div><div><br></div><div><a href="https://gitlab.kitware.com/vtk/vtk/merge_requests/2088" target="_blank">https://gitlab.kitware.com/<wbr>vtk/vtk/merge_requests/2088</a></div><div><br></div><div>Sincerely,</div><div>T.J.</div><br><div>
<div style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word"><div style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word"><div style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word"><div style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word"><div style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word"><div>Thomas J. Corona, Ph.D.<br>Kitware, Inc.<br>R&D Engineer<br>21 Corporate Drive<br>Clifton Park, NY 12065-8662<br>Phone: <a href="tel:(518)%20881-4443" value="+15188814443" target="_blank">518-881-4443</a></div></div></div></div></div></div>
</div><div><div class="h5">
<br><div><blockquote type="cite"><div>On Jan 3, 2017, at 10:18 AM, Mathieu Westphal <<a href="mailto:mathieu.westphal@kitware.com" target="_blank">mathieu.westphal@kitware.com</a>> wrote:</div><br class="m_-768954150740546535Apple-interchange-newline"><div><div dir="ltr"><div><div><div><div>Hello<br><br></div>for your information there is a bug in the slicing of vtkPolyHedron that can cause a segfault.<br></div><div>It looks very much like your error. It has yet to be corrected.<br></div><a href="https://gitlab.kitware.com/vtk/vtk/issues/16877" target="_blank">https://gitlab.kitware.com/<wbr>vtk/vtk/issues/16877</a><br><br></div>You can already test this "work in progress" branch to see if this fixes your issue :<br><a href="https://gitlab.kitware.com/vtk/vtk/merge_requests/2304" target="_blank">https://gitlab.kitware.com/<wbr>vtk/vtk/merge_requests/2304</a><br><br></div><div>You could of course modify your data to tetrahedron with tetrahedralize filter.<br></div><div><br></div>Regards,<br></div><div class="gmail_extra"><br clear="all"><div><div class="m_-768954150740546535gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Mathieu Westphal<br></div></div></div>
<br><div class="gmail_quote">On Tue, Jan 3, 2017 at 4:10 PM, Pierre Van Hauwaert <span dir="ltr"><<a href="mailto:pierre@rtech-engineering.nl" target="_blank">pierre@rtech-engineering.nl</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<div class="m_-768954150740546535m_-1893844449759964379moz-text-html" lang="x-unicode"> Hi,<br>
<br>
I am using paraview to visualise my data. I generate my data using
a combination of the 2 following types (<a class="m_-768954150740546535m_-1893844449759964379moz-txt-link-freetext" href="http://www.vtk.org/doc/nightly/html/vtkCellType_8h_source.html" target="_blank"></a><a class="m_-768954150740546535m_-1893844449759964379moz-txt-link-freetext" href="http://www.vtk.org/doc/nightly/html/vtkCellType_8h_source.html" target="_blank">http://www.vtk.org/doc/nightl<wbr>y/html/vtkCellType_8h_source.<wbr>html</a>)<br>
<font><a class="m_-768954150740546535m_-1893844449759964379code" href="http://www.vtk.org/doc/nightly/html/vtkCellType_8h.html#ab1d6fd1f3177b8a2a32bb018807151f8a06a70888292dc4309e42404af594fbb4" style="font-weight:normal;text-decoration:none;font-family:monospace,fixed;font-size:13px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;letter-spacing:normal;text-align:start;text-transform:none;white-space:pre-wrap;word-spacing:0px;background-color:rgb(251,252,253)" target="_blank">VTK_VOXEL</a><span style="font-family:monospace,fixed;font-size:13px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-transform:none;white-space:pre-wrap;word-spacing:0px;background-color:rgb(251,252,253);display:inline!important;float:none"> = 11</span><br>
<span style="font-family:monospace,fixed;font-size:13px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-transform:none;white-space:pre-wrap;word-spacing:0px;background-color:rgb(251,252,253);display:inline!important;float:none">VTK_POLYHEDRON = 42
</span>I can visualize that data with parview without a problem. But,
because I ended up having a segfault without any error message
when slicing (Z=0) the data. I decomposed my data in separate
files for each <span style="font-family:monospace,fixed;font-size:13px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-transform:none;white-space:pre-wrap;word-spacing:0px;background-color:rgb(251,252,253);display:inline!important;float:none">VTK_POLYHEDRON </span></font>in
order to investigate the problem.<br>
<br>
I found out that only the polyhedrons with the largest size were
having the problem. The limit is somewhere between the 2 files:<br>
- poly-F1000-2395.vtu : working: 466 points, 928 faces <br>
- poly-F1000-2987.vtu : segfault when slicing: 546 points, 1088
faces <br>
<br>
So my guess is that there is a limit for the number of points or
the number of faces that can have the polyhedron (1024 ?) if I
want to be able to use the slice function.<br>
<br>
My questions are : <br>
1) Is there actually a limitation in Paraview (VTK?) regarding the
number of faces or the number of the point that the slice function
can handle for a polyhedron ?<br>
2) If there is this limitation, is there an option to remove it in
Paraview ? (specific version, compilation option, etc) <br>
3) If there is this limitation, is there any work around that
exist so I am able to slice my data ? For example a different
format ?<br>
<br>
<br>
I attached the data to be able to back up my statement:<br>
<br>
poly-F1000-*.vtu : files describing a polyhedron each: <br>
poly-F1000.pvd : load all those files<br>
<br>
Biggest file for which the slicing works (size, name):<br>
34K poly-F1000-2395.vtu<br>
<br>
The 8 biggest files triggering the crash when doing a slice:
(size, name)<br>
38K poly-F1000-2987.vtu<br>
39K poly-F1000-2983.vtu<br>
39K poly-F1000-2935.vtu<br>
39K poly-F1000-2988.vtu<br>
39K poly-F1000-2931.vtu<br>
40K poly-F1000-2937.vtu<br>
40K poly-F1000-2981.vtu<br>
40K poly-F1000-2930.vtu<br>
fail.pvd: load those 8 files<br>
<br>
the other files can be sliced without any issues<br>
<br>
<br>
Thanks, <br><span class="m_-768954150740546535HOEnZb"><font color="#888888">
<br>
<font size="3">Pierre <u></u><u></u><font size="2"><u></u><u></u></font></font><br>
<div class="m_-768954150740546535m_-1893844449759964379moz-signature"><font size="3"><font size="2"><u></u><u></u></font></font><font size="3"><font size="2"><u></u> <br>
-- <br>
R.Tech Engineering B.V. <br>
Eekholt 42 - 1112 XH Diemen - the Netherlands <br>
Tel: +31 (0) 2 04 95 02 22 <br>
<u></u></font></font></div>
</font></span></div>
</div>
<br>______________________________<wbr>_________________<br>
Powered by <a href="http://www.kitware.com/" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/opensou<wbr>rce/opensource.html</a><br>
<br>
Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" rel="noreferrer" target="_blank">http://paraview.org/Wiki/ParaV<wbr>iew</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=ParaView" rel="noreferrer" target="_blank">http://markmail.org/search/?q=<wbr>ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/paraview" rel="noreferrer" target="_blank">http://public.kitware.com/mail<wbr>man/listinfo/paraview</a><br>
<br></blockquote></div><br></div>
______________________________<wbr>_________________<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/<wbr>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/<wbr>ParaView</a><br><br>Search the list archives at: <a href="http://markmail.org/search/?q=ParaView" target="_blank">http://markmail.org/search/?q=<wbr>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/<wbr>mailman/listinfo/paraview</a><br></div></blockquote></div><br></div></div></div></blockquote></div><br></div>