Cage opened this issue on Dec 20, 2006 · 1232 posts
Cage posted Fri, 14 March 2008 at 12:08 PM
Cage, in the meantime, is a bit lost, as usual. LOL
As I understand it, there are some problems with trying to go completely over to Numeric (beyond the fact that there don't seem to be any useful examples that I can find). The Linear Algebra module is broken in Poser 7, which means LinearAlgebra and Array modules can't be used and such functions need to be hand-coded. That wouldn't be a crisis from our perspective, I guess, since we're doing vector math and not matrices. But it seems to limit the possibilities (at least based on the limited examples I've seen).
But I'm totally confused about "object-oriented" versus "top-down". I checked one of my three Python books on this, and it launches into listing the benefits of object-oriented programming, as opposed to C-style, without actually explaining what "object-oriented" really means. I'm left assuming that Python modules give an example of such programming. That's pretty much the only place I ever see that approach (as I understand it) used. Pretty much all the implementations of Python I've seen for Poser or Blender use the C-style programming (as I understand it). Which makes it a bit hard for someone who's teaching himself to figure out how to do things in a better way. Hence, perhaps, all the spaghetti code that gets bandied about. :( I gather that many of my problems would be solved if I could be object-oriented, and I think I'd like to be, but I can't figure out how. LOL again.
===========================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.