Cage opened this issue on Dec 20, 2006 · 1232 posts
Cage posted Sat, 13 January 2007 at 8:10 PM
I just learned something else about PoserPython. Numeric can be used for 3-level arrays (or deeper), but it can't be used to create arrays in which the sizes of the elements differ. I'm not sure of the proper terms for any of this. Basically, Numeric can't organize polygon data in which the number of entries (vertices, edges) will differ from polygon to polygon. Which makes sense, since the Numeric module implements its arrays as matrices in some cases.
And this presumably explains why Poser's geometry API is so weird, requiring the sets list and the polygons list to be cross referenced with one another. Rather than building geometry handling for PoserPython from scratch, it was constructed on top of Numeric and its limitations. Or so I assume.
This means Numeric can't be used to generate the lists for this script, at any rate. Trying to see how it may be useful in the actual processing....
===========================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.