cli → zoo → kcl →
zoo kcl surface-area
Get the surface area of objects 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 -s/--src-unit
- The source unit to use for the kcl file
Possible values:cm | ft | in | m | mm | yd
Default value:mm
-f/--format
- Output format
Possible values:json | yaml | table
-u/--output-unit
- Output unit
Possible values:cm2 | dm2 | ft2 | in2 | km2 | m2 | mm2 | yd2
-d/--debug
- Print debug info
Default value:false
-h/--help
- Print help (see a summary with '-h')
About
# get the surface-area of a file
$ zoo kcl surface-area --src_unit=m my-file.kcl
# pass a file from stdin
$ cat my-file.kcl | zoo kcl surface-area --src_unit=m