Forum: Poser Python Scripting


Subject: Hot-plugging UVs into existing actors within Poser - feasible?

odf opened this issue on Dec 18, 2008 · 8 posts


Cage posted Wed, 21 January 2009 at 4:28 PM

After thinking about the suggestion a bit, I think the best approach would be to work on the level of the .obj and .cr2 files.  Distribute the new UVs as just the vt lines from the altered .obj.  (Perhaps the file could include the original .obj name and the name for the destination .obj, too?)  The script could just read the original .obj and replace the .vt lines, saving an altered copy.

Then the script would read a .cr2 which uses the original .obj and simply replace the figureResFile lines with the path for the new, altered .obj.

Set up the GUI to allow the user to browse for the paths of each of the source and destination files.

Presumably such a script would be simpler and faster than trying to work with the actor geometries, within Poser, and would have the added benefit of being able to be run outside of Poser, if desired.  If I were writing such a script, I'd give it the capability to handle .obz and .crz files, as well as the uncompressed defaults.

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