Hello!
I recently started learning Krita scripting for developing plugins/extensions, and I’m eager to learn more!
I already finished reading the scripting lessons and it was a good introduction. I finished my very first -and very simple- extension, and I got some mixed questions:
-
Is there any more useful link to learn more? (apart from that link, I found barely no more sites for learning)
-
Is there any recommended IDE for developing Krita extensions? (I use daily VSCode, and I saw no extensions or anything for krita, so I had no access to the krita module and I made my extension kinda ‘blindfolded’). So, its there any recommended IDE or text editor for better krita scripting? What do you use?
-
In my extension, I tried accessing the brush presets from a certain tag. I found nothing in the API, so, is it possible?
a. I thought about the possibility of accesing the brush presets docker, with the selected -brush- tag, and maybe iterate on its content to get the brushes from that tag. Would a thing like that be possible? (I was able to iterate throught all the docks in the window, and get the “Brush Presets” docker, but I’m not sure if I’m able to dig into its content).
-
Would be possible to edit a brush’ parameters via code? (I mean parameters from the brush editor (things like scatter, flow, ratio, etc)
-
I would like to make a docker showing a few brushes, just as the “Brush Preset” docker (showing the brush icon (and being able to select them), and with some kind of grid that resizes automatically). How can I make that kind of layout? I’m not very familiar with Qt).
a. Also, the scripting lesson diferentiates (and has 2 different templates for) docker pluggins from extensions (which seems to be more like actions and such). I already made an extension using the extension template, but I would like to add a docker for my extension (that brush thing I said). I guess that its totally ok to merge both into a single pluggin (?) (or would I need to split it?).
Thank you and excuse me if there too many questions. Any help is appreciated, I would like to learn more about Krita scripting!
