4 ms·
> It is highly extensible through plugins, mostly written in Python, though, unfortunately, lower layer operations are only exposed in C++. Other than cycles a
by UncleEntity 5y ago
> It is highly extensible through plugins, mostly written in Python, though, unfortunately, lower layer operations are only exposed in C++.
Other than cycles all the plugins are written in python—there is a C++ api generated at the same time as the python one but afaict only cycles uses it. Haven’t done any blender stuff in quite a while so I could be (hope I’m) wrong.
Though, with a little gumption, it isn’t all that hard to expose the underlying functionality to python if nobody has gotten around to it yet. Most of my contributions were of that nature (honestly there were some big gaps and a lot of low lying fruit back then).
Interesting(?) side note: the original pie menu script was written because my laptop didn’t have a numpad and changing views is a PITA without one. People ran with it and it became really popular so they built pie menus into blender proper.
- cmarschner 5y agoWhen looking (briefly) at the API documentation, I was mostly interested in mesh manipulation - and there it says "Currently, for more advanced features such as mesh modifiers, object types, or shader nodes, C/C++ must be used." (https://docs.blender.org/api/current/info_overview.html#integration-through-classes https://docs.blender.org/api/current/info_overview.html#inte...)
- dagmx 5y agoYes, but those require rebuilding Blender. They're not expressed as plugins