fix z origin offsets in cam mode

This commit is contained in:
Stewart Allen 2024-12-04 12:49:51 -05:00
commit 5c1cddbb1c
2 changed files with 4 additions and 3 deletions

View file

@ -70,7 +70,8 @@ CAM.export = function(print, online) {
},
offset = {
x: -origin.x,
y: origin.y
y: origin.y,
z: spro.camOriginTop ? origin.z - zmax : origin.z
},
scale = {
x: 1,
@ -88,7 +89,7 @@ CAM.export = function(print, online) {
time_sec: 0,
time_ms: 0,
time: 0
}
};
function section(section) {
append();

View file

@ -582,7 +582,7 @@ class Print {
scope.belt = belt;
if (scope.debugE) {
console.log({ print_time: time.round(2) });
console.log({ bounds, print_time: time.round(2) });
}
done({ output: scope.output });