Parametric Cycloid Gear

by iluvcapra, published

Parametric Cycloid Gear by iluvcapra Jan 2, 2014
1 Share
Download All Files

Thing Apps Enabled

Order This Printed View All Apps


Liked By

View All

Give a Shout Out

If you print this Thing and display it in public proudly give attribution by printing and displaying this tag.

Print Thing Tag


Thing Statistics

4475Views 1373Downloads Found in Parts


My first attempt at a parametric object. The critical parameters that define a cycloid gear in this module are its circular pitch and number of teeth; the code then extrapolates other dimensions from there. As long as two gears have the same circular pitch they should mesh.

Please exercise the object and post here if you find any bugs! Will also post revisions to this Gist at GitHub.


You'll need OpenSCAD in order to convert this script into a gear STL.

The module you should concern yourself with is CycloidGear, it has a prototype like this:

module CycloidGear(num_teeth, circ_pitch, base_circle_ratio, pinion_circle_ratio, h)

  • num_teeth is the number of teeth.
  • circ_pitch is the circular pitch, the length of an arc from the center of one tooth to the next, along the root circle. (The circumference of the root circle is num_teeth * circ_pitch.)
  • (optional) base_circle_ratio is the ratio of the base circle radius, the large circle the epicycle rolls around, to the root circular pitch. The default is to make it 6 times the length of the circular pitch.
  • (optional) pinion_circle_ratio is the ratio of the pinion circle radius, the small circle that rolls around the base circle, to the circular pitch. By default this circle's radius is equal to the circular pitch.
  • h is the height of the gear.

The gear is rendered with its origin at the origin of the context, with its rotational axis along the Z. Specifying a hole for an axle is not included in this module.

Also available is a $precision global variable. This controls how many polygons are used to construct the the curves that form the tooth.

More from Parts

view more

All Apps

Auto-magically prepare your 3D models for 3D printing. A cloud based 3D models Preparing and Healing solution for 3D Printing, MakePrintable provides features for model repairing, wall thickness...

App Info Launch App

Kiri:Moto is an integrated cloud-based slicer and tool-path generator for 3D Printing, CAM / CNC and Laser cutting. *** 3D printing mode provides model slicing and GCode output using built-in...

App Info Launch App
KiriMoto Thing App

With 3D Slash, you can edit 3d models like a stonecutter. A unique interface: as fun as a building game! The perfect tool for non-designers and children to create in 3D.

App Info Launch App

Print through a distributed network of 3D printing enthusiasts from across the US, at a fraction of the cost of the competitors. We want to change the world for the better through technology, an...

App Info Launch App

Quickly Scale, Mirror or Cut your 3D Models

App Info Launch App

Treatstock is an online platform that offers decentralized manufacturing services such as 3D printing and CNC machining for business-to-business and business-to-consumer sales all over the world. W...

App Info Launch App

3D print your favourite design with NinjaPrototype, a professional 3D manufacture with consistent quality and speed.

App Info Launch App