Hi,
I'm searching for a solution to use external Python libraries with marvelous designer 12.
I've seen some solutions but it doesn't look like clean solutions.
As proposed here
https://www.jefriyeh.com/articles/getting-pyside2-python-for-qt-to-work-inside-marvelous-designer-10
following this question https://support.marvelousdesigner.com/hc/en-us/community/posts/900002201406-Qt-Support-was-removed-from-MD10
A solution is to replace some internal marvelous designer files to change the original Python environment to a new one with pip installed.
This may work but doesn't looks like a clean solution.
Another solution I found is given by the README.txt inside "Marvelous Designer 12 Persona/python37.zip/site-packages/" which states
"This directory exists so that 3rd party packages can be installed
here. Read the source for site.py for more details."
Unfortunately the only "site.pyc" I found is a compiled file, so I was unable to read it.
As long as the site-package.zip folder is a compressed file, I'm surprised that some external library could be installed there.
Is there a clean solution to install an external library or one of the two solutions is the way to go?
Thanks
its the same site.py as the python source code. in marvelous you can "import site" and "print(dir(site))" and call site.addpackage. i dont know how far this will get you, please keep me posted.
in my experience, completely replacing the python and having it work is a pretty clean solution. I hope enough python devs can inspire a better workflow for this. im concerned that i think the clo3d python lib is more full featured that the marvelous python lib, but i dont know for sure.
but yeah, we (tech artists) need butttons in Marvelous that uses Qt and stdlib.
would be super cool if blender and marvelous both used python 3.10 so a script could access both.
the version MD uses (3.7 https://devguide.python.org/versions/) was deprecated last year, it would be really useful to tech artists if the companies that make the products with the sdks keep their sdks up to date.
https://webui.me/ is also an option im going to explore to give my artists a UI to python based tools
请先登录再写评论。