I need to scale a selected face. I need, however, for the scale axis to be aligned with one of the edges of the face. Within the scale tool settings of the Maya GUI, you are able to set the scale axis using a "Set to Edge" operation. This works perfectly. I need a MEL version of this operation though.
The above code does the job of automating the "set to Edge" part, however a scale proc within MEL totally ignores the fact that the scale tool has had a scale axis set.
Question: How do I scale with the scale pivot "set to Edge" within MEL?