Export clips to TVP projects

Please use this part to report bugs & errors, ask questions & "How to..."
Post Reply
User avatar
Joost
Posts: 436
Joined: 24 Nov 2011, 13:16

Export clips to TVP projects

Post by Joost »

Hi!

Is it possible to export every single clips in my "project" tab so they become separate TVPaint projects (and it would be even better if every project would be saved in de separate folder).
Screenshot 2024-03-04 at 08.14.37.png
Screenshot 2024-03-04 at 08.14.37.png (73.22 KiB) Viewed 1056 times

For example: See this image. They are all called "shot 01", "shot 02" and so on. I would like to have these shot as a separate TVP file in a folder with the same name and it would be really helpful if this could be automated.


Thanks!


Joost
Mac OS 13.4.1 , Mac Studio 2023, 32GB RAM, Wacom Cintiq 27 QHD (no touch), Wacom Driver 6.4.2-4.
TVP Pro 11.7.1
User avatar
Hironori Takagi
Posts: 285
Joined: 14 May 2018, 10:15
Location: Tokyo, Japan
Contact:

Re: Export clips to TVP projects

Post by Hironori Takagi »

I created it using Clips To Projects in Handy Custom Panel.
What do you think?
Attachments
AllClipToProject_240304.grg
(2.65 KiB) Downloaded 42 times
TVPaint 11.7.2(Nov 14 2023), Windows11 Pro, HP Spectre x360 Convertible 14-ea0xxx / TVPaint 11.7.1(Dec 22 2022) Mac OS 11.6, Apple MacBookPro M1 2020
User avatar
Joost
Posts: 436
Joined: 24 Nov 2011, 13:16

Re: Export clips to TVP projects

Post by Joost »

Wow! this is exactly what I meant!

Thanks you so much!


Best,

Joost
Mac OS 13.4.1 , Mac Studio 2023, 32GB RAM, Wacom Cintiq 27 QHD (no touch), Wacom Driver 6.4.2-4.
TVP Pro 11.7.1
User avatar
Peter Wassink
Posts: 4299
Joined: 17 Feb 2006, 15:38
Location: Amsterdam
Contact:

Re: Export clips to TVP projects

Post by Peter Wassink »

Thank You Hironori San!

i asked for the exact same thing about a year ago.
https://forum.tvpaint.com/viewtopic.php ... ts#p132808

I believe this function "Export clip as project" should be integrated in the project menu. or be available in the main clip menu.
But project view maybe makes more sense as you can select the clips you need to save.




i do ran into an issue with the script.

if i run it i get the warning "プロジェクトを保存してから実行して下さい Please save project."
but when i save the project and try again i still get the warning?
something to do with a period in the project name? i don't understand
Peter Wassink - 2D animator
• PC: Win11/64 Pro - AMD Ryzen 9 5900X 12-Core - 64Gb RAM
• laptop: Win10/64 Pro - i7-4600@2.1 GHz - 16Gb RAM
User avatar
slowtiger
Posts: 2899
Joined: 08 May 2008, 21:10
Location: berlin, germany
Contact:

Re: Export clips to TVP projects

Post by slowtiger »

Often repeated warning: avoid anything outside 7bit ASCII in file and path names. So it's A-Za-z0-9_ only.
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
Joost
Posts: 436
Joined: 24 Nov 2011, 13:16

Re: Export clips to TVP projects

Post by Joost »

Peter Wassink wrote: 04 Mar 2024, 10:35
I believe this function "Export clip as project" should be integrated in the project menu. or be available in the main clip menu.
But project view maybe makes more sense as you can select the clips you need to save.

I agree that it should be integrated!

A couple of things I thought about (If it would be implemented)
-It would be handy if it asked where to save the files
-Have the ability to save each created file in a sub-folder (with the same name)
-Maybe it would be better if it not automatically opened every file
-And there should be a good method of giving each clip a logical number without renaming every clip by hand
Mac OS 13.4.1 , Mac Studio 2023, 32GB RAM, Wacom Cintiq 27 QHD (no touch), Wacom Driver 6.4.2-4.
TVP Pro 11.7.1
User avatar
Peter Wassink
Posts: 4299
Joined: 17 Feb 2006, 15:38
Location: Amsterdam
Contact:

Re: Export clips to TVP projects

Post by Peter Wassink »

Joost wrote: 04 Mar 2024, 11:52 A couple of things I thought about (If it would be implemented)
-It would be handy if it asked where to save the files
-Have the ability to save each created file in a sub-folder (with the same name)
-Maybe it would be better if it not automatically opened every file
-And there should be a good method of giving each clip a logical number without renaming every clip by hand
I agree with all of these.

this topic has been addressed multiple times
https://forum.tvpaint.com/viewtopic.php ... 49#p131749

i can only conclude this needs some attention from the development team, its clear this important functionality is lacking.

meanwhile here is the direct link to the custom panel patch: https://www.tvpaint.com/forum/viewtopic ... 03&p=47609
Peter Wassink - 2D animator
• PC: Win11/64 Pro - AMD Ryzen 9 5900X 12-Core - 64Gb RAM
• laptop: Win10/64 Pro - i7-4600@2.1 GHz - 16Gb RAM
User avatar
Hironori Takagi
Posts: 285
Joined: 14 May 2018, 10:15
Location: Tokyo, Japan
Contact:

Re: Export clips to TVP projects

Post by Hironori Takagi »

Peter Wassink wrote: 04 Mar 2024, 10:35 i do ran into an issue with the script.

if i run it i get the warning "プロジェクトを保存してから実行して下さい Please save project."
but when i save the project and try again i still get the warning?
something to do with a period in the project name? i don't understand
This program checks exist periods in the file path to avoid running it on unsaved projects.
It should be cleared if ".tvpp" exists, but if there is a space in the middle of the project name, it may not work due to George's rules.
TVPaint 11.7.2(Nov 14 2023), Windows11 Pro, HP Spectre x360 Convertible 14-ea0xxx / TVPaint 11.7.1(Dec 22 2022) Mac OS 11.6, Apple MacBookPro M1 2020
User avatar
Peter Wassink
Posts: 4299
Joined: 17 Feb 2006, 15:38
Location: Amsterdam
Contact:

Re: Export clips to TVP projects

Post by Peter Wassink »

Turned out it was a simple copy/paste mistake.
i omitted the first line of the grg script :roll:

It works now. Thanks!
Attachments
AllClipToProject_Hironori Takagi.tvpx
(7.5 KiB) Downloaded 42 times
Peter Wassink - 2D animator
• PC: Win11/64 Pro - AMD Ryzen 9 5900X 12-Core - 64Gb RAM
• laptop: Win10/64 Pro - i7-4600@2.1 GHz - 16Gb RAM
User avatar
D.T. Nethery
Posts: 4146
Joined: 27 Sep 2006, 19:19

Re: Export clips to TVP projects

Post by D.T. Nethery »

Peter Wassink wrote: 05 Mar 2024, 12:57 Turned out it was a simple copy/paste mistake.
i omitted the first line of the grg script :roll:

It works now. Thanks!

Thank you Hironari Takagi for this very useful script.

Thanks to Peter for putting it into a custom panel .tvpx file.

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
Lukas
Posts: 526
Joined: 14 Jan 2011, 11:15
Contact:

Re: Export clips to TVP projects

Post by Lukas »

I reworked it a little bit for our pipeline. My version is in my panel: https://github.com/lukaskrepel/TVP-Lukas-Sketch-Panel make sure you update to the latest version.

Read the Suggested folder structure for projects part of the readme if you're interested in using it too. There's a "Clips to TVPaint Projects" button to go from STB to Folder structure with a file per clip. And a "Render to 'Renders' Folder" button that renders a shot as image sequence into the correct folder each time. It saves a *lot* of time, as the default Export window is a often hassle to work with imo.
  • 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
Post Reply