A number of surfaces are difficult to visualize in spite of of whether they’re modeled as polygons, NURBS, or subdivision surfaces. One example is a gear. The following steps are not compulsory for structure a NURBS gear out of three surfaces. Step 2 does engage trigonometry, but it’s not too throbbing.
1. Decide the radius of your gear. Conclude how a lot of teeth you would like or how a lot of degrees every tooth would occupy on a matching circle. For example, 36 teeth would reside in 10 degrees every (totaling 360 degrees). If every tooth engaged 15 degrees, the gear would require 24 teeth. The figure of teeth should be a whole numeral.
2. Plug your radius and tooth degrees into the subsequent formula:
w = sin(degrees * .009) * radius w is one half of the width of a tooth as deliberate from one tooth “valley” to the tooth middle. This value is used in step 3. For example, if your radius is 7 and you have 20 teeth occupying 18 degrees every, the formula looks like this:
1.129 = sin(18 *.009) * 7 sin is the sine purpose. If you don’t have a calculator with superior math functions handy, you can take out this line in the Script Editor to get hold of an answer: float $test=sin(18*.009)*7; print $test; Ultimately, this formula is based upon the trigonomic complement that relates a circle’s chord length (a line intersecting two points on the perimeter of a circle) to its radius and theta (the point of view forming an arc as deliberate in radians). The trigonometry may be written like this: c = 2r sin(theta/2)
3. With the radius and w value handy, build a curve that represents a single tooth of the gear. Decide Create. CV Curve Tool, and in the top workplace view, draw a curve along the X axis. The tooth should be the accurate distance from the origin (which is the radius) and the accurate width (which is twice the w value). If essential, use the Distance tool to properly size and place the curve (decide Create. Measure Tools . Distance Tool). You can round off the w value to one or two decimal places to make the building easier. When the curve is finished, its pivot point should be at 0, 0, 0; if not, move the pivot back to the source.
Related Posts in this Category
Filed Under: Maya Modeling
About the Author: