Custom tool, change color + change brush to alpha stamp?

Please use this part to report bugs & errors, ask questions & "How to..."
Post Reply
User avatar
Lukas
Posts: 526
Joined: 14 Jan 2011, 11:15
Contact:

Custom tool, change color + change brush to alpha stamp?

Post by Lukas »

Is it possible to create a tool/button that changes the colour of my custom brush and changing the brush mode from 'Color' to 'Alpha stamp'? I know how to create buttons to change colour, but I can't find the alpha stamp setting anywhere.
  • Lukas Sketch Panel
  • TVPaint Pro 11.7.3
  • MacBook Pro 2018 macOS Ventura 13.4.1 + PC Windows 10
  • Wacom Cintiq 27QHD + Wacom Intuos4
  • YouTube.com/@ClubBaboo
  • YouTube.com/@FrameOrder
Elodie
Posts: 13912
Joined: 06 Jan 2009, 09:53
Location: Metz

Re: Custom tool, change color + change brush to alpha stamp?

Post by Elodie »

Hmm, you're right, this function is not listed in the function list, when you want to set a Key Map.
User avatar
Mads Juul
Posts: 3992
Joined: 02 May 2007, 19:18

Re: Custom tool, change color + change brush to alpha stamp?

Post by Mads Juul »

While we are waiting for a Keyboard shortcut you can use Tvpaints scripting language sor setting the stamp drawing mode of a Custom brush .
Paste this code

Code: Select all

tv_BrushRestore stamp 1
Into an embedded George script in an Action
Capture.JPG
Capture.JPG (37.18 KiB) Viewed 9390 times
Even though we can do it this way, I still think it should be availeble throug the Keyboard shortcuts
-Mads
User avatar
Lukas
Posts: 526
Joined: 14 Jan 2011, 11:15
Contact:

Re: Custom tool, change color + change brush to alpha stamp?

Post by Lukas »

madsjuul wrote:While we are waiting for a Keyboard shortcut you can use Tvpaints scripting language sor setting the stamp drawing mode of a Custom brush .
Paste this code

Code: Select all

tv_BrushRestore stamp 1
Into an embedded George script in an Action
Capture.JPG
Even though we can do it this way, I still think it should be availeble throug the Keyboard shortcuts
-Mads
Thanks so much Mads! :) Exactly what my sketch panel needed! (Easily stamping parts of drawings in blue!)
  • Lukas Sketch Panel
  • TVPaint Pro 11.7.3
  • MacBook Pro 2018 macOS Ventura 13.4.1 + PC Windows 10
  • Wacom Cintiq 27QHD + Wacom Intuos4
  • YouTube.com/@ClubBaboo
  • YouTube.com/@FrameOrder
User avatar
Mads Juul
Posts: 3992
Joined: 02 May 2007, 19:18

Re: Custom tool, change color + change brush to alpha stamp?

Post by Mads Juul »

Glad I could help :)
Post Reply