add halot one and halot max
This commit is contained in:
parent
16a5e58550
commit
ea266579f7
4 changed files with 39 additions and 0 deletions
12
src/dev/sla/Creality.Halot.Max
Normal file
12
src/dev/sla/Creality.Halot.Max
Normal file
|
|
@ -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
|
||||
}
|
||||
}
|
||||
12
src/dev/sla/Creality.Halot.One
Normal file
12
src/dev/sla/Creality.Halot.One
Normal file
|
|
@ -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
|
||||
}
|
||||
}
|
||||
|
|
@ -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 };
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue