I think this would be very helpful since drawing handle or manipulating handle is prone to making mistakes sometimes.
Basicall it would work like this
- The User paints a mask over the surface (hides some parts of the model)
- Enables move,rotate or scale
- Calls the script to scale and position the handle according to mask
The script can have 3 different modes to position and scale( based on 3 axis which the user determines). Otherwise it might be very hard for script to determine how to position the handle. Althou if the user draws a elongated mask it would be safe to say that the script should use the longest distance to position the handle.
One more function the script can provide is actually having transformation selection(move, rotate, scale) as part of the modes. This way for example we can have a mode like " move-strecth handle to fit" ( then user can assign a shortcut easily)