Skip to content

Instantly share code, notes, and snippets.

@kangchihlun
Created October 7, 2022 07:37
Show Gist options
  • Save kangchihlun/b5a05fe20bcaced2eaf27bab36fc4734 to your computer and use it in GitHub Desktop.
Save kangchihlun/b5a05fe20bcaced2eaf27bab36fc4734 to your computer and use it in GitHub Desktop.
personal_modifier_settings all credits for bobo @ 2006 ADSK master class
global FF_ApplyCustomModifierSettings
fn FF_ApplyCustomModifierSettings =
(
result = callbacks.notificationParam()
theObj = result[1]
theMod = result[2]
case classof theMod of
(
Uvwmap:
(
theMod.maptype = 4
theMod.width = 50.0
theMod.length = 50.0
theMod.height = 50.0
)
Unwrap_UVW:
(
theMod.setGridVisible false
theMod.setViewportOpenEdges false
)
Turbosmooth:
(
theMod.iterations = 0
theMod.renderIterations = 2
theMod.useRenderIterations = true
)
skin:
(
theMod.bone_Limit = 4
)
)
)
callbacks.removeScripts id:#FF_CustomModifierSettings
callbacks.addScript #postModifierAdded "FF_ApplyCustomModifierSettings()" id:#FF_CustomModifierSettings
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment