Thanks guys,

I've made some modifications and so far (fingers crossed) it seems to be
better.  I did change all of my .getTranslation() and .setTranslation() (and
scale, rotation) calls to .translation.set() or xform().

I also had been working on a tail rigging script, which had some interesting
side effects - the tail had something like 35 joints in it and was rigged
with a spline IK.  Amazingly to me, as soon as I created the IK handle the
framerate plummeted from running at about 40fps to 25fps.  It was around
this time that I started noticing the crashing, so I guess it makes sense
that this could be the problem, though it seems very odd that a single
spline IK would slow the system down that much.  At any rate, I ditched half
of the joints in the tail which halved the framerate drop and so far the rig
hasn't crashed.  I'm not 'simplifying' the curve that drives the IK, so
perhaps having a ton of CVs on a spline IK system has some odd side-effects?
 I need to do some more research and testing, and I'll report back anything
I find.

I know this is the PYTHON in Maya forum, not the character-setup forum, but
thought it might be of interest to folks.

Anyways, thanks for the help guys!

-JP
On Wed, Apr 28, 2010 at 2:33 PM, shawnpatapoff <[email protected]>wrote:

> We've had similar issues and basically had to turn sections of the rig
> off to see what portion of the rig was crashing.
>
> On Apr 28, 1:46 pm, John Patrick <[email protected]> wrote:
> > Hey all,
> >
> > Wanted to throw this out there to see if anyone had experienced something
> > similar. I'm building a bipedal character procedurally with Python/PyMEL,
> > and am having a very odd problem where the scene will eventually crash
> after
> > the rig is built. Not while the build is happening, but at some random
> point
> > that could be seconds or minutes after the build is finished.
> >
> > I'm watching my memory and I don't see Maya gobbling any more memory, and
> > I'm 99.9% sure I don't have any infinite loops happening in the script.
> The
> > other thing is that I can save the character right after it's built,
> close
> > and reopen Maya and reopen the file, and it will still eventually crash.
> It
> > doesn't necessarily crash while I'm working in Maya either - I open the
> > file, and let it sit there without touching it, and a few minutes later
> it
> > will crash. Sometimes there is no warning - Maya just disappears.
> Sometimes
> > I get the error that Maya is trying to save a temp file.
> >
> > This problem wasn't happening earlier while I was working on the
> script...it
> > kind of crept up on me as something I dismissed as typical Maya fishiness
> > until it started getting more frequent.
> >
> > I'm on XP 64, Maya 2009 64. I've tried building the same character on a
> > different machine (but with the same hardware) - same result.
> >
> > I'm not sure what's causing the problem, but I'm desperately looking for
> a
> > solution. Has anyone had issues like this before? Any ideas as to what
> could
> > be happening?
> >
> > Thanks!!!
> >
> > -JP
> >
> > --
> > John Patrick
> > 404-242-2675
> > [email protected]http://www.canyourigit.com
> >
> > --http://groups.google.com/group/python_inside_maya
>
> --
> http://groups.google.com/group/python_inside_maya
>



-- 
John Patrick
404-242-2675
[email protected]
http://www.canyourigit.com

-- 
http://groups.google.com/group/python_inside_maya

Reply via email to