<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class="">Hi Mathieu and Pierre,</div><div class=""><br class=""></div><div class="">Perhaps you meant to point to this “work in progress” branch?</div><div class=""><br class=""></div><div class=""><a href="https://gitlab.kitware.com/vtk/vtk/merge_requests/2088" class="">https://gitlab.kitware.com/vtk/vtk/merge_requests/2088</a></div><div class=""><br class=""></div><div class="">Sincerely,</div><div class="">T.J.</div><br class=""><div class="">
<div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class="">Thomas J. Corona, Ph.D.<br class="">Kitware, Inc.<br class="">R&D Engineer<br class="">21 Corporate Drive<br class="">Clifton Park, NY 12065-8662<br class="">Phone: 518-881-4443</div></div></div></div></div></div>
</div>
<br class=""><div><blockquote type="cite" class=""><div class="">On Jan 3, 2017, at 10:18 AM, Mathieu Westphal <<a href="mailto:mathieu.westphal@kitware.com" class="">mathieu.westphal@kitware.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div class=""><div class=""><div class=""><div class="">Hello<br class=""><br class=""></div>for your information there is a bug in the slicing of vtkPolyHedron that can cause a segfault.<br class=""></div><div class="">It looks very much like your error. It has yet to be corrected.<br class=""></div><a href="https://gitlab.kitware.com/vtk/vtk/issues/16877" class="">https://gitlab.kitware.com/vtk/vtk/issues/16877</a><br class=""><br class=""></div>You can already test this "work in progress" branch to see if this fixes your issue  :<br class=""><a href="https://gitlab.kitware.com/vtk/vtk/merge_requests/2304" class="">https://gitlab.kitware.com/vtk/vtk/merge_requests/2304</a><br class=""><br class=""></div><div class="">You could of course modify your data to tetrahedron with tetrahedralize filter.<br class=""></div><div class=""><br class=""></div>Regards,<br class=""></div><div class="gmail_extra"><br clear="all" class=""><div class=""><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr" class="">Mathieu Westphal<br class=""></div></div></div>
<br class=""><div class="gmail_quote">On Tue, Jan 3, 2017 at 4:10 PM, Pierre Van Hauwaert <span dir="ltr" class=""><<a href="mailto:pierre@rtech-engineering.nl" target="_blank" class="">pierre@rtech-engineering.nl</a>></span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  

    
  
  <div bgcolor="#FFFFFF" text="#000000" class="">
    <div class="m_-1893844449759964379moz-text-html" lang="x-unicode"> Hi,<br class="">
      <br class="">
      I am using paraview to visualise my data. I generate my data using
      a combination of the 2 following types (<a class="m_-1893844449759964379moz-txt-link-freetext" href="http://www.vtk.org/doc/nightly/html/vtkCellType_8h_source.html" target="_blank"></a><a class="m_-1893844449759964379moz-txt-link-freetext" href="http://www.vtk.org/doc/nightly/html/vtkCellType_8h_source.html" target="_blank">http://www.vtk.org/doc/<wbr class="">nightly/html/vtkCellType_8h_<wbr class="">source.html</a>)<br class="">
      <font class=""><a class="m_-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" class="">      = 11</span><br class="">
        <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" class="">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" class="">VTK_POLYHEDRON </span></font>in
      order to investigate the problem.<br class="">
      <br class="">
      I found out that only the polyhedrons with the largest size were
      having the problem. The limit is somewhere between the 2 files:<br class="">
      - poly-F1000-2395.vtu : working: 466 points, 928 faces <br class="">
      - poly-F1000-2987.vtu : segfault when slicing: 546 points, 1088
      faces <br class="">
      <br class="">
      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 class="">
      <br class="">
      My questions are : <br class="">
      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 class="">
      2) If there is this limitation, is there an option to remove it in
      Paraview ? (specific version, compilation option, etc)   <br class="">
      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 class="">
      <br class="">
      <br class="">
      I attached the data to be able to back up my statement:<br class="">
      <br class="">
      poly-F1000-*.vtu : files describing a polyhedron each:  <br class="">
      poly-F1000.pvd : load all those files<br class="">
      <br class="">
      Biggest file for which the slicing works (size, name):<br class="">
      34K poly-F1000-2395.vtu<br class="">
      <br class="">
      The 8 biggest files triggering the crash when doing a slice:
      (size, name)<br class="">
      38K poly-F1000-2987.vtu<br class="">
      39K poly-F1000-2983.vtu<br class="">
      39K poly-F1000-2935.vtu<br class="">
      39K poly-F1000-2988.vtu<br class="">
      39K poly-F1000-2931.vtu<br class="">
      40K poly-F1000-2937.vtu<br class="">
      40K poly-F1000-2981.vtu<br class="">
      40K poly-F1000-2930.vtu<br class="">
      fail.pvd: load those 8 files<br class="">
      <br class="">
      the other files can be sliced without any issues<br class="">
      <br class="">
      <br class="">
      Thanks,  <br class=""><span class="HOEnZb"><font color="#888888" class="">
      <br class="">
      <font size="3" class="">Pierre <u class=""></u><u class=""></u><font size="2" class=""><u class=""></u><u class=""></u></font></font><br class="">
      <div class="m_-1893844449759964379moz-signature"><font size="3" class=""><font size="2" class=""><u class=""></u><u class=""></u></font></font><font size="3" class=""><font size="2" class=""><u class=""></u> <br class="">
              -- <br class="">
              R.Tech Engineering B.V. <br class="">
              Eekholt 42 - 1112 XH Diemen - the Netherlands <br class="">
              Tel: +31 (0) 2 04 95 02 22 <br class="">
            <u class=""></u></font></font></div>
    </font></span></div>
  </div>

<br class="">______________________________<wbr class="">_________________<br class="">
Powered by <a href="http://www.kitware.com/" rel="noreferrer" target="_blank" class="">www.kitware.com</a><br class="">
<br class="">
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank" class="">http://www.kitware.com/<wbr class="">opensource/opensource.html</a><br class="">
<br class="">
Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" rel="noreferrer" target="_blank" class="">http://paraview.org/Wiki/<wbr class="">ParaView</a><br class="">
<br class="">
Search the list archives at: <a href="http://markmail.org/search/?q=ParaView" rel="noreferrer" target="_blank" class="">http://markmail.org/search/?q=<wbr class="">ParaView</a><br class="">
<br class="">
Follow this link to subscribe/unsubscribe:<br class="">
<a href="http://public.kitware.com/mailman/listinfo/paraview" rel="noreferrer" target="_blank" class="">http://public.kitware.com/<wbr class="">mailman/listinfo/paraview</a><br class="">
<br class=""></blockquote></div><br class=""></div>
_______________________________________________<br class="">Powered by <a href="http://www.kitware.com" class="">www.kitware.com</a><br class=""><br class="">Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" class="">http://www.kitware.com/opensource/opensource.html</a><br class=""><br class="">Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" class="">http://paraview.org/Wiki/ParaView</a><br class=""><br class="">Search the list archives at: <a href="http://markmail.org/search/?q=ParaView" class="">http://markmail.org/search/?q=ParaView</a><br class=""><br class="">Follow this link to subscribe/unsubscribe:<br class=""><a href="http://public.kitware.com/mailman/listinfo/paraview" class="">http://public.kitware.com/mailman/listinfo/paraview</a><br class=""></div></blockquote></div><br class=""></body></html>