Loading

OpenScad Rack & Pinion generator

by racatack, published

OpenScad Rack & Pinion generator by racatack Jun 26, 2016
0 Share
Download All Files

Thing Apps Enabled

Order This Printed View All Apps

Contents

Tags

Design Tools

SCad

Use This Project

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

1818Views 977Downloads Found in Engineering

Summary

Updated 7-13-16 - Added an enhanced version (v1.1 of the .scad files) that has more capabilities for generating mounting flanges, and a few more instructions for getting started. If you don't need mounting flanges or instructions, the first version works fine and has fewer variables to deal with.


Mounting distance between rack and pinion:
When installed in a mechanism the ideal mounting distance between the bottom surface of a rack and the center of a pinion can be determined by:
"mount_distance = height + inner_radius" where 'height' is user specified in the program parameters (as distance from bottom of the rack to the tips of the teeth) and 'inner radius' = [mm_per_tooth*(number_of_teeth-2)/3.1415926/2]

For more info see descriptions in the .scad files for pitch radius, outer radius and root (or inner) radius.


This is a mod to thing:5505, Public Domain Involute Parameterized Gears by 3dexplorer. It incorporates changes suggested in the 11/11/15 comment by quisam2342 to fix noted problems in rack generation at various tooth sizes.

Also adds options to create a stiffening 'backboard' along one side of the rack and 'stop blocks' at one or both ends of the rack.

The example gear train given in thing:5505 has been tweaked to optimize for generation of a rack and pinion pair.

I added lots of comments to (hopefully) make the resulting .scad file readily usable by people not familiar with OpenScad. If you fall into that category, download and install OpenScad from http://www.openscad.org/downloads.html, then open this .scad file. Read through the code and comments, particularly near the bottom, in the section labeled 'example rack and pinion'.
Next, change a parameter value in the example variables and then press the button that looks like a dotted-line cube with fast-forward arrows- that will generate a preview and you'll be able to see the effect of whatever parameter you changed.
To export an stl, press F6 to render the gears (it may take a while) and when it's done, press STL in the upper tool bar, or select File/Export/STL in the drop down menus.

Note that by using (relatively) large negative numbers for the stop blocks and/or backboard heights, you can create flanges that might be useful for mounting the rack, as in a couple of the stl files included here. (These capabilities have been expanded on as separate features in v1.1)

Many thanks to 3dexplorer for the original work and to quisam2342 for his/her contribution.

More from Engineering

view more

All Apps

3D Print your file with 3D Hubs, the world’s largest online marketplace for 3D printing services.

App Info Launch App

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

3D Print a wide range of designs with Treatstock. Easy to use tools to get the perfect result. The global 3D printing network that connects you with high-quality and fast working print services nea...

App Info Launch App
Jun 26, 2016 - Modified Jun 26, 2016

Haha- I can relate, but from the other side of it. It would probably take me an hour or less to draw the rack and pinion I needed in CAD, but I figured there had to be a customizable setup on Thingiverse. Found the original http://www.thingiverse.com/thing:5505 , and then spent the whole day hacking in openscad (never used it before)! But next time I need a rack and pinion (or to tweak my current project) it'll be smooth sailing...

Public Domain Involute Parameterized Gears

Oh I sooooo hate you right now. I just spent hours this week learning how to make a rack & pinion. Now that the projects done, this was exactly what I needed. Lol

Top