cli → zoo → kcl

zoo kcl snapshot

Snapshot a render of a kcl file as any supported image format.

Options

About

# snapshot as png
$ zoo kcl snapshot my-file.kcl my-file.png

# pass a file to snapshot from stdin
$ cat my-obj.kcl | zoo kcl snapshot --output-format=png - my-file.png

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