Grid & Guideline save
-
- Posts: 2
- Joined: 26 Jan 2018, 18:27
Grid & Guideline save
Hi there,
i am using TVP 11.0.8 and i am looking for a possibility to save my grid settings.
I ad in the guideline panel a grid and do some adjustments. Everthing is fine.
But if I open a new dokument, i have to do it again. The same adjustments for each new dokument.
Does somebody know how can i save this grid adjustments to ad my own grid in a new dokument?
Thank you.
Jens.
i am using TVP 11.0.8 and i am looking for a possibility to save my grid settings.
I ad in the guideline panel a grid and do some adjustments. Everthing is fine.
But if I open a new dokument, i have to do it again. The same adjustments for each new dokument.
Does somebody know how can i save this grid adjustments to ad my own grid in a new dokument?
Thank you.
Jens.
Re: Grid & Guideline save
One way is to make a button with the following embedded script. Note that you will have to enter your own Xcell and Ycell dimensions.
sven
Code: Select all
Xcell = 8
Ycell = 6
msg = Xcell " by " YCell " grid|display|erase"
tv_Request msg
IF result = = 1
tv_GetWidth
Width = result
tv_GetHeight
Height = result
GW = Width / Xcell
GH = Height / Ycell
tv_GuideLineAdd GRID X 0 Y 0 W GW H GH
ELSE
tv_GuideLineRemove ALL GRID
END
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
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
- Animationriver
- Posts: 258
- Joined: 02 Jul 2017, 09:04
- Location: Moscow
- Contact:
Re: Grid & Guideline save
Hello! And how to set black color and disconnected magnet?Svengali wrote: ↑01 Feb 2018, 20:17 One way is to make a button with the following embedded script. Note that you will have to enter your own Xcell and Ycell dimensions.
svenCode: Select all
Xcell = 8 Ycell = 6 msg = Xcell " by " YCell " grid|display|erase" tv_Request msg IF result = = 1 tv_GetWidth Width = result tv_GetHeight Height = result GW = Width / Xcell GH = Height / Ycell tv_GuideLineAdd GRID X 0 Y 0 W GW H GH ELSE tv_GuideLineRemove ALL GRID END
Thanks!
www.youtube.com/c/animationriver
MAC OS Sierra 10.12.6 64 bits , MacBook Pro (Retina, 15-inch, Mid 2014)
2.8 GHz Intel Core i7, 16 GB Memory , TVPaint PRO 11.5.2 64bit
NVIDIA GeForce GT 750M 2048 Мb
Wacom Cintiq 27 QHD Touch - Wacom Intuos Pro 5 - driver version 6.3.37-2
MAC OS Sierra 10.12.6 64 bits , MacBook Pro (Retina, 15-inch, Mid 2014)
2.8 GHz Intel Core i7, 16 GB Memory , TVPaint PRO 11.5.2 64bit
NVIDIA GeForce GT 750M 2048 Мb
Wacom Cintiq 27 QHD Touch - Wacom Intuos Pro 5 - driver version 6.3.37-2
-
- Posts: 2
- Joined: 26 Jan 2018, 18:27
Re: Grid & Guideline save
Hi Sven,
thank you so much. This is great. It works perfect.
But there is no other way to save a grid or any other guidelines (marks, circle, vanish point etc.) directly in the guideline panel?
Thanks a lot,
Jens.
thank you so much. This is great. It works perfect.
But there is no other way to save a grid or any other guidelines (marks, circle, vanish point etc.) directly in the guideline panel?
Thanks a lot,
Jens.
Re: Grid & Guideline save
All of the commands for Guideline management can be found >>HERE<< in the Wiki for TVPaint George...
Specifically, check out commands: tv_GuidelineSnap and tv_GuidelineColor.
sven
Specifically, check out commands: tv_GuidelineSnap and tv_GuidelineColor.
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
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
- Animationriver
- Posts: 258
- Joined: 02 Jul 2017, 09:04
- Location: Moscow
- Contact:
Re: Grid & Guideline save
Thank you! You are a wonderful professional and showed where to look, in order to learn.
I do not understand how to make this button smart, but sooner or later I'll understand.
But today. I do not know the iterations that seem very simple for you personally.
My attempt was recorded on video.
I want to change the color of the guiding lines to black. And cancel the magnet.
I do not understand how to make this button smart, but sooner or later I'll understand.
But today. I do not know the iterations that seem very simple for you personally.
My attempt was recorded on video.
I want to change the color of the guiding lines to black. And cancel the magnet.
- Attachments
-
- Guideline georg.mp4
- (26.88 MiB) Downloaded 1508 times
www.youtube.com/c/animationriver
MAC OS Sierra 10.12.6 64 bits , MacBook Pro (Retina, 15-inch, Mid 2014)
2.8 GHz Intel Core i7, 16 GB Memory , TVPaint PRO 11.5.2 64bit
NVIDIA GeForce GT 750M 2048 Мb
Wacom Cintiq 27 QHD Touch - Wacom Intuos Pro 5 - driver version 6.3.37-2
MAC OS Sierra 10.12.6 64 bits , MacBook Pro (Retina, 15-inch, Mid 2014)
2.8 GHz Intel Core i7, 16 GB Memory , TVPaint PRO 11.5.2 64bit
NVIDIA GeForce GT 750M 2048 Мb
Wacom Cintiq 27 QHD Touch - Wacom Intuos Pro 5 - driver version 6.3.37-2
Re: Grid & Guideline save
I've modified the script adding the tv_GuideLineSnap command and the tv_GuideLineColor command.
Everyone finds their own way to scripting, usually by reading docs like those found in the Wiki, watching tutorials and looking at scripts written by others to decipher what each command line does. GEORGE scripts are totally accessible, written in plain text form. Start by making simple changes in a script like this one: Try to make a new button that generates a red grid and another button that generates a green grid with different dimensions. You can make another button with a one-line embedded script that will let you Toggle the Snap-to-Grid-state on and off (hint instead of using ON or OFF, use TOGGLE as described in the documentation). Experiment - its hard to break anything with GEORGE scripts and GEORGE will often tell you exactly which line in your script is the problem. You'll quickly understand how it works. Where it takes you is up to you.
With Guidelines, the interface is wonderfully designed for interactive use. But GEORGE provides GuideLine script commands that users can combine in scripts, for example, to store and retrieve user defined-grid dimensions, user-defined grid states like color and snapping, etc.
sven
Code: Select all
Xcell = 8
Ycell = 6
R = 0
G = 0
B = 0
A = 255
msg = Xcell " by " YCell " grid|display|erase"
tv_Request msg
IF result == 1
tv_GetWidth
Width = result
tv_GetHeight
Height = result
GW = Width / Xcell
GH = Height / Ycell
tv_GuideLineAdd GRID X 0 Y 0 W GW H GH
tv_GuideLineSnap GRID OFF
tv_GuideLinecolor GRID R G B A
ELSE
tv_GuideLineRemove GRID
END
With Guidelines, the interface is wonderfully designed for interactive use. But GEORGE provides GuideLine script commands that users can combine in scripts, for example, to store and retrieve user defined-grid dimensions, user-defined grid states like color and snapping, etc.
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
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
- Animationriver
- Posts: 258
- Joined: 02 Jul 2017, 09:04
- Location: Moscow
- Contact:
Re: Grid & Guideline save
This is a kind act from your side. Thank you, Sven!
Unfortunately I am an animator and my brain perceives everything only through video and video lessons. We live in a new era. It's very difficult for me to become a programmer, even if George's language is very simple. But I'm very happy that you are at this forum! And you're very responsive.
You made a button that I dreamed about for a very long time.
Thanks again!
Unfortunately I am an animator and my brain perceives everything only through video and video lessons. We live in a new era. It's very difficult for me to become a programmer, even if George's language is very simple. But I'm very happy that you are at this forum! And you're very responsive.
You made a button that I dreamed about for a very long time.
Thanks again!
- Attachments
-
- 16-9 Guideline.tvpx.zip
- (2.8 KiB) Downloaded 1403 times
www.youtube.com/c/animationriver
MAC OS Sierra 10.12.6 64 bits , MacBook Pro (Retina, 15-inch, Mid 2014)
2.8 GHz Intel Core i7, 16 GB Memory , TVPaint PRO 11.5.2 64bit
NVIDIA GeForce GT 750M 2048 Мb
Wacom Cintiq 27 QHD Touch - Wacom Intuos Pro 5 - driver version 6.3.37-2
MAC OS Sierra 10.12.6 64 bits , MacBook Pro (Retina, 15-inch, Mid 2014)
2.8 GHz Intel Core i7, 16 GB Memory , TVPaint PRO 11.5.2 64bit
NVIDIA GeForce GT 750M 2048 Мb
Wacom Cintiq 27 QHD Touch - Wacom Intuos Pro 5 - driver version 6.3.37-2
Re: Grid & Guideline save
Another way could be to save one empty project with your grid settings and use it as a base for new projects (open and save under new name). I am not sure, if the grid-settings will stay when converting the project to a new size. But let's see. I think this is also the one and only way to save a library with different stuff (color-sheets, modellsheets, ...) when being too lazy to reproduce the lib with every new project.KF | Animation wrote: ↑01 Feb 2018, 14:04 But if I open a new dokument, i have to do it again. The same adjustments for each new dokument.
Does somebody know how can i save this grid adjustments to ad my own grid in a new dokument?
TVPaint 10.5.7 - Win10/64
TVPaint 11.0.8 - Win10/64
TVPaint 11.0.8 - Win10/64 (Wacom Companion 2)
TVPaint 11.0.8 - Win10/64
TVPaint 11.0.8 - Win10/64 (Wacom Companion 2)
- NathanOtano
- Posts: 1209
- Joined: 01 Apr 2014, 07:07
- Location: Biarritz, France
- Contact:
Re: Grid & Guideline save
@TVP team : Could be nice to be able to save some presets and move/scale all guidelines together (to move those presets or just in general). Copy Paste beetween projects could be nice also
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.
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.
Re: Grid & Guideline save
In the To do list alreadyNathanOtano wrote: ↑04 Feb 2018, 22:30 @TVP team : Could be nice to be able to save some presets and move/scale all guidelines together (to move those presets or just in general). Copy Paste beetween projects could be nice also
- Peter Wassink
- Posts: 4437
- Joined: 17 Feb 2006, 15:38
- Location: Amsterdam
- Contact:
Re: Grid & Guideline save
haha...
i was gonna ask how to copy/export a guideline stack to another project...
and that i forgot how to do that...
it turns out i forgot you can't
i was gonna ask how to copy/export a guideline stack to another project...
and that i forgot how to do that...
it turns out i forgot you can't
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
• PC: Win11/64 Pro - AMD Ryzen 9 5900X 12-Core - 64Gb RAM
• laptop: Win10/64 Pro - i7-4600@2.1 GHz - 16Gb RAM