### Keep up-to-date with Free tutorials!!

Sign me up to receive third-party emails from 3dtotal's partners, too!

- Latest news
- Exclusive Shop Offers
- Preview early content
- Plus much more

Not Ready to take that step? OK, Why not just Subscribe to the RSS Feed

1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9
Modeling, Scripting and Animating Gears

By Chris Shaw
| 147269 Views
| 3
Software used:
Maya

## Calculate the Size of the Teeth

If we take cog20 as an example, it is a cylinder with a radius of 10 units and 20 teeth (subdivisions). We can discover the size of the teeth by calculating the circumference of cog20 and dividing it by 20 (Fig.26).

Fig. 26

The circumference of a circle is calculated as: 2? * radius

Where ? (Pi) = 3.14159, the circumference of cog20 is:

= (2*3.14159)*10
= 62.831

Therefore, the size of the teeth is 62.831/20 = 3.14155 units each.
A door with 10 teeth (subdivisions) would be 31.1415 units in height.
A door with 50 teeth (subdivisions) would be 157.077 units in height.
And a door with 20 teeth (subdivisions) would be 62.831 units in height.

Select pCube1 and modify values by opening the Channel Box. In the Shape Node, set the values to as follows (Fig.27):

• Width: 10
• Height: 62.831
• Depth: 40
• Subdivision Axis: 20

Fig. 27

Select the alternate faces. Extrude and scale them as indicated in Fig.28.

Fig. 28

Delete History and Reset Transformation. Rename pCube1 as "door".

The gear system should now be set up as indicated in Fig.29, containing five gears ([A] - [E]) and a door. The aim is to rotate gear01 [A] and cause door [F] to translate (move) up and down.

Fig. 29

< previous page next page >

1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9
Related Tutorials

Tutorial

Gallery Image.

Keywords: modeling, texturing, modo, portrait

(10)
0 30918

Tutorial

Gallery Image.

Keywords: Maya, ZBrush, Modeling, Character

2 27410

Tutorial

Gallery Image.

Keywords: Arch-viz, 3ds Max, snow, modeling

1 26734

Tutorial

Gallery Image.

Keywords: Animation, Rigging, Transformer, Decepticon, Modeling, Lighting

1 27491