<div dir="ltr"><div><div><div><div>Hi Tiago,<br><br>Only the outline of the box seems to be incorrect, not the actual geometry.<br></div>This is a small graphical artefact bug, but nothing they would prevent you to do any computation with the boxes.<br><br></div>You can switch to surface representation to see that the boxes are correctly placed.<br>SetRepresentationType('Surface')<br><br></div>Feel free to open a bug for the outline bug on <br><a href="https://gitlab.kitware.com/paraview/paraview/issues/new">https://gitlab.kitware.com/paraview/paraview/issues/new</a><br><br></div>Best regards,<br><div><div><br></div></div></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 Wed, Apr 25, 2018 at 10:10 AM, ufdup <span dir="ltr"><<a href="mailto:ufdup89@gmail.com" target="_blank">ufdup89@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Mathieu,<div><br></div><div>Sorry for the late reply. Just now I had time to put together a short example to reproduce the problem (see attachment).</div><div><br></div><div>I am running ParaView-5.4.1 on  Debian 9. I am using mpiexec and pvbatch that come together with ParaView. </div><div>My shell command for running the script is: /opt/ParaView-5.4.1/bin/<wbr>mpiexec -np 4 pvbatch example.py</div><div><br></div><div>I attach a simple python script (example.py) for debugging purposes. Here I basically create two boxes with same center but one has twice the length of the other. </div><div>If you run this code with one processor you should see that the output (example.png) displays two concentric boxes. Increasing the processor count (anything >1)</div><div>seems to cause the center of one of the boxes to be misplaced.</div><div><br></div><div>This problem only appears when the boxCenter is something different than [0.,0.,0.]. Modifying line 8 of the attached script and setting boxCenter to <span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">[0.,0.,0.] results in </span></div><div><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">correct behavior.</span></div><div><br></div><div>Kind Regards,</div><div>Tiago</div><div><br></div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Apr 18, 2018 at 8:56 AM, Mathieu Westphal <span dir="ltr"><<a href="mailto:mathieu.westphal@kitware.com" target="_blank">mathieu.westphal@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 dir="ltr"><div><div>Hi Tiago,<br><br></div>Could you please precise which version of ParaView you are using, how do you start pvserver/ParaView/pvpython, and which python command you are using exactly.<br><br></div>Thanks,<br><br></div><div class="gmail_extra"><br clear="all"><div><div class="m_2462085277700963412m_6590987749280477053gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Mathieu Westphal<br></div></div></div>
<br><div class="gmail_quote"><div><div class="m_2462085277700963412h5">On Tue, Apr 17, 2018 at 7:18 PM, ufdup <span dir="ltr"><<a href="mailto:ufdup89@gmail.com" target="_blank">ufdup89@gmail.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="m_2462085277700963412h5"><div dir="ltr">Hi,<div><br></div><div>I am facing some trouble to draw a Box using 'paraview.simple.Box()'. When running in parallel this function fails to draw the boxes at the correct coordinates as specified by boxLength and boxCenter.</div><div>In serial mode, however, the box is drawn at the correct location.</div><div><br></div><div>As ad-hoc fix I had to draw the box by using 'paraview.simple.Line()' multiple times.  This seems to work both in parallel and serial. </div><div><br></div><div>Any hep?</div><div><br></div><div>Kind Regards</div><div>Tiago</div></div>
<br></div></div>______________________________<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="https://public.kitware.com/mailman/listinfo/paraview" rel="noreferrer" target="_blank">https://public.kitware.com/mai<wbr>lman/listinfo/paraview</a><br>
<br></blockquote></div><br></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>