gizmoControl

42 votes
Version: 
0.43
Date Updated: 
05/24/2021
Author Name: 
Martin Breidt

gizmoControl UI screenshot This macroscript (to be found in the "MB Tools" category after executing the .mcr) will allow you to link the transformation of a modifier gizmo to some other scene object. Afterwards, the gizmo will always be fully aligned to that other scene object, which can be freely animated by any kind of controller and linked to any other scene node. In some way this is very similar to World Space Modifiers but it works for any kind of modifier gizmo.

This tool can be very useful for creating complex modifier animations, for example animating a Slice modifier's plane along a path, attaching a UVW Map modfier to some animated helper object, transforming a Displace modifier with some other object, or having an extra node control the- symmety plane of a Symmetry modifier.

New in v0.43:

  • Fixed a small typo (linebreak) in the UI code that caused an error when running the script.

New in v0.4:

  • Fixed a major bug that caused incorrect gizmo transformations when used with objects that have an edited pivot point.
  • Some minor UI tweaks

New in v0.3:

  • Added the option (hold SHIFT when pressing the 'Link' button) to keep the initial offset. The gizmo will stay where it is but follow any further movement of the control node.
  • Added the option (hold SHIFT when pressing the 'Reset' button) to keep the current gizmo transformation. Use this if you don't want to move the gizmo but want to remove the link to the control node.

New in v0.2:

  • Copy/pasting a modifier that has a linked gizmo now works correctly
  • Added a button to remove the scripted controler that links the gizmo to the control node
  • Should work correctly with Merge and Xref
Additional Info: 

Currently only works for modifier gizmos that can move, rotate and scale (i.e. use a Matrix3 controller).

Version Requirement: 
3ds Max 8-2022
Other Software Required: 
Requires Larry Minton's Avguard MAXScript Extensions v.7.0.3 or greater. Download at http://www.maxplugins.de/r7_files/avguard/avg_dlx70_9.zip (Max8) or http://www.scriptspot.com/extensions/web_upload/Larry%20Minton/avg_dlx_900.zip (Max9) and install as plugin before you run this script. This extension is already installed in 3ds Max 2008+

Comments

Comment viewing options

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

Small bug fix

Sorry I completely missed the small typo/linebreak that caused an error when trying to run the script. This is fixed now in v0.43.

Royal Ghost's picture

You must remove spaces

@stevesideas, you must remove spaces between 112-113 string to merge it to one string, to get script work.

Royal Ghost | veda3d.com

stevesideas's picture

Doesn't work with Max 2016

Quite an old script and sounds great but doesn't work when I run evaluation using max 2016. Stops on line 112/113: label

ionut9's picture

gizmo control related

Hi,
Please can you post a tutorial with your example. quote: I use it with slice modifier with a dummy and spring controller on it to mimic the surface of the water in a glass. works like a charm for me...
[email protected]
Thank you.
Regards,
John

3dline's picture

Thanks very much

I use it with slice modifier with a dummy and spring controller on it to mimic the surface of the water in a glass. works like a charm for me...
Thank you very much.

Martin Breidt's picture

Also see my blog for some

Also see my blog for some more explanations and help for this script

Comment viewing options

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