Skip to content
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.

Nuke: Build workfile by template #3763

Merged
merged 15 commits into from
Sep 2, 2022

Conversation

iLLiCiTiT
Copy link
Member

Brief description

Nuke template workfile builder using template builder from #3578.

Description

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.

Additional information

PR is based on #3544 created by @friquette. Changes made related to that PR. Updated to use abstract template builder from pipeline and changed to use new abstract methods. Changed few keys in placeholder data (e.g. _id -> last_repre_id). Changed some code styles like camel case or single char variable names. Renamed function names to be more desctibtive (e.g. get_io -> get_group_io_nodes, ...). Changed placeholders of placeholder UI.

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.

image

The placeholder will be replaced by the nodes you want. To create a placeholder: OpenPype > Template Builder > Create Place Holder

image

  • Configure placeholders

Fill in the necessary fields (the optional fields are regex filters)

image

- 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

image

3. Build your workfile

  • Open Nuke

  • Build your workfile

image

@ynbot
Copy link
Contributor

ynbot commented Aug 31, 2022

Task linked: OP-3851 Update nuke template build

@iLLiCiTiT iLLiCiTiT self-assigned this Aug 31, 2022
@iLLiCiTiT iLLiCiTiT added host: Nuke type: feature Larger, user affecting changes and completely new things labels Aug 31, 2022
@iLLiCiTiT
Copy link
Member Author

@ClementHector and @friquette can you look at the changes?

@iLLiCiTiT iLLiCiTiT merged commit 1d5e691 into develop Sep 2, 2022
@iLLiCiTiT iLLiCiTiT deleted the feature/OP-3851_Update-nuke-template-build branch September 2, 2022 13:41
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
host: Nuke type: feature Larger, user affecting changes and completely new things
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants