11 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.
jeffreysbrown's picture

Max 2016 good!

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

kavehmad's picture


How can we instal it?

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.

Recent rants and code snippets:

kavehmad'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

Nik's picture



Swordslayer's picture

Tell me what models you miss

Tell me what models you miss and I'll see what I can do about that.

Recent rants and code snippets:

visualizer's picture


Technically perfect approach of making model sin max...!

May be gradually we get almost all typical models with their technical creation parameters to generate in max!

lightcube's picture

Another masterful slice of

Another masterful slice of the sword!


Shawn Olson

Developer of Wall Worm

Comment viewing options

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