cli → zoo →
zoo start-session
Starts a modeling session.
Options
listen_on
- What host/port to accept KCL programs on
Default value:0.0.0.0:3333
num_engine_connections
- How many engine connections to use in the connection pool
Default value:1
-d/--debug
- Print debug info
Default value:false
-h/--help
- Print help (see a summary with '-h')
About
This command starts a server on localhost (on the configurable interface), and waits to receive KCL programs over that server. It also connects to the KittyCAD API and keeps the connection alive until this process is stopped. When it receives a KCL program over the local server, it executes it using the long-lived KittyCAD connection.
This subcommand is designed to be used with zoo kcl snapshot --session localhost:3333
,
which will reuse the existing connection started by zoo start-session localhost:3333
.