<div dir="ltr">Hi!<div><br></div><div>Using the code</div><div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">import scipy.spatial.qhull as qhull<br>import scipy.spatial.qhull as qhull </blockquote><div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">verts = [<br>  [-0.5, -0.5, -0.5],<br>  [-0.5, -0.5, 0.5],<br>  [-0.5, 0.5, -0.5],<br>  [-0.5, 0.5, 0.5],<br>  [0.5, -0.5, -0.5],<br>  [0.5, -0.5, 0.5],<br>  [0.5, 0.5, -0.5],<br>  [0.5, 0.5, 0.5],<br>]<br>qh = qhull.ConvexHull(verts)<br>print(qh.simplices)</blockquote></div><div><br></div></div><div>I obtained the results:</div><div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">[[6 2 0]<br> [6 4 0]<br> [5 4 0]<br> [5 1 0]<br> [5 6 4]<br> [5 6 7]<br> [3 2 0]<br> [3 1 0]<br> [3 6 2]<br> [3 6 7]<br> [3 5 1]<br> [3 5 7]]</blockquote><div><br></div><div>I tried some options using the keyword "qull_options", but I could only get results consisting of 12 simplices.</div></div><div><br></div><div>Instead, using Qhull library directly</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">rbox c D3 | qconvex p i</blockquote><div><br></div><div>I got the result I wanted with just 6 simplices:</div><div><br></div><div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">4 6 2 0 <br>1 5 4 0 <br>5 7 6 4 <br>3 1 0 2 <br>7 3 2 6 <br>3 7 5 1</blockquote></div><div><br></div><div>And using the option "Qt" I got the same result from scipy:</div><div><br></div><div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">6 2 0 <br>4 6 0 <br>5 4 0 <br>1 5 0 <br>5 6 4 <br>6 5 7 <br>2 3 0 <br>3 1 0 <br>6 3 2 <br>3 6 7 <br>3 5 1 <br>5 3 7 </blockquote></div><div><br></div><div>My question is: I want to get the "merged" version of the convex hull results for 3-D points. In the example, I want the 6 simplices case instead of the 12 (N x 3) format.</div><div><br></div><div>How could I get that from scipy? Is it possible?</div><div><br></div><div>Thank you for help!</div><div>Regards,</div><div>Rafael.</div></div>