Back to docs

Mini Servo Gear
A prpol mini_servo_gear part

This is what is generated from mini_servo_gear();.

Customizing mini_servo_gear with OpenSCAD parameters

mini_servo_gear is a size 1 prpol spur gear with a splined socket that presses onto a mini servo's output horn, so the servo can drive the prpol gear system directly. Here it is called with every parameter spelled out:

mini_servo_gear( horn_bumps = 20, horn_dip = 0.2, horn_fudge_factor = 0.2, measured_horn_diameter = 4.83, echo_parameters = true );
horn_bumps the number of bumps around the horn socket (default 20).
horn_dip the depth of each bump in mm (default 0.2).
horn_fudge_factor added to the measured horn diameter for the fit, in mm (default 0.2).
measured_horn_diameter the measured diameter of your servo's horn in mm (default 4.83).
echo_parameters when true (default), the OpenSCAD console echoes the full parameter list when you preview or render the module.

If you leave a parameter out of the module call, that parameter will just have the default value. For example, these are all valid module calls:

mini_servo_gear(); mini_servo_gear(measured_horn_diameter = 4.9, horn_fudge_factor = 0.3);

When shopping for mini servos, keep in mind that some mini servos rotate continuously and some rotate only between 0 and 180 degrees. Be careful to choose the type your project actually needs.