19 votes
Author Name: 
Vojtech Cada

Involute spur gear primitive, complete with tooth undercut and all-quad topology. Unencrypted and fully open for further hacking.

Gear scripted primitive

Additional Info: 

For two gears to mesh well, their modules and pressure angles have to be the same. The distance of their centers should be the sum of their extended pitch diameters (i.e. with the profile shift included). There's also 'mm per Unit' spinner in case you work in generic units/different scale.

To learn more about the terminology and basics of gear design, see The ABC's of Gears (start with page 12, chapters 2, 3 and 4).

Installation: Copy the .ms file to your scripts\startup folder or run as a script if you only want to try it out. The object primitive will be available under Examples in the Create panel.

Acknowledgments: Writing this script would be next to impossible without this book:
Stephen P. Radzevich; Darle W. Dudley (21 October 1994). Handbook of Practical Gear Design. CRC Press. ISBN 978-1-56676-218-2.

Version Requirement: 
3DS Max 4.2
gear.ms17.08 KB


Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
To-mos's picture

Works fine with version 2016

I am currently using 3ds Max 2016 SP4 without any problems.

x_OL's picture

in 3ds Max 2020.3 - working good, and need additional options)

Thanks for you work
3ds Max 2020.3 - working good! Installed today and don`t noticed any bugs)
Turbosmooth work good with this object also. I agree with cj - and think that additional options like bevel, spokes, holes in the gear disk itself, thickening around the shaft hole etc - will be very usefull and make work with such object more flexible and non-destructive

old man's picture

more option

more option like (bevel gear) (worm gear) and input-output gear designing match together

DavidKing's picture

No longer works in 2018

I looked at the code, but I'm too much of a noob to figure it out.


jeffreysbrown's picture

Max 2016 good!

Works fine in 2016. Really well implemented -- thanks!

kavek's picture

very useful

very useful

luckmc's picture

Powerful Script

When do the animation industry is more suitable.

My scripts:

Swordslayer's picture

It's a scripted primitive... there are a few steps you should make sure you didn't skip - if you just evaluate it, it will create a new category called "Examples" in the Geometry tab of the Create panel, so it won't automatically start the object creation and it might seem it does nothing. See the attached image showing how to locate it (screengrabs from max 9 and max 2017).

Now, evaluating it as a script will only make this primitive accessible until the max session ends, if you want to have it there all the time, put it in the Startup scripts folder, as indicated in the 'Installation' part of the description.

Anyway, as your comment-history is full of complaints that script XY doesn't work with max version ABCD while it works there perfectly well, I recommend reading through the tutorial on how to install scripts first.

kavek's picture

it doesn't work with

it doesn't work with verson2016

3dline's picture

Perfect gear

at last someone who understand mechanic built a gear for 3Ds MAX...
thanks a lot

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.