cli → zoo → file

zoo file volume

Get the volume of an object in a CAD file.


The path to the input file. 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
Output format
Possible values: json | yaml | table
Output unit
Possible values: cm3 | ft3 | in3 | m3 | yd3 | usfloz | usgal | l | ml
Print debug info
Default value: false
Print help (see a summary with '-h')


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

# get the volume of a file
$ zoo file volume my-file.step

# pass a file from stdin, the original file type is required
$ cat my-obj.obj | zoo file volume - --src-format=obj

See also