Recently Pixar released a plugin for working with USDA
file format in Maya. Also there's a USD API. With this API is easy to create a usdPrimitives
:
from pxr import Usd, UsdGeom
stage = Usd.Stage.CreateNew('HelloWorld.usda')
xformPrim = UsdGeom.Xform.Define(stage, '/hello')
spherePrim = UsdGeom.Sphere.Define(stage, '/hello/world')
stage.GetRootLayer().Save()
And then execute this Python script to create a .usda
file.
$ python extras/usd/tutorials/helloWorld/helloWorld.py
What Python command is used for export to a USDA
file format?