InsetFix Modifier

8 votes
Version: 
0.05b
Author Name: 
Vojtech Cada

An inset-by-SG type modifier that works similar to Chamfer modifier when set to zero tension. However, the max chamfer modifier is highly topology dependent and doesn't work well with diagonal and unconnected edges. This modifier fixes that behavior:

The insetFixChamferStack scripted modifier automates the process of using the InsetSGFix modifier with a Chamfer modifier for a quick and clean rounded edges effect.

Additional Info: 

The issues of the max chamfer modifier also exhibit when applied to an object with face groups inset by smoothing group - the chamfer will create peaks at the corners where different smoothing groups meet and inset creates diagonal edges there (see the top of the pic below). When applied after InsetFix instead, everything works as expected (bottom part of the pic):

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. If you put it inside the stdscripts folder before evaluating it, you can add it to a modifier set for easier accessibility.

Version Requirement: 
3ds max 2016
AttachmentSize
InsetFix.ms11.49 KB
InsetFixChamferStack.ms14.88 KB
InsetFixQuadChamferStack.ms14.89 KB

Comments

Comment viewing options

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

 

Depends, the Inset modifier only does inset, InsetFix also corrects the corners (see the image in this post) - because when you have diagonals coming to the corner (which is bound to happen with regular inset) and you apply chamfer modifier on top, the resulting chamfer radius at the corner will be smaller. InsetFix... well, fixes that - but it's a maxscript modifier so the speed cost might be too much for some people - if you don't really care about using chamfer on top or don't mind inconsistent chamfer radius, use just the inset modifier, if you don't work with complex meshes or don't mind the speed difference, use the insetFix modifier.

Recent rants and code snippets:
http://creativescratchpad.blogspot.com/

obaida's picture

OK

i got confused with your 2 posts (InsetFix Modifier - Inset by Smoothing Group)!?
Same scripts names , but different posts!?
so , witch one i have to use .
Thanks for this important scripts.

pixamoon's picture

`

yes, you right. this will work. thanks !

Swordslayer's picture

 

What about making the 'sharp' edges (borders of smoothing groups) selected? In that case, the result would be the same and you wouldn't have to select the edges beforehands.

Edit: I've updated the script to do exactly that, and also added a InsetFixChamferStack modifier that includes the InsetSGFix modifier (just pick one of them, this one adds InsetSGFix AND InsetFixChamferStack ) - when you add the InsetFixChamferStack modifier, it will build the modifier stack with chamfer modifier and a simple interface to control everything on top. Basically the same as here:

Redownload it and see if it helps.

Recent rants and code snippets:
http://creativescratchpad.blogspot.com/

pixamoon's picture

`

I have one suggestion. Can it keep selection from lower modifier? Right now is selecting new edges. It will be beter if it keeps lower selection - so next modifier (here chamfer) will apply to same selection as below. This could be just as a checkbox: "Keep selection". What you think ?

So cool to have Inset as modifier :) Thanks

pixamoon's picture

+1

Great work! Thanks!

Comment viewing options

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