Forum: Poser Python Scripting


Subject: Moving morphs between different figures

Cage opened this issue on Dec 20, 2006 · 1232 posts


Cage posted Wed, 02 April 2008 at 3:07 PM

Y'know, I had in place the same basic simplified code that you've added for the gravity handling, but at the time I couldn't see the springs working (it turned out that I was setting the Ks value too low), so I more literally copied the source code's approach in order to be sure I wasn't mishandling anything.  Thanks for restoring the more concise version!

And the zero equivalency test for float... well... 😊.  That was initially just an else condition, and I unthinkingly made it more literal.  I had since changed it (along with a great deal else), but only ever seem to get penetration cases, never collision - which means the general while loop used to pop out the mesh and enable soft body dynamics never works.  Huh.  Anyways.  Thanks for the notes.  I'll see if I can refine this.  Unfortunately, it takes the speed gains for collision handling via the pyd and then applies them in a way that creates yet another Cage script that takes seven minutes to run in even fairly simple situations....  Sigh.  I'm not feeling optimistic about the pseudo cloth right now....

===========================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.