You rock man. Everything is working perfectly :) One last question! :D Ok. So first off I've decided that my main usage will be your original script with retaining the current selection (the other one will be a secondary situational hotkey). Is it possible to make the script switch back to multi component mode? Right now…
Alright I think I got it working again for 2015 and 2016. Let me know if there are any issues. If in Edge, Face, or Multi mode, the script will look at what's pre-selected and set your manipulator to that edge's axis (or face normal). Running the script while nothing is pre-selected will reset the axis orientation settings…
It's set up to work with pre-selection only, so if your mouse is in the Script Editor to run it, there won't be any pre-selection to query. You'll want to set it up as a custom hotkey for it to work properly. If you just want to test the script, make sure the script editor is active and, before executing the code, make…
Bartalon's script looks at the component you're hovering over; or "pre-selected" when you run the script via hotkey. I'm too tired and cranky to mess with more Maya to see how that works in a marking menu, I thought that's what you set up. :)
Looks like I didn't test it against a complex enough shape the first time around in 2015 so I missed that. I'll fix up the script & edit this post when it's working properly. [EDIT] Script should now behave properly for 2015 and 2016. Works on faces and edges, but not vertices (for now, unless someone really wants it).
Yeah, I can't stand Maya 2014 because of the constant script editor feed so I usually work in 2013. This also means I don't have a whole lot of experience writing for things involving the Modeling Toolkit. Glad I was still able to be some help, maybe someone else can modify what I have to work with the Modeling Toolkit. :)…
Does anyone know if it's possible to set the align to edge option for the translate tool in maya to a single hotkey? The tool option is hidden inside menus and it's slowing down my workflow. The marking menu for this is ok but I'd rather not have to select the option and pick an edge, I'd like it to use whatever I already…
Your marking menu gives me an idea, beefaroni. Later today I'm going to update the script to use orientation of faces / vertices if selected rather than doing nothing, because why not