OpenSCAD Helical Gears
Description
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.
Instructions
You must be logged in to post a comment.
Try this site for doing the calculations. Makes using your SCAD file much easier.
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);
}
}
}
}
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.
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-)
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.
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 - http://www.thingiverse.com/thi...
License

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.