diff --git a/src/dev/sla/Creality.Halot.Max b/src/dev/sla/Creality.Halot.Max new file mode 100644 index 00000000..538efb5e --- /dev/null +++ b/src/dev/sla/Creality.Halot.Max @@ -0,0 +1,12 @@ +{ + "no_clone": true, + "cmd":{}, + "settings":{ + "bed_width": 293, + "bed_depth": 165, + "bed_height": 1, + "max_height": 300, + "resolution_x": 3840, + "resolution_y": 2160 + } +} diff --git a/src/dev/sla/Creality.Halot.One b/src/dev/sla/Creality.Halot.One new file mode 100644 index 00000000..d76dd651 --- /dev/null +++ b/src/dev/sla/Creality.Halot.One @@ -0,0 +1,12 @@ +{ + "no_clone": true, + "cmd":{}, + "settings":{ + "bed_width": 80, + "bed_depth": 127, + "bed_height": 1, + "max_height": 160, + "resolution_x": 1620, + "resolution_y": 2560 + } +} diff --git a/src/mode/sla/slice.js b/src/mode/sla/slice.js index 1ef1d00c..12392122 100644 --- a/src/mode/sla/slice.js +++ b/src/mode/sla/slice.js @@ -58,6 +58,8 @@ case 'Anycubic.Photon.S': // defaults above break; + case 'Creality.Halot.One': + case 'Creality.Halot.Max': case 'Creality.Halot.Sky': smallDims = { x: 116, y: 116 }; largeDims = { x: 290, y: 290 }; diff --git a/src/mode/sla/x_cxdlp.js b/src/mode/sla/x_cxdlp.js index 38164c94..7c829930 100644 --- a/src/mode/sla/x_cxdlp.js +++ b/src/mode/sla/x_cxdlp.js @@ -294,6 +294,19 @@ let { device, process } = settings; let cxdlp = new CXDLP(); + + if (width === 1620 && height === 2560) { + cxdlp.model = "CL-60"; + } else + if (width === 3840 && height === 2400) { + cxdlp.model = "CL-89"; + } else + if (width === 3840 && height === 2160) { + cxdlp.model = "CL-133"; + } else { + throw `invalid printer dimensions ${width} x ${height}`; + } + cxdlp.layers = slices.map(a => {return { lines: a }}); cxdlp.res_x = device.resolutionX; cxdlp.res_y = device.resolutionY;