--
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_m...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/cc04ad67-2c28-4e30-bb4d-d9766ac4c6db%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Hey Dave,Not a solution to your problem, but did you try the Surface Attach tool that comes with Maya Muscle? We’ve found it to be a lifesaver.Deform > Muscle > Bonus Rigging > Surface AttachWorth a shout :)Ian
On 14 Mar 2017, at 17:40, thirstydevil <da...@thirstydevil.co.uk> wrote:
So I've been having issues today with all types of rivet scripts, the closets point on poly node or anything that is essentially using maya.OpenMaya.MSpace.getUVAtPointIf I run the below just once I get [0,0] as the uv position. If I run it several times it will eventually return the correct result. Maya 2017 update 3.Anyone experiencing this, is it normal?-Dave--
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+unsub...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/cc04ad67-2c28-4e30-bb4d-d9766ac4c6db%40googlegroups.com.
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 view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/1561608D-5354-4611-9867-D8716AA374CB%40gmail.com.To unsubscribe from this group and stop receiving emails from it, send an email to python_inside_maya+unsub...@googlegroups.com.
| David Moulder Technical Animator / Artist squi...@gmail.com Professional Profile | Mobile: +44 (0)7814033242 |
| See who we know in common | Want a signature like this? |
The problem with this code is specifying your world space as a string value. It requires an integer and for maximum future proofing you should use the pre-defined one from the api:
OpenMaya.MSpace.kWorldFeed that into your second argument instead of "world" and assuming that you've iterated through the faces correctly, it should return the correct result.
Help on built-in function getUVAtPoint:
getUVAtPoint(...)
getUVAtPoint(point, space=MSpace.kObject, uvSet='') -> (float, float, int)
Returns a tuple containing the u and v coordinates of the point on
the mesh closest to the given point, and the ID of the face
containing that closest point.To unsubscribe from this group and stop receiving emails from it, send an email to python_inside_maya+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/cc04ad67-2c28-4e30-bb4d-d9766ac4c6db%40googlegroups.com.
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/1561608D-5354-4611-9867-D8716AA374CB%40gmail.com.
--
David Moulder
Technical Animator / Artist
squi...@gmail.com
Professional Profile
Mobile: +44 (0)7814033242See who we know in common Want a signature like this?
--
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+unsub...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/b18c1685-48ef-470d-83b5-142db540c2c3%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to python_inside_m...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/cc04ad67-2c28-4e30-bb4d-d9766ac4c6db%40googlegroups.com.
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_m...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/1561608D-5354-4611-9867-D8716AA374CB%40gmail.com.
--
David Moulder
Technical Animator / Artist
squi...@gmail.com
Professional Profile
Mobile: +44 (0)7814033242See who we know in common Want a signature like this?
--
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_m...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/b18c1685-48ef-470d-83b5-142db540c2c3%40googlegroups.com.
--
David Moulder
Technical Animator / Artist
--
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_m...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/CABD4PkRWdgJ4dPUwVX%3De2NCC7R6PgVe6w-_7gCs9eLqvpgoD2g%40mail.gmail.com.
To unsubscribe from this group and stop receiving emails from it, send an email to python_inside_maya+unsub...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/cc04ad67-2c28-4e30-bb4d-d9766ac4c6db%40googlegroups.com.
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+unsub...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/1561608D-5354-4611-9867-D8716AA374CB%40gmail.com.
--
David Moulder
Technical Animator / Artist
squi...@gmail.com
Professional Profile
Mobile: +44 (0)7814033242See who we know in common Want a signature like this?
--
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+unsub...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/b18c1685-48ef-470d-83b5-142db540c2c3%40googlegroups.com.
--
David Moulder
Technical Animator / Artist--
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+unsub...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/CABD4PkRWdgJ4dPUwVX%3De2NCC7R6PgVe6w-_7gCs9eLqvpgoD2g%40mail.gmail.com.
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+unsub...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/CAAssL7YHfV4UjZhOSzD04WrM2HW5UcA-LqwRyu7hKA3pqiodkA%40mail.gmail.com.
To unsubscribe from this group and stop receiving emails from it, send an email to python_inside_m...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/cc04ad67-2c28-4e30-bb4d-d9766ac4c6db%40googlegroups.com.
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_m...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/1561608D-5354-4611-9867-D8716AA374CB%40gmail.com.
--
David Moulder
Technical Animator / Artist
squi...@gmail.com
Professional Profile
Mobile: +44 (0)7814033242See who we know in common Want a signature like this?
--
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_m...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/b18c1685-48ef-470d-83b5-142db540c2c3%40googlegroups.com.
--
David Moulder
Technical Animator / Artist--
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_m...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/CABD4PkRWdgJ4dPUwVX%3De2NCC7R6PgVe6w-_7gCs9eLqvpgoD2g%40mail.gmail.com.
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_m...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/CAAssL7YHfV4UjZhOSzD04WrM2HW5UcA-LqwRyu7hKA3pqiodkA%40mail.gmail.com.--
David Moulder
Technical Animator / Artist
squi...@gmail.com
Professional Profile
Mobile: +44 (0)7814033242See who we know in common Want a signature like this?
--
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_m...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/CABD4PkQ3Y6EPEC7ptHtqH%2BDQ_9tOVe2RVPc0nnWDEQ5dMjG9pg%40mail.gmail.com.