cli → zoo → kcl

zoo kcl mass

Get the mass of objects in a kcl file.


The path to the input file. If you pass - as the path, the file will be read from stdin
Material density
Material density unit
Possible values: lb-ft3 | kg-m3
The source unit to use for the kcl file
Possible values: cm | ft | in | m | mm | yd
Default value: mm
Output format
Possible values: json | yaml | table
Output unit
Possible values: g | kg | lb
Print debug info
Default value: false
Print help (see a summary with '-h')


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

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

See also