how to save custom 3 Pts Spline tool? Topic is solved

Please use this part to report bugs & errors, ask questions & "How to..."
Post Reply
User avatar
furushil
Posts: 408
Joined: 12 Feb 2012, 21:02
Location: Berlin
Contact:

how to save custom 3 Pts Spline tool?

Post by furushil »

Hello,

I would like to create two buttons in a custom panel.
One for a regular stroke pen tool and another for a 3 Pts Spline pen tool. I cannot figure out how to do that. The button only saves the pen tool characteristics but does not differentiate between "stroke" and "3 pts spline" :|

Is it possible to have two different buttons for that?
MAC OS 12.6.2 - TVpaint 11.7.1 PRO 64bit, Wacom Intuos Pro
User avatar
slowtiger
Posts: 2899
Joined: 08 May 2008, 21:10
Location: berlin, germany
Contact:

Re: how to save custom 3 Pts Spline tool?

Post by slowtiger »

Create one stroke button with "grab current tool". Select this button and go to edit. Select a command before the end, select "Insert Command". Set this command to "Stroke > 3 point spline". Save, enjoy.
TVP 10.0.18 and 11.0 MacPro Quadcore 3GHz 16GB OS 10.6.8 Quicktime 7.6.6
TVP 11.0 and 11.7 MacPro 12core 3GHz 32GB OS 10.11 Quicktime 10.7.3
TVP 11.7 Mac Mini M2pro 32GB OS 13.5
User avatar
furushil
Posts: 408
Joined: 12 Feb 2012, 21:02
Location: Berlin
Contact:

Re: how to save custom 3 Pts Spline tool?

Post by furushil »

Thanks, that works!
MAC OS 12.6.2 - TVpaint 11.7.1 PRO 64bit, Wacom Intuos Pro
User avatar
kmvassey
Posts: 7
Joined: 02 Jul 2023, 16:14
Contact:

Re: how to save custom 3 Pts Spline tool?

Post by kmvassey »

Hi! I'm trying this technique now and can't seem to get it to work. I'm grabbing the current freehand drawing tool and then editing, inserting a command, and typing the custom command as shown above, but still only get the Freehand stroke. I'll try posting a screen grab of what I'm doing. Thank you!
Attachments
Screenshot 2023-11-05 171258.jpg
Screenshot 2023-11-05 171258.jpg (35.84 KiB) Viewed 4712 times
Svengali
Posts: 1553
Joined: 28 Dec 2006, 10:08

Re: how to save custom 3 Pts Spline tool?

Post by Svengali »

You should not insert the line as a "Command". Remove that line.
Instead, insert a "key" by selecting Set KeyStroke, then choose "Shape:Spline 3Pts".
Then save.

This should now use whatever tool is set by line 0 and let you draw that as a 3 point spline line.

sven
TVP Pro 11.0.10-64bit Win10 - 64GB ram -2TB HHD - 256GB SSD - Wacom Cintiq 16, driver 6.3.41-1
Android Tablet: rel. 11, Samsung Galaxy Note10.1 - 32GB with microSD 32GB
Android Tablet: rel. 11.5, Samsung Galaxy Tab S7plus - 128GB with microSD 64GB
User avatar
kmvassey
Posts: 7
Joined: 02 Jul 2023, 16:14
Contact:

Re: how to save custom 3 Pts Spline tool?

Post by kmvassey »

Yes!! That worked great and makes total sense. Thank you so much! :)
Post Reply