adp001 opened this issue on Nov 28, 2020 ยท 40 posts
adp001 posted Sat, 11 September 2021 at 4:49 AM
How to install:
The script consists of a main script ("Run.py") and a folder containing the required script parts to be loaded ("local_libs"). Create a separate folder for the script.Mine is called: "IM-EXporter". Unpack the ZIP file into this folder. From Poser you can then:
Path structure:
IM-EXporter
....local_libs
........__init__.py
........im_export.py
........wxPrepare.py
........WXTools.py
....Run.py
im_export.py contains anything to export a model and import a morph. The script strictly separates between UI part and the part that does the actual work. The result is that the import and export functions can be executed stand alone without any restrictions. And so of course can be used in your own script via "include".
wxPrePare.py contains functions that allows the script to work with both wxPython from Poser11 and Poser12 (i.e. Python 2 and Python 3).
WXTools.py contains wxPython functions and recreations of some standard controls ("ownerdrawn").