Hi nos, the closest thing to a script template for that would be the rebuild command script itself, it's the file Rebuild.js under the \commands sub-folder inside of MoI's main installation folder.
You would basically make a custom version of that with hard-coded values instead of the regular command which gathers those values up from the UI controls.
I've attached a version here with it set up with the parameters you wanted, to use it copy the attached NosRebuild.js command to the \commands sub-folder, that will then make a new command called NosRebuild available. You can set up a keyboard shortcut with that as the command name.
Then preselect your curve and trigger the shortcut key and it will apply the rebuild to your curve without any extra stages or UI showing.
Hope that is useful!
- Michael
|