cli → zoo → kcl

zoo kcl mass

Get the mass of objects in a kcl file.

Options

About

# 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

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.

See also