KeepTheMarks

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

KeepTheMarks

Post by schwarzgrau » 01 Jun 2016, 11:12

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
KeepTheMarks_1_2.tvpx
You do not have the required permissions to view the files attached to this post.
Last edited by schwarzgrau on 09 Jun 2016, 11:06, edited 4 times in total.
Mac OS X 10.11.6 / TVP 11.0.8 PRO / Cintiq 22HD
Mac OS X 10.11.6 / TVP 11.0.8 PRO / Cintiq Companion 2
SCHWARZGRAU.COM

User avatar
NathanOtano
Posts: 852
Joined: 01 Apr 2014, 07:07
Location: Paris, France
Contact:

Re: KeepTheMarks

Post by NathanOtano » 01 Jun 2016, 13:15

Osome :D thanks
Storyboard, animation and design work : http://nathanotano.tumblr.com/
As I'm highly interested in animation workflows, I'm open to scripting new TVP functions for individuals and studios. Please don't hesitate to contact me!

User avatar
Thierry
Site Admin
Posts: 1722
Joined: 07 Jan 2013, 08:28

Re: KeepTheMarks

Post by Thierry » 01 Jun 2016, 13:25

Interesting !
NathanOtano wrote:Osome
I think it's "awesome" :D
P.S. Si votre question a trouvé réponse, marquez votre sujet comme Résolu.
P.S. If your question has been answered, mark your topic as Solved.

---
Avatar by Colombine Majou
---
Thierry CANTET

User avatar
NathanOtano
Posts: 852
Joined: 01 Apr 2014, 07:07
Location: Paris, France
Contact:

Re: KeepTheMarks

Post by NathanOtano » 01 Jun 2016, 13:54

I know, I just love to write it with a "O" haha. Maybe it's funny only with the french accent in mind...
Storyboard, animation and design work : http://nathanotano.tumblr.com/
As I'm highly interested in animation workflows, I'm open to scripting new TVP functions for individuals and studios. Please don't hesitate to contact me!

User avatar
Elodie
Site Admin
Posts: 13324
Joined: 06 Jan 2009, 09:53
Location: Metz

Re: KeepTheMarks

Post by Elodie » 01 Jun 2016, 14:38

I must admit we were wondering at the office why you were always writing it with an O :lol:
Questions or problems regarding the forum ? Please contact me by PM
Question regarding TVPaint or need a quotation ? Please contact me by email

User avatar
Fabrice
Posts: 9767
Joined: 17 Jul 2007, 15:00
Contact:

Re: KeepTheMarks

Post by Fabrice » 01 Jun 2016, 14:55

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, Product Manager, TVPaint Team

User avatar
NathanOtano
Posts: 852
Joined: 01 Apr 2014, 07:07
Location: Paris, France
Contact:

Re: KeepTheMarks

Post by NathanOtano » 01 Jun 2016, 15:22

Oh... :D
Storyboard, animation and design work : http://nathanotano.tumblr.com/
As I'm highly interested in animation workflows, I'm open to scripting new TVP functions for individuals and studios. Please don't hesitate to contact me!

momo
Posts: 138
Joined: 21 Jan 2013, 19:20
Location: Seoul
Contact:

Re: KeepTheMarks

Post by momo » 03 Jun 2016, 00:48

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

TvPaint 10 Pro 10.5.7 - 64 bits
Windows 7 64 bits


https://jeromeanimation.wordpress.com/

momo
Posts: 138
Joined: 21 Jan 2013, 19:20
Location: Seoul
Contact:

Re: KeepTheMarks

Post by momo » 03 Jun 2016, 00:48

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

TvPaint 10 Pro 10.5.7 - 64 bits
Windows 7 64 bits


https://jeromeanimation.wordpress.com/

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

Re: KeepTheMarks

Post by schwarzgrau » 09 Jun 2016, 09:57

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.
Mac OS X 10.11.6 / TVP 11.0.8 PRO / Cintiq 22HD
Mac OS X 10.11.6 / TVP 11.0.8 PRO / Cintiq Companion 2
SCHWARZGRAU.COM

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

Re: KeepTheMarks

Post by schwarzgrau » 09 Jun 2016, 11:07

Updated to 1.2
Mac OS X 10.11.6 / TVP 11.0.8 PRO / Cintiq 22HD
Mac OS X 10.11.6 / TVP 11.0.8 PRO / Cintiq Companion 2
SCHWARZGRAU.COM

User avatar
D.T. Nethery
Posts: 2078
Joined: 27 Sep 2006, 19:19

Re: KeepTheMarks

Post by D.T. Nethery » 08 Jul 2016, 13:44

Thank you very much for this Keep The Marks tool, schwarzgrau ! This has helped me out with a large, complicated project .
MAC OS 10.11.6 , Macbook Pro Retina 15-inch, Mid 2015,
2.5 GHz Intel Core i7, 16 GB Memory , TVPaint PRO 11.0.6, 64bit -
Wacom Cintiq 21 UX - Wacom Intuos Pro 5 - driver version 6.3.20-8

User avatar
Broughtvulture
Posts: 30
Joined: 09 Jul 2015, 00:58

Re: KeepTheMarks

Post by Broughtvulture » 09 Jul 2016, 03:10

Nice creation, it's nice to know that the mark tools are getting some love.
BNV

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

Re: KeepTheMarks

Post by schwarzgrau » 10 Jul 2016, 21:15

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.
Mac OS X 10.11.6 / TVP 11.0.8 PRO / Cintiq 22HD
Mac OS X 10.11.6 / TVP 11.0.8 PRO / Cintiq Companion 2
SCHWARZGRAU.COM

User avatar
Elodie
Site Admin
Posts: 13324
Joined: 06 Jan 2009, 09:53
Location: Metz

Re: KeepTheMarks

Post by Elodie » 11 Jul 2016, 04:54

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 :)
Questions or problems regarding the forum ? Please contact me by PM
Question regarding TVPaint or need a quotation ? Please contact me by email

Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests