cli → zoo → file

zoo file surface-area

Get the surface area of an object in a CAD file.

Options

input
The path to the input file. If you pass - as the path, the file will be read from stdin
-s/--src-format
A valid source file format
Possible values: fbx | gltf | obj | ply | sldprt | step | stl
-f/--format
Output format
Possible values: json | yaml | table
-u/--output-unit
Output unit
Possible values: cm2 | dm2 | ft2 | in2 | km2 | m2 | mm2 | yd2
-d/--debug
Print debug info
Default value: false
-h/--help
Print help (see a summary with '-h')

About

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 surface-area of a file
$ zoo file surface-area my-file.step

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

See also