Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AY-3251_Nuke: Packing Nuke scripts #23

Open
ynbot opened this issue Sep 19, 2024 · 2 comments
Open

AY-3251_Nuke: Packing Nuke scripts #23

ynbot opened this issue Sep 19, 2024 · 2 comments
Assignees
Labels
sponsored This is directly sponsored by a client or community member

Comments

@ynbot
Copy link
Contributor

ynbot commented Sep 19, 2024

Please describe the feature you have in mind and explain what the current shortcomings are?

It would be great to be able to pack Nuke scripts with all its resources. Some clients require sending project files, and it requires a lot of effort to pack many shots.

Maybe an Action that can be run on many versions at once. Some kind of example boilerplate code:
“how to run python script for many published Nuke workfiles“ would be awesome.

Requirements:
Action should offer target directory for all packed zip files
Packaging script should
Create a temporary folder (lately used for zip conversion)
Iterate via all loaders > copy connected files into a temp directory
save current workfile version into the temp dir
relink all loaders to relative paths inside of the temp dir (use TCL expression mapping current workfile folder as root for files)
Iterate via all Gizmo class nodes and bake them recursivelly
Copy currently used custom OCIO config file into temp dir
Relink OCIO config file to be read form relative path
Relink any Render write node in scene to be rendered into the relative folder inside of package folder.
Packages should be at the end ZIP files
Current context folder metadata with all attributes could be saved as JSON file into the package.

How would you imagine the implementation of the feature?

No response

Describe alternatives you've considered:

No response

Additional context:

()
(might be a private channel)

This issue was automatically created from Clickup ticket AY-3251

@ynbot ynbot added sponsored This is directly sponsored by a client or community member type: feature Adding something new and exciting to the product labels Sep 19, 2024
@jakubjezek001
Copy link
Member

Very good example of functionality can be found here https://github.com/jrsndl/pack_nuke done by @jrsndl

@jakubjezek001
Copy link
Member

We need to implement nuke packing job processing using the ayon-circuit addon [currently work in progress] as an offloaded job.

@jakubjezek001 jakubjezek001 self-assigned this Sep 19, 2024
@dee-ynput dee-ynput removed the type: feature Adding something new and exciting to the product label Nov 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
sponsored This is directly sponsored by a client or community member
Projects
None yet
Development

No branches or pull requests

3 participants