Page 1 of 1

sketch panel - saving custom brush - questions

Posted: 19 Dec 2019, 00:53
by Holger
The sketch panel is a fantastic tool.
I often find myself adjusting the sketch panel brushes. I would like to avoid doing this over and over. I have tried to save the adjusted brush as a custom brush, but found that the saved brush doesn't retain some of the sketch panel functionalities. For example the tint brush. I don't like it to be fuzzy, like an airbrush. So I adjust the profile to give it sharp edges. The default size value 25 might be too big, so I decrease the size to 12. Then I save this as a custom brush. If I go back to drawing with other brushes in black and then want to use this new custom brush it acts like a normal brush instead of tinting.

I don't know anything about scripting, but I took a screen grab of the edit menu of a default tinting brush (left) and the saved adjusted brush (right). I can see how they look different, but I have no idea on what to do with that.

I was hoping to get some easy to understand tips that can help me to save adjusted sketch brushes with all their powers intact.

Thanks!

Re: sketch panel - saving custom brush - questions

Posted: 20 Dec 2019, 02:40
by cgmodeler
Hello Holger, the problem is that the SketchPanel Tint Brushes are not using the normal color to tint instead they use a customMode
"tv_custommode 0 0 0 0 255 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0" -- This function represents the tinting color instead of a normal ColorA or ColorB

If you want your brush to TINT, then the easiest way would be to lock the layer transparency and then paint with your brush, that'll be the closest to the tinting you're looking for with the custom brush.

Also you could remove the COLOR A and COLOR B from your CUSTOMBRUSH and just add a TYPE SCRIPT COMMAND with a fixed color for tinting. In that case would be this command for RED

tv_custommode 0 0 0 0 255 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0

Hope it helps

Re: sketch panel - saving custom brush - questions

Posted: 22 Dec 2019, 04:22
by Holger
Thank you! I will try the idea with replacing color a/b with tv_custommode 0 0 0 0 255 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0.