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

Bespoke usdGenSchema replacement #1615

Closed
cpichard opened this issue Aug 10, 2023 · 1 comment · Fixed by #1624
Closed

Bespoke usdGenSchema replacement #1615

cpichard opened this issue Aug 10, 2023 · 1 comment · Fixed by #1624
Labels
enhancement New feature or request

Comments

@cpichard
Copy link
Collaborator

We are currently using the python script usdGenSchema shipped with usd to generate the final usd arnold schema file called generatedSchemas.usda from schema.usda.
When we build the arnold usd procedural, usd_proc, with the static usd version, we can't use usdGenSchema as this version doesn't have the python bindings. We don't need and want the python bindings in the procedural.
The only transformation we need to generate the final generatedSchema.usda file is a flatten operation, plus some filtering as visible in https://github.com/PixarAnimationStudios/OpenUSD/blob/10b62439e9242a55101cf8b200f2c7e02420e1b0/pxr/usd/usd/usdGenSchema.py#L1525
We want to write a tool that would perform those operations and replace usdGenSchema when we build with a version of usd which doesn't have python.

@cpichard cpichard added the enhancement New feature or request label Aug 10, 2023
@cpichard cpichard changed the title generated schema flattener Bespoke usdGenSchema replacement Aug 10, 2023
@autodesk-oss-arnold-bot
Copy link

Issue synced internally to ARNOLD-13913

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

1 participant