I try to start coding for Blender. My longterm-goal is to create my own sets of tools to automate a few functions in Blender that I regularly use. Nothing too spectacular I thought. Having a great deal of experience with JS and AS3, Python didn’t seem too complicated as well.
I have worked through some python-tutorials and have also executed some functions from the commandline. So I think I know the basics.
What I keep failing at is setting up any GUI. All examples I tried to use for reference seem overly complicated. All I want to do just now are the following:
- Set up a simple button that executes an arbitrary command/script when it’s pushed.
- (in the distant future ) Set up a few number-fields in which I can enter parameters
and add some kind of “submit”-button, to send all the parameters to a function
So far I haven’t even managed to add a button anywhere, let alone giving it some functionality. I have read through a lot of sample-code and tutorials, but haven’t found a single one that explains this seemingly simple task. Could anyone please help me?