diff --git a/release.md b/release.md index b4890f09..d4054b8a 100644 --- a/release.md +++ b/release.md @@ -24,9 +24,9 @@ * `C` refactor slicers to use single improved slice core (cnc deferred) * `C` add parameterized solid projection expansion (infill -> solid expand) * `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) * `-` improved vertex replacement and widget update matrix tracking -* `-` api control over (non) threaded workloads and wasm ## Mesh:Tool diff --git a/src/cli/kiri-controller.json b/src/cli/kiri-controller.json new file mode 100644 index 00000000..c5148024 --- /dev/null +++ b/src/cli/kiri-controller.json @@ -0,0 +1,4 @@ +{ + "threaded":false, + "assembly":false +} diff --git a/src/kiri-run/cli.js b/src/kiri-run/cli.js index a12a2c17..e750ce28 100644 --- a/src/kiri-run/cli.js +++ b/src/kiri-run/cli.js @@ -6,6 +6,7 @@ let opts = { output: "-", model: "web/obj/cube.stl", source: "src/cli/kiri-source.json", + controller: "src/cli/kiri-controller.json", process: "src/cli/kiri-fdm-process.json", device: "src/cli/kiri-fdm-device.json", }; @@ -39,6 +40,7 @@ if (opts.help) { " --source=[file] | source file list (defaults to kiri engine)", " --device=[file] | device definition file (json)", " --process=[file] | process definition file (json)", + " --controller=[file] | controller definition file (json)", " --output=[file] | gcode output to file or '-' for stdout", " --position=x,y,z | move loaded model to position x,y,z", " --rotate=x,y,z | rotate loaded model x,y,z radians", @@ -55,6 +57,7 @@ let exports_save = exports, THREE = {}, gapp = {}, geo = {}, + noop = () => { }, self = this.self = { gapp, THREE,