Forum: Poser - OFFICIAL


Subject: Loop-making script

Cage opened this issue on Apr 03, 2010 · 610 posts


Cage posted Fri, 11 March 2011 at 2:29 PM

Since the Y rotation of the plane has no effect on the actual process of creating the loop path, I can use that to allow a user to rotate the join.  I'll set it up so the join will end up pointing along the direction in which the rotated Z axis of the plane points.

But I'm still hoping to work it out a bit better than seen above.  I need to tinker a bit.

The original chain-making script has a known RAM leak, which was discussed earlier in the thread.  That problem also affects the chain-along-path script Aand the chain-loop script on which I'm working.  It can end up crashing Poser, if you run the scripts repeatedly (I did it by creating stacks of 20 loops, 100 times or so) without re-starting Poser.

I think I've located the source of the leak, however.  Apparently Numeric arrays don't handle references the same way as regular Python lists.  I'll see if I can fix the problem, then update all of the chain scripts.  In the meantime, just be aware of the possible risk.  :blushing:

===========================sigline======================================================

Cage can be an opinionated jerk who posts without thinking.  He apologizes for this.  He's honestly not trying to be a turkeyhead.

Cage had some freebies, compatible with Poser 11 and below.  His Python scripts were saved at archive.org, along with the rest of the Morphography site, where they were hosted.