cli → zoo → file

zoo file convert

Convert a CAD file from one format to another.


The path to the input file to convert. If you pass - as the path, the file will be read from stdin
The path to a directory to output the files
A valid source file format
Possible values: fbx | gltf | obj | ply | sldprt | step | stl
A valid output file format
Possible values: fbx | glb | gltf | obj | ply | step | stl
Command output format
Possible values: json | yaml | table
Print debug info
Default value: false
Print help (see a summary with '-h')


If the file being converted is larger than a certain size it will be performed asynchronously, you can then check its status with the zoo api-call status <id_of_your_operation> command.

# convert step to obj
$ zoo file convert --output-format=obj my-file.step output_dir

# convert obj to step
$ zoo file convert --output-format=step my-obj.obj .

# pass a file to convert from stdin
# when converting from stdin, the original file type is required
$ cat my-obj.obj | zoo file convert --output-format=step - output_dir

See also