cli → zoo → kcl

zoo kcl volume

Get the volume of an object in a kcl file.


The path to the input file. If you pass - as the path, the file will be read from stdin
Output format
Possible values: json | yaml | table
The source unit to use for the kcl file
Possible values: cm | ft | in | m | mm | yd
Default value: mm
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')


# get the volume of a file
$ zoo kcl volume --src_unit=m my-file.kcl

# pass a file from stdin
$ cat my-file.kcl | zoo kcl volume --src_unit=m

See also