f***@gmail.com
2018-11-29 13:45:27 UTC
Hello there
I got the normals vertex with:
cmds.select( ** my vertex **, r=True )
resultNormalVertex=cmds.polyNormalPerVertex( query=True, xyz=True )
Result -> [0.9876886606216431, 0.0, -0.15643233060836792] which I guess is a vector.
I create a locator at the same vertex position, but would like also to have a correct orientation based on the vertex normals.
What would be the right python command for that ?
I got the normals vertex with:
cmds.select( ** my vertex **, r=True )
resultNormalVertex=cmds.polyNormalPerVertex( query=True, xyz=True )
Result -> [0.9876886606216431, 0.0, -0.15643233060836792] which I guess is a vector.
I create a locator at the same vertex position, but would like also to have a correct orientation based on the vertex normals.
What would be the right python command for that ?
--
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+***@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/c45e3da3-e3e2-431d-bcf8-2b804456602a%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+***@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/c45e3da3-e3e2-431d-bcf8-2b804456602a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.