cli → zoo → kcl

zoo kcl volume

Get the volume of an object in a kcl file.

Options

input
The path to the input file. This can also be the path to a directory containing a main.kcl file. If you pass - as the path, the file will be read from stdin
-f/--format
Output format
Possible values: json | yaml | table
-u/--output-unit
Output unit
Possible values: cm3 | ft3 | in3 | m3 | yd3 | usfloz | usgal | l | ml
--show-trace
If true, print a link to this request's tracing data
Default value: false
-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 my-file.kcl

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

By default, this will search the input path for a project.toml file to determine any specific execution settings.

See also