Forum: Poser Python Scripting


Subject: Moving morphs between different figures

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


Cage posted Sat, 15 March 2008 at 2:10 PM

Right on!  This is excellent news, Spanki-sir!  PoserPython has needed something like this for some time.  I'm glad to hear that you were able to work out the creation process for a .pyd file.  I'm eager to test the implementation of this.  :D

Yes, we were using Numeric to store the vast majority of the data generated by the Geom module.  Apparently Numeric is reducing our memory overhead, compared to using mere lists, and possibly helping reduce leaks, too.  I understand that Numeric arrays will only store a reference to a Python object if specifically instructed to do so.  What we haven't been doing is making use of any of the built-in Numeric functions for the arrays, such as flatten.  Frankly, I don't understand most of them, although I'm currently trying to read up on them.

Now, ah, if we had .pyd modules for handling matrices and quaternions and rotations, PoserPython's potential would be vastly improved....  <Shifty-eyed emoticon which I don't know how to type>

Was it difficult to create the .pyd?

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