Hello!
I’m trying to modify the basic kirimoto api example (Kiri:Moto Javascript Engine API) to suit a CNC application but can’t seem to be able to find the available parameters for device and set process. I have changed the mode to CAM but I’m not sure what the correct syntax or available settings are available for the operations and the machine nor how to set them. Any help would be really appreciated.
Thank you
1 Like
Specifically we are doing:
kiriEngine
.setListener((message) => {
console.log("Kiri:Moto Message:", message);
})
.load(stlUrl) // Use the temporary file URL here // or stlUrl
.then((eng) => {
console.log("STL file loaded");
console.log(eng);
return eng.setProcess({
sliceShells: 1,
sliceFillSparse: 0.1,
sliceTopLayers: 1,
sliceBottomLayers: 1,
});
})
Which works great to generate gcode for 3D printing, but if we wanted to do a CNC operation instead how would we set that up?