From cf5893a2e1c0a6a6fc24415aa18ac46508f4f8d7 Mon Sep 17 00:00:00 2001 From: Stewart Allen Date: Sun, 21 Nov 2021 09:30:57 -0500 Subject: [PATCH] fix x/y typo --- src/mode/fdm/export.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mode/fdm/export.js b/src/mode/fdm/export.js index af136d1c..25984fa6 100644 --- a/src/mode/fdm/export.js +++ b/src/mode/fdm/export.js @@ -102,10 +102,10 @@ bed_temp: bedTemp, fan_speed: fanSpeed, speed: fanSpeed, // legacy - top: offset.x ? device.bedDepth : device.bedDepth/2, + top: offset.y ? device.bedDepth : device.bedDepth/2, left: offset.x ? 0 : -device.bedWidth/2, right: offset.x ? device.bedWidth : device.bedWidth/2, - bottom: offset.x ? 0 : -device.bedDepth/2, + bottom: offset.y ? 0 : -device.bedDepth/2, z_max: device.maxHeight, layers: layers.length, progress: 0,