Batch rename brushes prefix

Edit: or if this is easy to implement sooner: being able to backup the brush when saving copy. So another button titled: Save copy to custom folder. (Saves as kpp and brush tip as abr?)


Button could say Save and Export. Or just Export Kpp

original post:
So to help me make bundles since scrolling through list of brushes I loaded is sorted by naming convention. It would be nice to be able to name change brushes to group1 (2 ,3,4…) as prefix for all brushes that are grouped together.

Similar to how we can now assign tag to brushes from the resource manager.

concept:

1 Like

I think this need a more detailed explanation, like when you say brushes do you mean brush presets or the brush tips? Also your explanation on how it would work seems a bit confusing for me, just by reading it. Though I think i can kinda understand what you mean, as i went through a similar problem when making brushes so let me see if i can structure it a bit better.

Renaming presets in krita right now is a manual labor, its made with the idea only one preset will be renamed at a time and that this is not a common occurrence. However when creating brushes to be made into a bundle i noticed many times I would be changing the preset names many times to make the organization better.

In the end I created some python scripts to rename presets and batch rename them they were made with krita 4 in mind but should work fine if you comment the line that tries to update the tag file as that was changed in 5 (though they will lose their tags now too). Though these scripts are just workarounds for something I feel should be in krita.

Right now you can only change names of brush presets inside krita, its not possible to change brush tips names inside krita from what I saw. The only place you can change the name of the brush is the brush editor, which only allows to change the name of one preset at a time.

My idea of implementation:
In the manage resources window, add options to rename presets. I think the following options would be helpful:

  • Rename just one brush preset. This would be the same behavior of the brush editor, might sound redundant but i think it would improve the experience to have it in this window too.
  • Add a prefix and suffix to selected brushes. While tachiko only mentioned prefix, i think sufix could also be useful especially for my workflow where I add _[size] at the end of my brushes to mark them as they having size controlled by pressure.
  • Be able to select all brushes of one tag with one click. this would be an auxiliary function to be used alongside the previous bullet point.

I don’t know if this is what you had in mind tachiko but its what i feel its kinda missing in krita right now. This idea doesn’t have all the functionality i did in my scripts but i feel its the ones most needed in the interface. Hopefully this is kinda inline with what you are requesting

this is what i have in mind:


the center name would be auto populated. suffix could have a drop down to select to auto generate numbers in order and choose number of digits. so like -001

i personally dont like the idea of it being in the brush presets docker, as i feel the resource manager is a place that makes more sense, as you can more easily edit tags there too.

4 Likes

Whichever as long as it’s as easy to do.
If it is in the bush preset docker it would probably be best hidden by default so it keeps the interface minimal.

Edit: one way it could show in the brush preset docker is only if you multi select brush presets and right click on any of them. As such Batch rename could be accessed there or from resource manager