add controller api to cli

This commit is contained in:
Stewart Allen 2022-03-03 19:08:08 -05:00
commit d146ae0e29
3 changed files with 8 additions and 1 deletions

View file

@ -24,9 +24,9 @@
* `C` refactor slicers to use single improved slice core (cnc deferred) * `C` refactor slicers to use single improved slice core (cnc deferred)
* `C` add parameterized solid projection expansion (infill -> solid expand) * `C` add parameterized solid projection expansion (infill -> solid expand)
* `C` add parameterized control of bridge/flat and infill print speeds * `C` add parameterized control of bridge/flat and infill print speeds
* `C` add api control over threading workloads and use of wasm
* `P` template vars: nozzles used and layers until next use (IDEX) * `P` template vars: nozzles used and layers until next use (IDEX)
* `-` improved vertex replacement and widget update matrix tracking * `-` improved vertex replacement and widget update matrix tracking
* `-` api control over (non) threaded workloads and wasm
## Mesh:Tool ## Mesh:Tool

View file

@ -0,0 +1,4 @@
{
"threaded":false,
"assembly":false
}

View file

@ -6,6 +6,7 @@ let opts = {
output: "-", output: "-",
model: "web/obj/cube.stl", model: "web/obj/cube.stl",
source: "src/cli/kiri-source.json", source: "src/cli/kiri-source.json",
controller: "src/cli/kiri-controller.json",
process: "src/cli/kiri-fdm-process.json", process: "src/cli/kiri-fdm-process.json",
device: "src/cli/kiri-fdm-device.json", device: "src/cli/kiri-fdm-device.json",
}; };
@ -39,6 +40,7 @@ if (opts.help) {
" --source=[file] | source file list (defaults to kiri engine)", " --source=[file] | source file list (defaults to kiri engine)",
" --device=[file] | device definition file (json)", " --device=[file] | device definition file (json)",
" --process=[file] | process definition file (json)", " --process=[file] | process definition file (json)",
" --controller=[file] | controller definition file (json)",
" --output=[file] | gcode output to file or '-' for stdout", " --output=[file] | gcode output to file or '-' for stdout",
" --position=x,y,z | move loaded model to position x,y,z", " --position=x,y,z | move loaded model to position x,y,z",
" --rotate=x,y,z | rotate loaded model x,y,z radians", " --rotate=x,y,z | rotate loaded model x,y,z radians",
@ -55,6 +57,7 @@ let exports_save = exports,
THREE = {}, THREE = {},
gapp = {}, gapp = {},
geo = {}, geo = {},
noop = () => { },
self = this.self = { self = this.self = {
gapp, gapp,
THREE, THREE,