what is the command for recalculating a dynamesh object? I'm trying to create a few buttons that change the dynamesh resolution to 128,256,512 (blur 0) presets and I want my current tool to update with the new resolution without having to touch the mesh and ctrl+click drag on the canvas.
You can do it by offsetting the mesh temporarily, which will force DynaMesh to update:
[IButton,UpdateDynaMesh,"Update DynaMesh for current mesh",
//first record the current axis setting for Offset
//one of the axes must be set, so set it to 1
[If,(#tmpMod != 1), //if it's not set to 1 (X axis)
//turn off the Dynamesh button
//offset the tool a little
//undo the offset
//turn on the Dynamesh button - mesh will update
//reset the Offset axis setting
nice trick, worked great. thanks Marcus!
btw here is the plugin, it creates 4 buttons under "DynaPresets" in the "Tool" subpallet for 128,256,512,728 (all with blur = 0) dynamesh rez.
super simple but speeds up my workflow.
Last edited by zwick; 09-29-12 at 02:21 PM.
No problem, and thanks for sharing your plugin.
Tags for this Thread