Expose Maya USD creator that creates a static model
product type
#205
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Changelog Description
Exposes a dedicated creator that exports a Maya USD export as a "model" product type.
Additional review information
TL;DR
We have a long history of a
model
product type creator in Maya, focused on exporting static geometry to Maya Scene and Alembic. Now we also want to include USD exports, but also allow the Maya USD contribution workflow to trigger, etc.This is one potential approach to do so.
Detailed
This now allows to publish USD products with USD contributions as a "model" product type, e.g. a
modelMain
as part of theusdAsset
's model layer and also have it trigger themodel
product type validations.It's good to know however that a few validators will need to be disabled in settings for this product type to make sense (otherwise it wouldn't pass the model validations).
In particular disable:
This is because the top group should be the asset name without suffix (so it should not be e.g.
_GRP
suffix) and the creators' "asset template hierarchy" it creates starts with a namespace to allow publishing multiple model asset contributions separately from the one scene (without having a group name conflict between the two groups in the scene).Also, if ONLY the USD should be exported from this product type instead of also the Maya Scene and Alembic, then disable the extractors:
There happened to also be a way to export a USD previously from the
model
family which should also be disabled:That behavior where the existing
model
creator would export USD however had the issue that:usd
family - not onmodel
product type.Fix #207
Testing notes: