cli → kittycad → kcl →
kittycad kcl snapshot
Snapshot a render of a kcl
file as any supported image format.
Options
input
- The path to the input kcl file to snapshot. If you pass
-
as the path, the file will be read from stdin output-file
- The path to a file to output the image
-t/--output-format
- A valid output image format
Possible values:png | jpeg
-f/--format
- Command output format
Possible values:json | yaml | table
-d/--debug
- Print debug info
Default value:false
-h/--help
- Print help (see a summary with '-h')
About
# snapshot as png
$ kittycad kcl snapshot my-file.kcl my-file.png
# pass a file to snapshot from stdin
$ cat my-obj.kcl | kittycad kcl snapshot --output-format=png - my-file.png