<div dir="ltr">Radius > 0 may or may not add a side, or add 2 sides, depending on other parameters. Taper > 0 may add 1 but could add 2 unless one or both tapers are 1.0. It's all very complex with lots of interactions. We could probably get together sometime and hash it all out but I probably wont have time for a while. One could also probably make the prim with PrimMesher and count the number of sides, but PrimMesher occasionally adds an extra side (well actually fails to delete an extra side) so may not be a perfect solution, and would also be somewhat inefficient way of doing it.<br>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Mar 25, 2014 at 11:40 PM, Oren Hurvitz <span dir="ltr"><<a href="mailto:orenh@kitely.com" target="_blank">orenh@kitely.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Yikes! How can I know these things in order to fix GetNumberOfSides()?<br>
<br>
If shape.pathTaperX>0 or shape.pathTaperY>0 then +1 side? But I think this<br>
doesn't actually happen unless Radius is also >0. I really don't understand<br>
how these parameters interact.<br>
<br>
Maybe we should just drop GetNumberOfSides() altogether. Every place that<br>
currently uses this function should simply check all 32 possible sides, and<br>
Bob's your uncle.<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://opensim-dev.2196679.n2.nabble.com/How-many-sides-does-a-tapered-torus-have-tp7579043p7579059.html" target="_blank">http://opensim-dev.2196679.n2.nabble.com/How-many-sides-does-a-tapered-torus-have-tp7579043p7579059.html</a><br>

<div class="HOEnZb"><div class="h5">Sent from the opensim-dev mailing list archive at Nabble.com.<br>
_______________________________________________<br>
Opensim-dev mailing list<br>
<a href="mailto:Opensim-dev@lists.berlios.de">Opensim-dev@lists.berlios.de</a><br>
<a href="https://lists.berlios.de/mailman/listinfo/opensim-dev" target="_blank">https://lists.berlios.de/mailman/listinfo/opensim-dev</a><br>
</div></div></blockquote></div><br></div>