This should work.
- handle2.py
- macro updated
- (4.42 KiB) Downloaded 161 times
In fact I tried to run the previous version of the macro in Windows (Vista-32bit) and got your same error. Now it works on both systems for me.
I think that the "ESC" problem deals with how the different OS implement the functions of pivy related to callbacks, so I bypassed the problem creating a dialog to exit the command.
I refined a little the code: now the arrow size is scaled automatically to the average length of edges of the objects selected: so no more "huge" arrows on the screen.
Also the direction and displacement depends upon the faces or edges selected. By the way: remember to select the objects to move
before running the macro.
On the code side, I had to import some stuff from the flamingo WB code (so check that the add-on is available in your FC).
Chiefly, a new version of the "arrow" class: I included this latter in the same code of the macro because I did not update the repository in github yet.
So, it's still "barbarian" but usable: it's handy to move quickly objects in the viewport.
I hope it could be of help to create something similar and more easy-to-use in Manipulator WB.