Forum: Poser Technical


Subject: Utility Scripts for Wavefront Object manipulation

_dodger opened this issue on Aug 11, 2003 ยท 5 posts


_dodger posted Mon, 11 August 2003 at 6:02 PM

No worries. The only 'tricks' to the Embedded Geometry Extractorator would be 1) delivering two return files instead of one and 2) The reference path. I think I can do this relatively easily by storing a temp directory which is a mockup of a runtime directory and then zipping it and returning a tempfile. Like so:

/tmp/randomMD5IDcode/Runtime/
                             Libraries/
                                       Props/
                                             Extracted/
                                                       Input_Prop_filename.pp2
                             Geometries/
                                        AutoExtracted/
                                                      Input_Prop_Geom.obj

/usr/bin/zip inputFilename.zip -r /tmp/randomMD5IDCode