OpenPype
OpenPype copied to clipboard
Nuke: Build workfile by template
Brief description
Following discussion https://github.com/pypeclub/OpenPype/discussions/2013 This PR depends on the Maya build workfile by template https://github.com/pypeclub/OpenPype/pull/3315
Templated Build Workfile
Building a workfile using a template designed by users. Helping to assert homogeneous subsets hierarchy and imports. Template stored as file easy to define, change and customize for production needs.
1. Make a template
Make your template. Add nodes and everything needed for your tasks. Here is an example template for the compositing task using a placeholder.
The placeholder will be replaced by the nodes you want. To create a placeholder: OpenPype > Template Builder > Create Place Holder
- Configure placeholders
Fill in the necessary fields (the optional fields are regex filters)
- Builder type: Wether the the placeholder should load current asset representations or linked assets representations
- Representation: Representation that will be loaded (ex: ma, abc, png, etc...)
- Family: Family of the representation to load (main, look, image, etc ...)
- Loader: Placeholder loader name that will be used to load corresponding representations
- Order: Priority for current placeholder loader (priority is lowest first, highet last)
- Save your template
2. Configure Template
- Go to Studio settings > Project > Your DCC > Templated Build Settings
- Add a profile for your task and enter path to your template
3. Build your workfile
-
Open Nuke
-
Build your workfile
Thank you @friquette! we're actually just about to approve and merge the source PR for Maya, which opens the road this right away. We'll have a look and give it a proper review
Thank you @friquette , this is awesome! I was able to make and use template with loadClip for mov and exr.
- Is there a way to load "look" as input process with LoadEffectsInputProcess? I was not able to make it work.
- A minor one - looks like the template can't handle connecting loadClip with retime (Timewarp node).
- The Path to template in settings is accepting root, but it refused {project[name]} or {task[name]}, it would be great to have that flexibility.
- Applying template adds rogue Y_init knob in the OpenPype tab of the create Read.
Are you sure your venv is set in python3 ?
think so, . .
Closing as it is replaced by https://github.com/pypeclub/OpenPype/pull/3838