Loading

OpenSCAD Spur Gears

by catarina, published

OpenSCAD Spur Gears by catarina Nov 23, 2009

Description

Even though there are lots of great gears on thingiverse, I couldn't resist the urge to model some too :)

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 all

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.

:)

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. :)

This is an awesome example of 3D Printing technology. :)

Makes

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, teeth (number of teeth, addendum, dedendum, tooth width), shape (solid, star, circles), extrude in and out (diameter, height), rome (pitch diameter, gear height, number of teeth, addendum, dedendum, tooth width, rotation).

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.

Comments

You must be logged in to post a comment.

-soapy- on Feb 13, 2011 said:

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. :)

-soapy- on Feb 21, 2011 said:

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.

:)

coasterman on Dec 25, 2010 said:

This is an awesome example of 3D Printing technology. :)

GregFrost on Jul 13, 2010 said:

This inspired me to look at involutes. I came up with this: http://www.thingiverse.com/thi...

Anonymous on Jun 12, 2010 said:

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)

kristianpaul on Dec 1, 2009 said:

Cheeers ! :-D

Anonymous on Nov 25, 2009 said:

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 on Nov 26, 2009 said:

Those are great suggestions, thanks!

Anonymous on Nov 25, 2009 said:

oops, the inner diameter is possible. The others are still valid though.

Anonymous on Nov 24, 2009 said:

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.
:)

catarina on Nov 24, 2009 said:

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.

catarina on Nov 24, 2009 said:

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.

guibot on Nov 24, 2009 said:

I totally love this!! congrats Catarina! nice work ;)

failrate on Nov 24, 2009 said:

Thanks! I tried working out some openSCAD gears myself, but kept running into problems

Anonymous on Nov 23, 2009 said:

Those Ikea coasters make a great background too.

hoeken on Nov 23, 2009 said:

i really need to modify thingiverse. there's no 'i love it' option.... ;)

dcb on Nov 23, 2009 said:

wow wow wow, I am impressed! very nice work!

Top