4 ms·
I used to poke at the python API in blender and most of the wrapper work was done with magic. Very rarely would you have to implement any custom C code aside f
by UncleEntity 3y ago
I used to poke at the python API in blender and most of the wrapper work was done with magic.
Very rarely would you have to implement any custom C code aside from what you’d have to do with any other embedded scripting language to deal with the differences between the two languages and/or blender wonkyness.
I’ve also played around with lua embedding a bit — I just like python more so didn’t do anything with it. I do remember that I got it to work as an experiment but I would have had to start writing some serious C code (the kind you claim is unnecessary) to do anything useful with it and I’m pretty sure the maintainer of the game would have been opposed to being able to script things.
But, I’m one of those people who actually enjoys wrapping C libraries to use in python so…