[pymel] [wiki.pymel] push by - Edited wiki page through web user interface. on 2010-04-08 23:49 GMT

21 views
Skip to first unread message

codesite...@google.com

unread,
Apr 8, 2010, 7:50:54 PM4/8/10
to py...@googlegroups.com
Revision: 1e821c98db
Author: chadrik
Date: Thu Apr 8 16:49:45 2010
Log: Edited wiki page through web user interface.
http://code.google.com/p/pymel/source/detail?repo=wiki&r=1e821c98db

Modified:
/PythonAPI.wiki

=======================================
--- /PythonAPI.wiki Fri Mar 26 12:27:31 2010
+++ /PythonAPI.wiki Thu Apr 8 16:49:45 2010
@@ -203,3 +203,25 @@
}}}

if there is more than one output being passed to the Qt function as a
reference, then the result of the PyQt function is a tuple of outputs. This
is a great example of adopting python's idioms instead of forcing python to
work like C++. I don't profess to know the details of sip vs. swig, but it
would certainly save a lot of headache if a similar convention were adopted
by Maya.
+
+==Other Annoyances and Inconsitencies==
+
+Here's i'll be making a list of things that make me crazy as I come across
them.
+
+`MScriptUtil.createMatrixFromList` should be `MMatrix.__init__`
+
+all math types can that can be meaningfully converted into each other,
should be capable of doing so via `__init__` :
+
+ * `MMatrix(MFloatMatrix())`
+ * `MFloatMatrix(MMatrix())`
+ * `MEulerRotation(MMatrix())`
+ * etc
+
+`MMatrix()(0,1)` should be `MMatrix()[0,1]`
+
+`MPlug() == MObject()` works but `MObject() == MPlug()` raises an error
+
+
+
+
+

--
You received this message because you are subscribed to the Google Groups "Pymel Python Module for Maya" group.
To post to this group, send email to py...@googlegroups.com.
To unsubscribe from this group, send email to pymel+un...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/pymel?hl=en.

Reply all
Reply to author
Forward
0 new messages