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).
The circumference of a circle is calculated as: 2? * radius
Where ? (Pi) = 3.14159, the circumference of cog20 is:
= 2? * radius
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
Select the alternate faces. Extrude and scale them as indicated in 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.