Valid XHTML 1.0!

Gear Generator

gear.png

Generates a gear as a .map file to be opened in GtkRadiant.

outerRadius: The radius of the outside of the gear (where the teeth end).
innerRadius: The radius of where the teeth begin.
centerRadius: The radius of the inside hollow section of the gear. Can be 0. The gear is constructed such that an appropriately matched cylinder generated by the Cylinder Generator will fit perfectly inside this hole. Likewise for discs generated by the Disc Generator and corkscrews generated by the Corkscrew Generator.
outerThickness: The thickness of the teeth at the outside perimeter.
innerThickness: The thickness of the teeth at the inner radius.
centerThickness: The thickness of the gear at the beginning of the center hollow section.
teeth: The number of teeth the gear has.
outerToothLengthRatio: The ratio of the arc angle of outer tooth to the arc angle of the section that is missing after the tooth at the outer perimeter. Specify -1 to mean an infinite ratio.
innerToothLengthRatio: The ratio of the arc angle of inner tooth to the arc angle of the section that is missing after the tooth at the inner perimeter. Specify -1 to mean an infinite ratio.
offsetAngle: The angle, in degrees, by which to rotate the gear counter-clockwise. When this value is 0, the bottom inside of the first tooth will be touching the X axis.