I've created some scripts in the past, but most of them were grabbed from the Listener and even then they were pretty basic. Now I wanted to automate the applying of a quad chamfer + turbosmooth with some settings, but I cannot make it work when doing it for multiple objects. After some reading, the best I could come up…
Just to be thorough... You can make the script faster in several ways. And more readable too. :) 1. Avoid changing selection by using AddModifier as opposed to ModPanel.AddModToSelection. Selection changes update the UI and make things very slow. 2. Create only one pair of modifiers in memory and apply copies to the…
Thanks! About the script, I just assumed you didn't want an instanced modifier since you were creating them in a loop. Applying an instance modifier is actually easier and faster. macroScript chamfnSmooth
category:"Jus Tools"
toolTip:"Chamfer Smoother"
( cMod = Chamfer() cMod.chamfertype = 1 cMod.segments = 1 tMod =…
@monster Thanks Juan!! I really thank you for taking the time to write all those tips too; they seem simple enough for a beginner like myself to understand what they're about. Really cool that you moved everything to variables (still find it weird that maxscript doesn't need us to define what those variables are, ha...) so…
You were very close you just needed to change your selection for modPanel.addModToSelection to work correctly. NOTE: I don't have Quad_Chamfer, so I just tested with Chamfer (which has quad support since v2015). macroScript chamfnSmooth
category:"Jus Tools"
toolTip:"Chamfer Smoother"
( sel = selection as array for obj in…