Operator Handlers from Python

On mechanical Blender (http://www.mechanicalblender.org) scope, while porting previous work to an addon, i need to know when user exec some operators (eg, delete verts), so I’ve opened a task with a generic idea, and upload a first (NOT FINISHED) diff for tests, so anyone could give advice to get it included in official releases.

https://developer.blender.org/T86191

https://developer.blender.org/D10579

1 Like

Added a similar task and diff

https://developer.blender.org/T86264

1 Like

This is great! Good job man. We need this feature into trunk, it can make addons much more useful. As of now tracking the state of things needs to be done with unwanted excess modal operators. With this a more event-driven design can be introduced.

I think the tool handlers patch has the main features already coded, so I uploaded a test build so can be easily tested for python only coders. at the moment only the windows build is available.

please give feedback and support it on developer.blender.org if you consider it worth being added on official releases.

thanks!

Updated the GraphicAll build, example code and features can be found developer.blender.org

https://developer.blender.org/D10852 can be used to add new options on PropertyEnums from existing operators, and perform new features based on this new values.

1 Like

This is being updated and getting in sync with bf-blender on a branch in project’s fork.

More info is available on project’s website