Re: [Maya-Python] bakeresults in Python is super slow

2016-12-25 Thread Alok Gandhi
And then there is atom -- You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya"

Re: [Maya-Python] bakeresults in Python is super slow

2016-12-25 Thread yury nedelin
Consider not using that command at all, unless you need all of it full functionality. If you simply need the per frame position and rotation just query it with something like xform() or get() and store it in data for further use. This function is handy but have always been slow and when I was

Re: [Maya-Python] bakeresults in Python is super slow

2016-12-24 Thread Robert White
Also, preserveOutsideKeys used to cause some major slowdown in 2014/2015. I believe the bug was finally fixed in 2016, so that might be another culprit. On Saturday, December 24, 2016 at 6:42:35 AM UTC-8, Jeremie Passerin wrote: > > Thanks Christopher, > I'll take a look that could be useful.

Re: [Maya-Python] bakeresults in Python is super slow

2016-12-24 Thread Jeremie Passerin
Thanks Christopher, I'll take a look that could be useful. I found what was the problem with my scene. It was the parallel evaluation turned on. I turned it off and things seem to work much better. I also suspended the refreshing of the viewport, now I have some decent result. On Dec 24, 2016

Re: [Maya-Python] bakeresults in Python is super slow

2016-12-24 Thread Christopher Crouzet
Hey Gerem! I have no idea of what might be causing this slowdown with the Python version but I was curious to see how a quick and dirty custom implementation using the Maya API would fare, so I gave it a go. Here's the file:

[Maya-Python] bakeresults in Python is super slow

2016-12-23 Thread Jeremie Passerin
Hello Maya coders ! I'm having a weird issue right now using the bakeresults command in Maya 2016.5 (aka ext2) I've built a test scene with 500 locators constrained to 500 others that have a simple animation on 400 frames (Parent Constraint) When I bake the animation to fcurve using the MEL It's