Skip to content

Any good examples of how to export blendshapes? #1148

Answered by dgovil
AMGI-Pipeline asked this question in Q&A
Discussion options

You must be logged in to vote

The tests have an example.
https://github.com/Autodesk/maya-usd/tree/dev/test/lib/usd/translators/UsdExportBlendShapesTest
https://github.com/Autodesk/maya-usd/blob/dev/test/lib/usd/translators/testUsdExportBlendshapes.py

But it should work by using a command like:
cmds.mayaUSDExport(f=temp_file, v=True, sl=True, ebs=True, skl="auto", skn="auto")

The last 3 flags are important.
Note that this would only ensure that the blendshapes are in the resulting usd file. It doesn't mean Maya can import the blendshapes back in, nor that other apps/engines support Blendshape import at this moment.

Replies: 2 comments 10 replies

Comment options

You must be logged in to vote
10 replies
@AMGI-Pipeline
Comment options

@kxl-adsk
Comment options

@AMGI-Pipeline
Comment options

@ysiewappl
Comment options

@AMGI-Pipeline
Comment options

Answer selected by AMGI-Pipeline
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
5 participants