be rearranged in order to facilitate testing
and embedded usage from Blender ...
I tried so far unsuccessfully(inexperience with extensions)
to create a package structure something like :
- Code: Select all
mh/__init__.py
main.py
mh.so ## C extension
mh/core/__init__.py
module3d.py
mh/plugins/__init__.py
guicommon.py
In the hope that this could eventually provide a very high level
and easily automated interface to do things like the below pseudo-code :
- Code: Select all
import mh
mh.init(gui=False)
mh.configure(gender=+0.1,weight=+5,tone=-0.3,age=30)
for g in range(3):
mh.configure(gender=+0.1)
mh.export2collada("/tmp/test%s.dae" % g )
And other more detailed morphings too.
As this kind of arrangement would make it easy to create
small test scripts or functions, I think it would be beneficial
for regression testing during the development process and also
aid development of the python API by widening its usage.
Because of this I think this item should come high up the
release roadmap ahead of GUI improvements.