Forum: Poser Python Scripting


Subject: Loading .pzz files

tromnek opened this issue on Jan 06, 2005 ยท 5 posts


tromnek posted Thu, 06 January 2005 at 12:03 PM

Sorry if this is obvious or previously asked (no search results). Is there a poser method to OpenDocument() a .pzz file?


PoseWorks posted Fri, 07 January 2005 at 2:07 PM

There's no native PoserPy method to open compressed files; you'll have to un-gzip the file before you open it.


tromnek posted Sat, 08 January 2005 at 10:27 PM

Thanks. I've been sending pathnames for loading poser files over a network socket. It would take me more time to decode the file than it would to just switch back to poser and open it directly.


an0malaus posted Sun, 09 January 2005 at 2:20 AM

Just found a useful reference for this today. Check out the Z-lib use in :Runtime:Python:poserScripts:Utility:uncompressPoserFiles.py



My ShareCG Stuff

Verbosity: Profusely promulgating Graham's number epics of complete and utter verbiage by the metric monkey barrel.


tromnek posted Tue, 11 January 2005 at 7:34 PM

Thanks, I got it all working now. I even got an initial seek using gzip to get towards the end of a large compressed file (grab the materials section).