test bambu 3mf and sending

This commit is contained in:
Stewart Allen 2024-12-10 11:59:33 -05:00
commit 6ac07976f8
5 changed files with 817 additions and 12 deletions

File diff suppressed because one or more lines are too long

View file

@ -31,7 +31,10 @@ function prepareSlices(callback, scale = 1, offset = 0) {
// this can be used later by exports and rendered on some devices
let snap = space.screenshot();
view.snapshot = snap.substring(snap.indexOf(",") + 1);
client.snap(space.screenshot2({width: 640}));
client.snap(space.screenshot2({ width: 640 }));
let bambu = view.bambu = { };
space.screenshot3({ width: 512, out(png) { bambu.s512 = png } });
space.screenshot3({ width: 128, out(png) { bambu.s128 = png } });
}
if (mode.is_sla() && !callback) {