cli → zoo → kcl →
zoo kcl volume
Get the volume of an object in a kcl file.
Options
input
- The path to the input file. If you pass
-
as the path, the file will be read from stdin -f/--format
- Output format
Possible values:json | yaml | table
-s/--src-unit
- The source unit to use for the kcl file
Possible values:cm | ft | in | m | mm | yd
Default value:mm
-u/--output-unit
- Output unit
Possible values:cm3 | ft3 | in3 | m3 | yd3 | usfloz | usgal | l | ml
-d/--debug
- Print debug info
Default value:false
-h/--help
- Print help (see a summary with '-h')
About
# 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