cli → zoo → kcl →
zoo kcl volume
Get the volume of an object in a kcl file.
Options
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
By default, this will search the input path for a project.toml
file to determine the source
unit and any specific execution settings. If no project.toml
file is found, in the directory
of the input path OR any parent directories above that, the default
source unit will be millimeters. You can also specify the source unit with the
--src-unit
/-s
command line flag.