On Tue, Jun 25, 2019, 11:13 PM Vishal Kadam <vishalkadam...@gmail.com>
wrote:

> hi,
>
> Please find the attachment
> A script by Martin Baadsgaard
> <https://www.highend3d.com/users/martin-baadsgaard>
>
> can this script be written in a single python rather than calling from mel
>

It is already written in Python. The Mel script is just for the convenience
of exposing it as a global proc in Mel, with a few lines. You could
completely ignore it and do this from python:

import MB_straightenUVs_Tool
MB_straightenUVs_Tool.MB_straightenUVs()

-- 
> You received this message because you are subscribed to the Google Groups
> "Python Programming for Autodesk Maya" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to python_inside_maya+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/python_inside_maya/51351af2-4fd4-4383-9d8d-c5b5af28572b%40googlegroups.com
> <https://groups.google.com/d/msgid/python_inside_maya/51351af2-4fd4-4383-9d8d-c5b5af28572b%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to python_inside_maya+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/python_inside_maya/CAPGFgA2RawF_iNWq1zGa9uK2resRxOeJMYSyJJqhjJ%2B9bKdJ0g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to