cli → zoo → file

zoo file snapshot

Snapshot a render of a CAD file as any supported image format.


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


# snapshot as png
$ zoo file snapshot my-file.obj my-file.png

# pass a file to snapshot from stdin
$ cat my-obj.obj | zoo file snapshot --output-format=png - my-file.png

See also