(almost) finished... now we have a framework (python modules, max files via filein, C# dll file for max) where we can run the same python program with python GUI in 18 different flavors of max (2011 - 9.0) and maya (2011 - 2008) both 32 and 64 bit. (still working on 8.5 - we still have clients who use this :/ ) Now we have…
getting my hands dirty with C++ and ZScript and managed to write a C++ DLL which I can load in a ZScript with FileExecute.... which then continues to host a .NET CLR with a loaded C# dll, which then launches a Python script (we use the same C# dll from Max). C# talks to Python via ZMQ (thanks to Rob Galanakis for…
I'm using "named pipes" to have two processes talk to each other. The python script hosts the named pipes server. For max the named pipes client is implemented as C# dll. The UI is then coded in python using Qt. Therefore we can run those scripts natively in maya too! There are utility python functions which allow you to…
Thanks for the tip with the hotkey. I'll try that if sleep doesn't work. Launching processes via ZFileUtils sounds useful too, although not for my current needs. I go via my own dll for launching Python because I want to monitor the process, I have to pass a port number to Python for socket communication, I have to tell it…
finally finished a set of C#, python and max scripts to establish 2 way communication between python and 3ds max (thanks blur for taking down your 3ds max/python stuff :( ). First I tried COM objects but this didn't prove practical because I had problems with multiple instances, python Qt windows never stayed on top of 3ds…
You can achieve the same results without the comtypes module if you do it like Pete Hanshaw: http://peterhanshawart.blogspot.se/2013/10/python-photoshop-automation-without_29.html The script (he use VBscript) with the commands is written on the fly in Python before being executed in Photoshop. Pretty cool, but I want more…
I'm also not tech artist and I've been doing lots of scripts but using MEL in Maya which is nice some simple things. I do know some very basic Python too and lately I've been looking into switching for good from MEL to Python so i was guessing that you guys are using Python but what i was curious about is how much in your…
Been playing Mount & Blade Warband recently, and decided to have a crack at learning Python properly by writing an importer for their binary BRF format. Been reverse-engineering the format based on their export script for Python, mostly pretty straightforward so far. Currently I'm just building the raw mesh, next up is…
sqlite is quite fast for me. I didn't choose it primarily for the speed though. I just hate to have a folder with 10.000s of small files (yes, I did scan my reference and texture archives at one point). Inside the sqlite I store the thumbs as either png (for alpha) or jpg to save some space. I store image size, format, if…
most python libraries install pretty easy if you got pip installed in python, and easy_install. For the most part with how python libs are packaged it is simply just running pip install <pacakgename> in console, or downloading the package and uses easy_install