Mina
Mina

Reputation: 2212

usdzConvert command not found error - WWDC 19

I'm trying to use command line to convert my .obj object to .usdz and enrich it with diffuse color as it mentioned in WWDC 19 Working with USD. but I get command not found: usdzconvert. That's the code

usdzconvert myObject.obj -diffuseColor 0.0,0.59,0.59

does anyone know what is the problem, or if there is any requirement to use this command.

P.S. I'm on macOS 10.15 Beta, I also have Xcode 11 beta installed.

Upvotes: 3

Views: 3053

Answers (1)

M Reza
M Reza

Reputation: 19698

To use usdzconvert command on macOS 10.15 Beta you need to first download usdz Tools from the bottom of the page and after extracting the zip file, use the USD.command file, which opens a terminal to access usdz commands.

You may also need to set your PATH and PYTHONPATH variables as follows:

export PATH=$PATH:<PATH_TO_USDPYTHON>/USD
export PYTHONPATH=$PYTHONPATH:<PATH_TO_USDPYTHON>/USD

Make sure to check the readme file included with the package for more details.

Upvotes: 5

Related Questions