Conflict with FractureVoronoi script

Started by mark2580, October 31, 2024, 02:47:57 AM

Previous topic - Next topic

mark2580

There was a need to use the FractureVoronoi script. I was surprised to find that it completely breaks when WallWorm is installed in 3ds max.
I have 3ds max 2012 and 2020 installed. Both have this bug. Is there any way to fix it?


wallworm

Thanks for reporting. I looked at that script and cannot fathom how WW is interfering with it (it doesn't seem to like the additional tools WW adds to Slice Modifiers).

Before running that script, click F11 and enter this code into the white MAXScript Listener:

callbacks.removeScripts id:#WallWormAutoSliceModID
Now the extra slice modifier properties don't get added to the objects and the script should work. Note that even though this addresses the issue for that script, the slice custom attributes being added are very valuable when manually adding a slide modifier, so once you have disabled that, you will need to re-enable if you want them back in the same session by running this code in the MAXScript Listener:

::wallwormSlicemodOps.initiateCallbacks()

wallworm

Additional information:

To permanently turn on the Wall Worm Slice modifier options:

::wallwormSlicemodOps.AutoSliceMod = true
::wallwormSlicemodOps.saveSettings()
::wallwormSlicemodOps.initiateCallbacks()

or to permanently turn it off:

::wallwormSlicemodOps.AutoSliceMod = false
::wallwormSlicemodOps.saveSettings()
::wallwormSlicemodOps.initiateCallbacks()

mark2580

Quote from: wallworm on November 01, 2024, 06:41:41 PMBefore running that script, click F11 and enter this code into the white MAXScript Listener:
callbacks.removeScripts id:#WallWormAutoSliceModID
Okay, this works.
Quote from: wallworm on November 01, 2024, 07:02:14 PMAdditional information:

To permanently turn on the Wall Worm Slice modifier options:

::wallwormSlicemodOps.AutoSliceMod = true
::wallwormSlicemodOps.saveSettings()
::wallwormSlicemodOps.initiateCallbacks()

or to permanently turn it off:

::wallwormSlicemodOps.AutoSliceMod = false
::wallwormSlicemodOps.saveSettings()
::wallwormSlicemodOps.initiateCallbacks()
And this is what I don't understand at all. Should I also send this to MAXScript Lister??? Because it seems it didn't give any result.

wallworm

Those are three lines of code to run in sequence in the MAXScript listener. Or open the MAXScript Editor and paste the entire lines and execute the script in full.

mark2580

Quote from: wallworm on November 03, 2024, 12:03:16 PMThose are three lines of code to run in sequence in the MAXScript listener. Or open the MAXScript Editor and paste the entire lines and execute the script in full.
Yes, it seems to have worked. I restarted 3ds max and the script worked fine without entering any commands. 👀

wallworm


SMF spam blocked by CleanTalk