writing a node here *see joint file*
def compute(self,plug,datablock):
pass
if(plug != myclass.outputmesh):
pass
return om.kUnknownParameter
pass
inputmesh=datablock.inputValue(myclass.inmesh)
outmeshdata=datablock.outputValue(myclass.outputmesh)
outmeshdata.copy(inputmesh)
datablock.setClean(plug)
This will copy the mesh BUT will put it at origin right after!
it doesn't even care about the transforms !!! (on the image , rotations...)
What I want : I don't want to link the transforms, I want them to be baked
in the output(copied mesh) (so technically it's like the transforms have
been frozen on the copied mesh)
--
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/python_inside_maya/33c1e50d-cfca-4c27-8c09-5fe0d9b3fbe0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.