Difference between revisions of "Reference:Ovus"
Jholsenback (talk | contribs) m (extended updates) |
Jholsenback (talk | contribs) m (technical corrections) |
||
Line 12: | Line 12: | ||
</pre> | </pre> | ||
− | <p>Where <em>Bottom_radius</em> is a float value giving the radius of the bottom sphere and <em>Top_radius</em> is a float specifying the radius of the top sphere. The top and bottom spheres are connected together with a suitably truncated lemon, or self intersection of a torus, that is automatically computed so as to provide the needed continuity to the shape. The <code>distance</code> is a float value that represents the length between the center of the two spheres, defaulting to <em>Bottom_radius</em>. The <code>radius</code> float value represents the inner circle of the connecting torus and it's default is twice the <em>Bottom_radius</em>. The <code>precision</code> float value is the tolerance used for the root solving of the connecting torus. Additionally <code>sturm</code> is now allowed as an object modifier.</p> | + | <p>Where <em>Bottom_radius</em> is a float value giving the radius of the bottom sphere and <em>Top_radius</em> is a float specifying the radius of the top sphere. The top and bottom spheres are connected together with a suitably truncated lemon, or self intersection of a torus, that is automatically computed so as to provide the needed continuity to the shape. The <code>distance</code> is a float value that represents the length between the center of the two spheres, defaulting to <em>Bottom_radius</em>. The <code>radius</code> float value represents the inner circle of the connecting torus and it's default is twice the greater of either <em>Top_radius</em> or <em>Bottom_radius</em>. The <code>precision</code> float value is the tolerance used for the root solving of the connecting torus. Additionally <code>sturm</code> is now allowed as an object modifier.</p> |
<table class="centered" width="700px" cellpadding="0" cellspacing="10"> | <table class="centered" width="700px" cellpadding="0" cellspacing="10"> | ||
Line 19: | Line 19: | ||
<td> | <td> | ||
<ul> | <ul> | ||
− | <li>The center of the top sphere lies on the top of the bottom sphere | + | <li>The center of the top sphere lies on the top of the bottom sphere</li> |
− | <li>The bottom sphere of the <code>ovus</code> is centered at the origin | + | <li>The bottom sphere of the <code>ovus</code> is centered at the origin</li> |
− | <li>The top sphere of the <code>ovus</code> lies on the y-axis | + | <li>The top sphere of the <code>ovus</code> lies on the y-axis</li> |
− | <li>The minor radius of the lemon is twice the largest radius | + | <li>The minor radius of the lemon is twice the largest radius</li> |
+ | <li>The <code>distance</code> <em>must</em> be greater than or equal to <em>Bottom_radius</em></li> | ||
+ | <li>The <code>radius</code> <em>must</em> be greater than or equal to half the sum of <em>Bottom_radius</em>, <em>Top_radius</em> and <code>distance</code></li> | ||
</ul> | </ul> | ||
</td> | </td> | ||
Line 40: | Line 42: | ||
</tr> | </tr> | ||
</table> | </table> | ||
− | |||
− | |||
<p class="Note"><strong>Note:</strong> According to the ratio of the radius, the pointy part is the smallest radius, but is <em>not</em> always on top!</p> | <p class="Note"><strong>Note:</strong> According to the ratio of the radius, the pointy part is the smallest radius, but is <em>not</em> always on top!</p> |
Revision as of 15:21, 15 July 2017
An ovus
is a shape that looks like an egg. A Change in version 3.8 has extended the syntax of the ovus
object by adding radius
, distance
and precision
controls.
The syntax is as follows:
ovus { Bottom_radius, Top_radius [radius Inner_radius] [distance Vertical_distance] [precision Root_tolerance] [OBJECT_MODIFIERS...] }
Where Bottom_radius is a float value giving the radius of the bottom sphere and Top_radius is a float specifying the radius of the top sphere. The top and bottom spheres are connected together with a suitably truncated lemon, or self intersection of a torus, that is automatically computed so as to provide the needed continuity to the shape. The distance
is a float value that represents the length between the center of the two spheres, defaulting to Bottom_radius. The radius
float value represents the inner circle of the connecting torus and it's default is twice the greater of either Top_radius or Bottom_radius. The precision
float value is the tolerance used for the root solving of the connecting torus. Additionally sturm
is now allowed as an object modifier.
|
|
Note: According to the ratio of the radius, the pointy part is the smallest radius, but is not always on top!
Note: See the following MathWorld references for more information about the math behind how the ovus
object is constructed.