-
Notifications
You must be signed in to change notification settings - Fork 9
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
Optimize output data from Maya USD animation export #115
base: develop
Are you sure you want to change the base?
Optimize output data from Maya USD animation export #115
Conversation
options["exportMaterials"] = False | ||
options["exportAssignedMaterials"] = False |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I tested out with these two options and also do some research on the mayaUSD. It seems that these two options haven't been exposed to Python as it errors out in maya 2025.1 during extraction.
options["exportMaterials"] = False | |
options["exportAssignedMaterials"] = False |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's odd. But they are in the list here: https://github.com/Autodesk/maya-usd/blob/dev/lib/mayaUsd/commands/Readme.md#mayausdexportcommand
Can you check which maya-usd
addon version you're using?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am at 0.28.0 not the latest 0.30.0. That could be the reason. I would download the latest version and try it again.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks - yes. Seems added in 0.29.0 -> https://github.com/Autodesk/maya-usd/blob/v0.29.0/doc/CHANGELOG.md
Will take it into consideration. 👍
I tried with the latest version of maya 2025.3 with mayausd 0.30.0 @BigRoy Do we need to implement some backward compatibility for just in case users are using maya-usd 0.28.0 or lower? |
Yes, that's the idea. Do keep in mind this PR is still in draft. There are other things to solve too, like:
|
This should be configurable in settings, but we need to inform users about the missing functionalities if they are using elder versions of maya usd. |
Changelog Description
Reduce amount of data extracted to USD from Maya USD animation.
Additional info
Draft.
Testing notes:
animation
product - it should work.