This pull request adds a truncated-cone-with-spherical-caps Shape, to which I've given the slightly easier to type name Horn. It is much like a Cone or a Cylinder but each of the ends can have their diameter set independently using frontDiameter and rearDiameter. It should be useful in creating more organic models.
I tried to follow the architecture of similar Shapes but I'm not sure I succeeded in making it readable. I'm also not sure if my eccentricity calculations make any geometric sense but the effects ends up looking good enough.
This pull request adds a truncated-cone-with-spherical-caps Shape, to which I've given the slightly easier to type name Horn. It is much like a Cone or a Cylinder but each of the ends can have their diameter set independently using
frontDiameter
andrearDiameter
. It should be useful in creating more organic models.I tried to follow the architecture of similar Shapes but I'm not sure I succeeded in making it readable. I'm also not sure if my eccentricity calculations make any geometric sense but the effects ends up looking good enough.