zoo kcl view
View a render of a kcl file in your terminal.
Options
input- The path to the input kcl file to view. This can also be the path to a directory containing a main.kcl file. If you pass
-as the path, the file will be read from stdin -f/--format- Command output format
Possible values:json | yaml | table --angle- Which angle to take the snapshot from. Defaults to "front"
Possible values:front | top | right-side | four-ways | iso --camera-style- Which style of camera to use for snapshots
Possible values:ortho | perspective
Default value:ortho --camera-padding- How much padding to use when zooming before the screenshot. Positive padding will zoom out, negative padding will zoom in (and therefore crop). e.g. padding = 0.2 means the view will span 120% of the object(s) bounding box, and padding = -0.2 means the view will span 80% of the object(s) bounding box
Default value:0.1 --allow-errors- When there are KCL problems that are are errors, continue anyway. Problems (AKA compilation issues) may be detected in KCL parsing or execution and can have varying severity. Some errors are fatal and are not affected by this option. Which errors are considered fatal may change without notice
Default value:false -d/--debug- Print debug info
Default value:false --host- Zoo API host to use for all commands (e.g., "api.zoo.dev" or "http://localhost:8888"). Overrides the configured default host
-h/--help- Print help (see a summary with '-h')
About
$ zoo kcl view my-file.kcl
pass a file to view from stdin
$ cat my-obj.kcl | zoo kcl view -
By default, this will search the input path for a project.toml file to determine any specific execution settings.