help needed : symmetry - shell - turbosmooth in one hotkey

hello
i am currently studying 3d character modeling
i would really appreciate it if someone make a script that allows me to symmetry shell and turbosmooth (in respective order) at once.

it will also help me if symmetry threshold is set to 0.001cm
shell inner amount 0.6cm and turbosmooth iteration to 3.

if the script is provided it would help me a lot to learn to make my own script. i know that it wouldn't be hard to script but i am a complete newbie when it comes to scripting
so please be generous and help me out!.
thank you in advance

Comments

Comment viewing options

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

.

(
	if selection.count != 0 do
	(
		selObjsArr = selection as array
 
		symMod = (symmetry ())
		symMod.threshold = 0.001
 
		shellMod = (Shell())
		shellMod.innerAmount = 0.6
 
		tsMod = (Turbosmooth())
		tsMod.iterations = 3
 
		max modify mode
		--	"instanced modifiers"
		for o in selObjsArr do
		(
			addModifier o symMod
			addModifier o shellMod
			addModifier o tsMod
		)
	)
)
(
	if selection.count != 0 do
	(
		selObjsArr = selection as array	
 
		--	"unique modifiers "	
		max modify mode
		for o in selObjsArr do
		(
			symMod = (symmetry ())
			symMod.threshold = 0.001
 
			shellMod = (Shell())
			shellMod.innerAmount = 0.6
 
			tsMod = (Turbosmooth())
			tsMod.iterations = 3
 
			addModifier o symMod
			addModifier o shellMod
			addModifier o tsMod
		)
	)
)

Comment viewing options

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