43 ms·
"Operators" are a very strange thing in Blender. They serve multiple functions in a Frankenstein sort of way: UI Binding, Binding between C and Python and a fra
by bayesian_horse 10y ago
"Operators" are a very strange thing in Blender. They serve multiple functions in a Frankenstein sort of way: UI Binding, Binding between C and Python and a framework for asynchronous tasks. I even implemented an asyncio loop in Blender using a polling operator...
When scripting from Python, you should almost always avoid operators, except if it is not possible to access this functionality (In the Video Sequence Editor ...). And of course the documentation never tells you what context you actually need. Besides having a ton of parameters in the definition, operators essentially take the entire state of the Blender process as a parameter passing mechanism.