I reckon everyone at some point started (completed) writing a vector class only to find that the relevant software package had it's own, probably better optimised, version.. at least doing it from first principles sort of encodes the maths in your head I guess? Either that or its a cruel rite of passage and code lesson...I can't decide.
On Thu, Nov 6, 2014, at 05:36 AM, Joe Weidenbach wrote: > Brad's right, though, it's easy to roll your own as well. I wrote a > vector class midway through my thesis for calculations, only to dive > into the API a week later and discover MVectors. > > On Wed, Nov 5, 2014 at 10:34 AM, Joe Weidenbach > <[email protected]> wrote: >> The easiest way I've found is to tie into the API--maya has a great >> vector class (OpenMaya.MVector) that handles cross products and dot >> products. >> >> On Wed, Nov 5, 2014 at 8:30 AM, Brad Friedman <[email protected]> wrote: >>> Cross Product!!! It's called a cross product. You need to execute >>> two of them. Don't know the python to execute. But the math is >>> common and easily implemented if for some reason, it can't be found >>> in the existing library. Go read up. >>> >>> >>> On Nov 2, 2014, at 12:42 PM, sam williams <[email protected]> >>> wrote: >>> >>>> <vectorRotationDiagram.jpg> like this...;) >>>> >>>> On Sun, Nov 2, 2014 at 3:52 PM, Marcus Ottosson >>>> <[email protected]> wrote: >>>>> It's a mailing list, you can email the image, along with your >>>>> message. >>>>> >>>>> On 2 November 2014 14:22, <[email protected]> wrote: >>>>> >>>>>> hi Marcus, >>>>>> >>>>>> ive got an image here im trying to upload, but theres no where to post an image. Do you know how ha >>>>>> >>>>>> sam >>>>>> >>>>>> -- >>>>>> 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][1]. >>>>>> To view this discussion on the web visit >>>>>> https://groups.google.com/d/msgid/python_inside_maya/cc53602b-b2d7-4b80-aec6-cfb219123c7e%40googlegroups.com. >>>>>> For more options, visit https://groups.google.com/d/optout. >>>>> >>>>> >>>>> >>>>> -- >>>>> *Marcus Ottosson* [email protected] >>>>> >>>>> -- >>>>> You received this message because you are subscribed to a topic in the Google Groups "Python Programming for Autodesk Maya" group. >>>>> To unsubscribe from this topic, visit https://groups.google.com/d/topic/python_inside_maya/z1z0PXZe12M/unsubscribe. >>>>> To unsubscribe from this group and all its topics, send an email to [email protected]. >>>>> To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/CAFRtmOBAtru4sjvXeL84PQDonXTV1qy4daXX%3DK8Abj%2BVYQ6Eow%40mail.gmail.com[2]. >>>>> >>>>> 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 [email protected]. >>>> To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/CAOUxB22sPo86U5CV3pt7CSDwcOypLE%2BdWKXzS7w-PYt8qKBO%2BQ%40mail.gmail.com[3]. >>>> 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 [email protected]. >>> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/python_inside_maya/129CA0F3-5EE7-4190-ACA3-1BD33AE78CC8%40fie.us[4]. >>> >>> 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 [email protected]. > To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/CAM33%3Da4QedHJF441PjYuwWuAD_q08x-QzUGtEUSu6cPGBSfT4Q%40mail.gmail.com[5]. > For more options, visit https://groups.google.com/d/optout. Links: 1. mailto:python_inside_maya%[email protected] 2. https://groups.google.com/d/msgid/python_inside_maya/CAFRtmOBAtru4sjvXeL84PQDonXTV1qy4daXX%3DK8Abj%2BVYQ6Eow%40mail.gmail.com?utm_medium=email&utm_source=footer 3. https://groups.google.com/d/msgid/python_inside_maya/CAOUxB22sPo86U5CV3pt7CSDwcOypLE%2BdWKXzS7w-PYt8qKBO%2BQ%40mail.gmail.com?utm_medium=email&utm_source=footer 4. https://groups.google.com/d/msgid/python_inside_maya/129CA0F3-5EE7-4190-ACA3-1BD33AE78CC8%40fie.us?utm_medium=email&utm_source=footer 5. https://groups.google.com/d/msgid/python_inside_maya/CAM33%3Da4QedHJF441PjYuwWuAD_q08x-QzUGtEUSu6cPGBSfT4Q%40mail.gmail.com?utm_medium=email&utm_source=footer -- 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/1415237283.3481114.187625457.7AF53F75%40webmail.messagingengine.com. For more options, visit https://groups.google.com/d/optout.
