Makeathon ends in00:00:00:00
Docs Home
/
KCL Standard Library
/
Functions
/
Std Gear Spur

gear::spurFunction in std::gear

WARNING: This function is experimental and may change or be removed.

A spur gear (like a helical gear, with a helix angle of 0).

The gear will be placed at (0, 0, 0) in the global scene, and extruded up the Z axis. Use translate() and rotate() to move it around once it's created.

Arguments

NameTypeDescriptionRequired
nTeethnumber(_)A number.Yes
modulenumber(Length)A number.Yes
pressureAnglenumber(Angle)A number.Yes
gearHeightnumber(Length)A number.Yes

Returns

Solid - A solid is a collection of extruded surfaces.

Examples

Found a typo?