GuideLine Test Script - ToggleHVlines for TVP 11 Pro

Share your custom panels, brushes, papers... (you need to be registered to read posts in this section)
Post Reply
Svengali
Posts: 1552
Joined: 28 Dec 2006, 10:08

GuideLine Test Script - ToggleHVlines for TVP 11 Pro

Post by Svengali »

I've been experimenting in TVPaint 11 with GEORGE scripts that manage GuideLine Lines functionality. Here is a short button/script for setting Vertical / Horizontal GuideLine Lines.
GuideLine Test Script.jpg
GuideLine Test Script.jpg (3.66 KiB) Viewed 928 times
The button acts as a three-way toggle for H/V Guidelines:

First Click: Sets a Vertical Guideline Line and makes it red - so the cursor is an extended vertical red line.
Second Click: Turns the Vertical Guideline Line into a Horizontal Guideline Line and makes it green - the cursor is an extended horizontal green line
Third Click: Clears the Guideline Line.
Note that if you already have an active Guideline Line at some angle other than vertical or horizontal, it will be treated as if you requested a Vertical Guideline Line, sets it to red and makes it so.

Whatever drawing tool and colors you have currently selected will be used to draw straight lines vertically or horizontally.

I think the script demonstrates a general approach to GuideLines but I'd appreciate any feedback, good or bad. Thanks

Sven
Attachments
GuideLine Test Script.tvpx
(83 KiB) Downloaded 203 times
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
NathanOtano
Posts: 1187
Joined: 01 Apr 2014, 07:07
Location: Biarritz, France
Contact:

Re: GuideLine Test Script - ToggleHVlines for TVP 11 Pro

Post by NathanOtano »

I love the way that you toggle different options while clicking multiple times. Could be really usefull to asign one shortcut to multiple things, and if you use the modifiers you really can group a lot of things in a button.
Working on Windows 10
Creator of Disnosc, providing storyboard, animation and design for 2D realistic pictural animation: https://www.disnosc.fr/ - nathanotano@disnosc.fr
Highly interested in animation workflows, I'm open to scripting new TVP functions for individuals and studios.
Post Reply