From 22524496ddb1396a4dbe0dc44aea93c32eb2bd41 Mon Sep 17 00:00:00 2001 From: Stewart Allen Date: Sat, 24 Jul 2021 23:34:40 -0400 Subject: [PATCH] remove peel guard --- src/kiri/conf.js | 1 - src/kiri/init.js | 1 - src/mode/fdm/export.js | 8 -------- 3 files changed, 10 deletions(-) diff --git a/src/kiri/conf.js b/src/kiri/conf.js index 16f4e9d4..c0078e38 100644 --- a/src/kiri/conf.js +++ b/src/kiri/conf.js @@ -374,7 +374,6 @@ outputLayerRetract: false, outputOriginCenter: true, outputLoops: 0, - outputPeelGuard: 0, outputInvertX: false, outputInvertY: false, detectThinWalls: false, diff --git a/src/kiri/init.js b/src/kiri/init.js index f393e970..8ef6e41b 100644 --- a/src/kiri/init.js +++ b/src/kiri/init.js @@ -1839,7 +1839,6 @@ arcTolerance: UC.newInput(LANG.ad_arct_s, {title:LANG.ad_arct_l, bound:UC.bound(0,1.0), convert:UC.toFloat, modes:FDM, show:() => { return isDanger() && isNotBelt() }}), antiBacklash: UC.newInput(LANG.ad_abkl_s, {title:LANG.ad_abkl_l, bound:UC.bound(0,3), convert:UC.toInt, modes:FDM}), fdmSep: UC.newBlank({class:"pop-sep", modes:FDM}), - outputPeelGuard: UC.newInput(LANG.ag_peel_s, {title:LANG.ag_peel_l, convert:UC.toInt, modes:FDM, comma:true, show:isBelt}), gcodePauseLayers: UC.newInput(LANG.ag_paws_s, {title:LANG.ag_paws_l, modes:FDM, comma:true, show:isNotBelt}), outputLoops: UC.newInput(LANG.ag_loop_s, {title:LANG.ag_loop_l, convert:UC.toInt, bound:UC.bound(0,1000), modes:FDM, show:isBelt}), outputPurgeTower: UC.newBoolean(LANG.ad_purg_s, onBooleanClick, {title:LANG.ad_purg_l, modes:FDM, show:isMultiHead}), diff --git a/src/mode/fdm/export.js b/src/mode/fdm/export.js index cbe1e7ee..8bf7fb91 100644 --- a/src/mode/fdm/export.js +++ b/src/mode/fdm/export.js @@ -55,7 +55,6 @@ last = null, zpos = 0, bmax = 0, - blast = 0, blastz = 0, process = settings.process, belt_add_y = (process.firstLayerYOffset || 0) - (print.belty || 0), @@ -67,7 +66,6 @@ retSpeed = process.outputRetractSpeed * 60 || 1, // range retDwell = process.outputRetractDwell || 0, // range timeDwell = retDwell / 1000, - peelGuard = process.outputPeelGuard || 0, arcDist = isBelt || !isDanger ? 0 : (process.arcTolerance || 0), arcMin = 1, arcRes = 20, @@ -393,12 +391,6 @@ if (isBelt) { pos.z = zpos; - if (peelGuard && bmax > peelGuard && blast < peelGuard) { - peelGuard += 50; - append(`G0 Z${(blast + 100).round(decimals)} F200 ; peel guard (100)`); - append(`G0 Z${blastz.round(decimals)} F200 ; unpeel`); - } - blast = bmax; } if (pauseCmd && pause.indexOf(layer) >= 0) {