Inset by Smoothing Group

12 votes
Author Name: 
Vojtech Cada

As the mcg installation process was pretty convoluted, I decided to redo the InsetBySmoothingGroup modifier in maxscript - the speed is the same and you don't have to care about different versions of max behaving different, connecting disconnected nodes and all that stuff. Now it's just one .ms file, and there's no vertex weld needed either.

So after installing it, you will get a pair of modifiers, the InsetBySmoothingGroup modifier will inset mesh polygon groups by their smoothing groups, which helps to keep flat surfaces flat smoothed when chamfered instead of the usual mess. Keep in mind that for it to work, the smoothing groups should not be shared, i.e. no polygons that have both smoothing group 1, 2 etc. set.

The InsetChamferStack scripted modifier automates the process of using the InsetBySmoothingGroupmodifier with a Chamfer modifier for a quick and clean rounded edges effect. You can see it in action in the gif above. There is also InsetQuadChamferStack for those who want to use the Quad Chamfer modifier by Marius Silaghi instead, and InsetFixChamferStack which uses a different way of insetting trying to avoid diagonal edges on corners.

Additional Info: 

Installation: Copy the .ms file to your scripts\startup folder or run as a script if you only want to try it out. If you want to be able to use it from the modifier sets panel, place the .ms file instead inside the stdplugs/stdscripts folder in the 3ds max root folder.

Upon running, the modifier will be available in the modifier stack.

And if you put it inside the stdscripts folder before evaluating it, you can add it to a modifier set for easier accessibility.

Known Issues: If the chamfer amount doesn't seem to do anything or collapses unwanted verts, bump it up or lower it down to compensate for it. Apparently, in max 2016 it's not guaranteed that the script/mcg graph will work. If in doubt, ensure that you have SP3 installed and try it. See comments below for further details.

Version Requirement: 
3ds Max 2016
InsetChamferStack.ms4.96 KB
InsetFixChamferStack.ms14.88 KB
InsetQuadChamferStack.ms5.01 KB
InsetFixQuadChamferStack.ms14.89 KB


Comment viewing options

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

Thank you +1

Thank you so much for these incredible scripts. Thank you!


locb's picture

Sad news for me. Thanks for

Sad news for me.
Thanks for good script, and great idea.

Swordslayer's picture


Well, it's not 'just inset', marking matching smoothing groups would be additional operation and already it's crawling slow even with medium meshes. So in its current form (a maxscript modifier), I don't plan on adding any such features. There might be a compiled rewrite later on but not any time soon.

locb's picture

And i found the answer,

And i found the answer, InsertFix created different smoothnig groups inside poligons, and QuadChamfer created by selected edges.
Can it work on diffren pipeline? InsertFix not created diffrent smoothing groups, just made insert and quadchamfer work by smoothing groups method?

locb's picture

Hi. When i tested your script

When i tested your script (, quadchamfer created sharp edges, when i change shading to "Sharp Bouandary" chamfer becom smooth.
When Quadchamfer created manialy "SmoothBouandary" work well, What i'm doing wrong?

hansolocambo's picture

That's an amazing piece of

That's an amazing piece of code you wrote here mate. I mean it. I did some tests on complex hard surface meshes and even in areas where the wireframe isn't that clean, the result after a few adjustments is stunningly pro and beautiful. Thanks a lot for sharing your obvious talent with the 3DSMax community !
Somehow after many tests on hard surface assets, InsetQChamferStack gave me better results overall. I had artefacts on corners with

Swordslayer's picture


The quad chamfer version is for those who have the quad chamfer modifier installed. If you don't have it, it won't work (obviously).

monah62rus's picture

Gives an error message.

He threw scripts and when you press as you have video outputs such a mistake.

Comment viewing options

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