Loading

OpenSCAD Helical Gears

by catarina, published

OpenSCAD Helical Gears by catarina Nov 24, 2009

Featured Thing!

Description

This is the second half of my openscad.org gear sets.

I couldn't get the top and bottom parts of the double helical to union properly, so I ended up offsetting the bottom piece by 0.1mm :( It skeins and prints fine though.

This thing is part of a set:
- spur gears: thingiverse.com/thing:1336

UPDATE: I'm printing some gears and noticed a couple mistakes on the openSCAD script: the variable 'orientation' wasn't doing anything and the value 'extrudeInDiam' was in fact being used as radius. They're both fixed now and I uploaded a new version of the script.

Recent Comments

view all
Hi aguaviva. This is a very old script and the gears aren't involute. There are better and more recent scripts for gears on Thingiverse.
Hi Aguaviva. This is a very old scrip and the gears aren't involute. There are better and more recent scripts for gears on Thingiverse.
Do your gears mesh properly? The teeth are just flat and this will cause lots of troubles, you may want to read more here: en.wikipedia.org/wiki/Involute_gear

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

Instructions

The openSCAD file accepts parameters for height, pitch diameter, shaft diameter, double helical, teeth (number of teeth, addendum, dedendum, tooth width, angle, orientation), shape (solid, star, circles), extrude in and out (diameter, height), rome (pitch diameter, gear height, number of teeth, addendum, dedendum, tooth width, rotation).
Do your gears mesh properly? The teeth are just flat and this will cause lots of troubles, you may want to read more here: en.wikipedia.org/wiki/Involute_gear
Hi aguaviva. This is a very old script and the gears aren't involute. There are better and more recent scripts for gears on Thingiverse.
Hi Aguaviva. This is a very old scrip and the gears aren't involute. There are better and more recent scripts for gears on Thingiverse.
Nice gears! I'm creating a gear set to put some miniature gutter brooms in motion, 6 of them in the row of two each. I was curious if you think that your gears would work for my project. Thanks for your help!!!
Hi, thank you for your enthusiasm :) However, my gear designs are pretty old. There are much better and more advanced openSCAD gears in Thingiverse now, and I'd strongly recommend you base your design on those instead. Best of luck for your project!
Have you had any luck on making the internal gears? I am looking for a gear with both internal and external teeth. I need a small gear to drive the outer teeth of a the main ring with an array of smaller gears rotating inside it.
Hey WardElder. Have you checked the other gear openSCAD scripts on Thingiverse? There are some pretty good ones around and they might already have what you're looking for.
Try this site for doing the calculations. Makes using your SCAD file much easier.

scriptasylum.com/rc_speed/gear_calc.html
Ooh, that's a great resource. Thanks!
Very cool. I made some slight modifications to get rid of the "skin" on the bottom of your model. It's the simple addition of a translate([0,0,-1]) and adding 1 or more to the height to the second item in your difference() sections. 8-)
I suggest the following modifications:

//CIRCLE
module circle() {
rootRad=pitchDiam/2-dedendum;
difference(){
solid(gearHeight-0.1*doubleHelical, pitchDiam);
for (c=[1:circleNum]){
rotate(a=c*(360/circleNum)) translate([0,rootRad/2, -gearHeight*doubleHelical]){
//cylinder(gearHeight+gearHeight*doubleHelical, circleDiam/2,
circleDiam/2);
oval( circleDiam,circleDiam/2,gearHeight+gearHeight*doubleHelical);
}
}
}
}
Very cool, thanks!
your gears remind me of a toy i had as a child (born in 74) called spirograph. wonderful stuff. i'd love to have it again for me and my kids.
What a great idea! I'm working on some internal gears as well. If that design works maybe it'll allow us to print a spirograph set :)
Nice script. Making one for the rack would complete the set fully :)
I don't suppose there is any chance of a scad script for internal gears is there ??

The ones so far are pretty awesome

Being able to print out the parts for harmonic and planetary gearboxes would be unreal. 8-)
Yeah, I'd like to add internal, crown, and rack. It shouldn't be too hard to modify these scripts for that. Maybe I'll have the chance to do it at a hacking marathon this week :)
That would be really, really, cool.

If you take a planetary gear arrangement and split the annular gear (internal gear) around the middle but make one half have one less tooth than the other you can make the gear box behave like a cross between a harmonic and planetary gear arrangement and get very high reduction rations out of a si
ngle stage.

Most excellent for efficiency and keeping the number of parts low.

The clever bit is making two annular gears that are one tooth different but still mesh with the planet gears.

Consider if the two annular gears had 100 and 101 teeth respectively you could get a 100:1 reduction if one
of the annular gears was held stationary. That is 100 complete revolutions of the planet assembly would give one revolution of the non stationary annular gear.

Multiply this by the reduction of sun to planet gears and you get a very compact and efficient gear box. ;)

I guess doing this with planet
and sun gears made from your helical doubles would truly be poetry in motion. 8-)
I just imagine sort of robots using it
Love them! I take it the samples you've uploaded are all compatible with one another in terms of tooth size and gap?
Thanks :) The three large gear models do match in terms of tooth size and gap, but they also have a bunch of other characteristics (height, teeth orientation, double v. single helical, etc.) that make them incompatible. My idea was that you'd just use the openSCAD file to generate exactly what you need, and these samples were picked at random. However, if you don't want to work with the scad file, just let me know the characteristics of the models you need and I'll be happy to upload them here or send them out to you.
Wahey more gears!
I've been incorporating an "overlap" variable in my OpenSCAD code to get union and difference operations to cleanly merge and cut pieces. It extends the merging or cutting surface by a fixed amount at a known location.

See the openscad example I attached to my Lego Compatible Disc Buttons - thingiverse.com/thing:1005
Thanks! That's a great idea. I'll start using an overlap surface as well.
excellent prints! what printer did you use ?
I printed these on our MakerBot.
Nice results! Very solid faces, did you use the Diaphragm setting in Skeinforge or just lots of infill?
Well, we have a really good bot :) It has prototype makerbot microstepping drivers and Zach adjusted our skeinforge preferences so that everything runs smoothly.

I also learned from him to build large models from SDcard to avoid buffer issues. I noticed that it makes such a difference that now I build everything, even something as small as ring, from the card. Another thing I picked up from Zach is to pre-heat the extruder.

Finally, I look very, very closely at my skeinforge preview and keep making small adjustments to the model until the preview looks just right.

I guess that all these things added up result in some very nice prints :)
WOW. Words just fail here.

These are exquisite.
Top