In my workflow I use a lot of shortcuts, so much in fact that now I can’t really find empty slots for new bindings. So I looked to other software that I love and use a lot of hotkeys in: Vim. In Vim shortcuts can be specified as sequence of keys. For example:
Means that after pressing leader key followed by c and f keys call call_function(). Reading sequence of characters as shortcut means that we get a lot of new possible shortcuts without having to stretch our hands all-over the keyboard.
Thats the functionality I tried to replicate in this add-on.
Just found out that installing add-on as downloaded zip file wasn’t working so i changed that. Now you have to install it as a whole zip file though, which i think is still better then not being able to install it as zip at all considering that that’s the easiest option of downloading add-ons from github.
What do you mean? Function can be anything in python really, it’s just a call to exec() function. So you can even type whole script in that input really if you want to. You would just have to do it all in one line.
Uf, a thought (sorry if off topic)…
Do you know if it is possible to have something like a command line (rhino, autocad…) in blender. As when we press space and use search line to call function, but to be always open (at bottom or top, at hand and as a visual feedback)?
I think you could. I would have to look into that but i think dynamic-spacebar add-on uses that search button as a operator? So you could maybe theoretically add it to some menu and have it open.
Oh please, MACHIN3!
I’m just a once in a while curious about Python. It will take me months to do something usable (more than this beautiful Script by Minius)!
You, as an amazing programmer can do it in a blink of an eye!