OpenSCAD Spur Gears
by catarina, published
Description
The combinations of parameters are too many to upload an STL for each, so I just picked a few.
I also made a version for helical gears: thingiverse.com/thing:1339
Recent Comments
view allOk, I found how to split the two cogs so they can be printed easily.
In "module bevel_gear_pair"
look for the line
"translate([0,0,-pitch_apex2])"
and change it to something like
"translate([-10,80,-pitch_apex2])"
and re-render it. Your two bevel gears will now be on the same plane some distance apart.
10 lines before that, you may also want to comment out
"rot
ate([0,0,90])" so both gears are on the same axis for printing.
:)
Very nice.
One slight snag, though, is how can you print these when you can only save out one STL file with all the cogs? My UP! prints both cogs great, but they are welded together, and the orientation on the bevel gears is not great for the one at right angles.
Normally I can split the STL file neatly int
o parts, but a cog is intermeshed...
Top tip: If you want to make the printed cogs (or any part) far stronger, flood them with cheap superglue and allow to dry. :)
Tags
License
Give a Shout Out
Instructions
There is also an option to involute based on pressure angle, but it's not the real thing - I'm waiting for the rest of the openscad.org documentation to apply the proper geometry formula here.
File Name
Downloads
Size
Comments
You must be logged in to post a comment.
This inspired me to look at involutes. I came up with this: http://www.thingiverse.com/thi...
Hi Catarina,
I was working on a true involute gear OpenSCAD script based on yours and many other gear plugins but I seem to have gotten stuck in getting a true involute curve (using OpenSCAD polygons). If you or anyone else here could help verify my math it would be very appreciated!
my involute gear script: http://github.com/TheOtherRob/...
(my Gear script is on github but I'll post it here as well once it's working)
Would be nice to specify the inner diameter, or if the shaft are not circular but flat at one side, then that too.
Also there is one more case, when you "fix" the gear to a motor shaft using a nut and a screw in it.
Catarina ! Wow , good work.
You beat me I was going to work on gear sets this weekend , but now I don't have to !
Nice.
:)
If you're in a mood to model gears, I'm sure there's a lot of work still to be done here :) The involute comes to mind, but there are probably many other things that can be improved and added.
Thanks, gears are fun :) I kept finding and fixing bugs as I generated the models for the prints, but I didn't do any other tests. If you use the openSCAD code let me know about any problems you run into or suggestions you might have. I'd love to get this right as I plan on using gears for a few things.
Thanks! I tried working out some openSCAD gears myself, but kept running into problems
i really need to modify thingiverse. there's no 'i love it' option.... ;)

Very nice.
One slight snag, though, is how can you print these when you can only save out one STL file with all the cogs? My UP! prints both cogs great, but they are welded together, and the orientation on the bevel gears is not great for the one at right angles.
Normally I can split the STL file neatly int
o parts, but a cog is intermeshed...
Top tip: If you want to make the printed cogs (or any part) far stronger, flood them with cheap superglue and allow to dry. :)
Ok, I found how to split the two cogs so they can be printed easily.
In "module bevel_gear_pair"
look for the line
"translate([0,0,-pitch_apex2])"
and change it to something like
"translate([-10,80,-pitch_apex2])"
and re-render it. Your two bevel gears will now be on the same plane some distance apart.
10 lines before that, you may also want to comment out
"rot
ate([0,0,90])" so both gears are on the same axis for printing.
:)