KeepTheMarks

Share your custom panels, brushes, papers... (you need to be registered to read posts in this section)
User avatar
schwarzgrau
Posts: 1238
Joined: 23 Jan 2012, 22:08
Location: Offenbach / Germany
Contact:

KeepTheMarks

Post by schwarzgrau »

Image

I'm using color image marks a lot and was frustrated to recreate them every time I merge two layers, so I wrote this script to keep them while merging.
The script works only with two layers at a time. You either select the top layer and choose Merge Keep Top Marks to prefer the top image marks or choose the bottom layer and choose Merge Keep Bottom Marks to prefer the bottom image marks.
How it will work is described in this feature request. Basically you merge the marks too, prefering the ones you choose. If you only want to keep the marks from layer A and ignore the marks from layer B you have to clear the marks on layer B before using the button.
Both buttons are available in bright gray for dark interfaces and in dark gray for bright interfaces.

Two things to notice:
1. This is my second script and I bet there is a lot of room for improvement. I embedded the script in the button, so please feel free to give me your corrections/improvements.
2. If a script does something means often the function doesn't need to be implemented in the software anymore, which is hopefully not the case here. It only works with two layers and I guess it's not that stable.



CustomPanel.png
CustomPanel.png (3.48 KiB) Viewed 4607 times
KeepTheMarks_1_2.tvpx
(249 KiB) Downloaded 307 times
Last edited by schwarzgrau on 09 Jun 2016, 11:06, edited 4 times in total.
Windows 11 22H2 / TVP 11.7.0 PRO WIBU / Cintiq 22HD
Windows 11 22H2 / TVP 11.7.0 PRO WIBU / Mobile Studio Pro 16" (2019)
Android 13 / TVP 11.7.0 / Galaxy Tab 7 FE
INSTAGRAM
User avatar
NathanOtano
Posts: 1209
Joined: 01 Apr 2014, 07:07
Location: Biarritz, France
Contact:

Re: KeepTheMarks

Post by NathanOtano »

Osome :D thanks
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.
User avatar
Thierry
Site Admin
Posts: 2780
Joined: 07 Jan 2013, 08:28

Re: KeepTheMarks

Post by Thierry »

Interesting !
NathanOtano wrote:Osome
I think it's "awesome" :D
User avatar
NathanOtano
Posts: 1209
Joined: 01 Apr 2014, 07:07
Location: Biarritz, France
Contact:

Re: KeepTheMarks

Post by NathanOtano »

I know, I just love to write it with a "O" haha. Maybe it's funny only with the french accent in mind...
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.
Elodie
Posts: 13912
Joined: 06 Jan 2009, 09:53
Location: Metz

Re: KeepTheMarks

Post by Elodie »

I must admit we were wondering at the office why you were always writing it with an O :lol:
User avatar
Fabrice
Posts: 10077
Joined: 17 Jul 2007, 15:00
Contact:

Re: KeepTheMarks

Post by Fabrice »

Elodie wrote:I must admit we were wondering at the office why you were always writing it with an O :lol:
+1 :P
Fabrice Debarge
User avatar
NathanOtano
Posts: 1209
Joined: 01 Apr 2014, 07:07
Location: Biarritz, France
Contact:

Re: KeepTheMarks

Post by NathanOtano »

Oh... :D
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.
momo
Posts: 139
Joined: 21 Jan 2013, 19:20

Re: KeepTheMarks

Post by momo »

Thanks !

its indeed O some indeed. I guess you could write it like that for some of the french speaker to get it: howsome (that's a classic french prononciation mistake)
momo
momo
Posts: 139
Joined: 21 Jan 2013, 19:20

Re: KeepTheMarks

Post by momo »

Thanks !

its indeed O some indeed. I guess you could write it like that for some of the french speaker to get it: howsome (that's a classic french prononciation mistake)
momo
User avatar
schwarzgrau
Posts: 1238
Joined: 23 Jan 2012, 22:08
Location: Offenbach / Germany
Contact:

Re: KeepTheMarks

Post by schwarzgrau »

I noticed that my script crashes TVPaint if one of the layer has only one frame, I try to fix it and will upload a new version. Till then please make sure you append an empty frame to a one frame layer you want to merge.
Windows 11 22H2 / TVP 11.7.0 PRO WIBU / Cintiq 22HD
Windows 11 22H2 / TVP 11.7.0 PRO WIBU / Mobile Studio Pro 16" (2019)
Android 13 / TVP 11.7.0 / Galaxy Tab 7 FE
INSTAGRAM
User avatar
schwarzgrau
Posts: 1238
Joined: 23 Jan 2012, 22:08
Location: Offenbach / Germany
Contact:

Re: KeepTheMarks

Post by schwarzgrau »

Updated to 1.2
Windows 11 22H2 / TVP 11.7.0 PRO WIBU / Cintiq 22HD
Windows 11 22H2 / TVP 11.7.0 PRO WIBU / Mobile Studio Pro 16" (2019)
Android 13 / TVP 11.7.0 / Galaxy Tab 7 FE
INSTAGRAM
User avatar
D.T. Nethery
Posts: 4225
Joined: 27 Sep 2006, 19:19

Re: KeepTheMarks

Post by D.T. Nethery »

Thank you very much for this Keep The Marks tool, schwarzgrau ! This has helped me out with a large, complicated project .

Animator, TVPaint Beta-Tester, Animation Educator and Consultant.
MacOS 12.7.1 Monterey , Mac Mini (2018) , 3.2 GHz 6-Core Intel Core i7,
16 GB RAM , TVPaint PRO 11.7.1 - 64bit , Wacom Cintiq 21UX 2nd Gen.
,Wacom Intuos Pro 5 , Wacom driver version 6.3.39-1
User avatar
Broughtvulture
Posts: 31
Joined: 09 Jul 2015, 00:58

Re: KeepTheMarks

Post by Broughtvulture »

Nice creation, it's nice to know that the mark tools are getting some love.
Windows 7 64-bit
FX 8350 8 Core - 16 GB RAM
TVPaint Professional 11.0.8 64-bit

BNV
User avatar
schwarzgrau
Posts: 1238
Joined: 23 Jan 2012, 22:08
Location: Offenbach / Germany
Contact:

Re: KeepTheMarks

Post by schwarzgrau »

D.T. Nethery wrote:Thank you very much for this Keep The Marks tool, schwarzgrau ! This has helped me out with a large, complicated project .
I'm really happy to hear this. I hoped I would write a script someday, which could be useful for some other people too.

Broughtvulture wrote:Nice creation, it's nice to know that the mark tools are getting some love.
Oh thank you. I'm glad much more people than I expected use the marks regularly. So if you ask for a better integration, it's not so selfish :wink:
Last edited by schwarzgrau on 11 Jul 2016, 08:11, edited 1 time in total.
Windows 11 22H2 / TVP 11.7.0 PRO WIBU / Cintiq 22HD
Windows 11 22H2 / TVP 11.7.0 PRO WIBU / Mobile Studio Pro 16" (2019)
Android 13 / TVP 11.7.0 / Galaxy Tab 7 FE
INSTAGRAM
Elodie
Posts: 13912
Joined: 06 Jan 2009, 09:53
Location: Metz

Re: KeepTheMarks

Post by Elodie »

So if you ask for a better integration, it's not so selfish
That's even the point of having a community : sharing tips and ideas to make things better for everyone :)
Post Reply