This commit is contained in:
Stewart Allen 2022-04-27 16:30:45 -04:00
commit 8241b1608c
2 changed files with 8 additions and 1 deletions

View file

@ -169,6 +169,13 @@ FDM.export = function(print, online, ondone, ondebug) {
end: Infinity, end: Infinity,
iter: oloops - 1 iter: oloops - 1
}); });
} else if (oloops < 0) {
// if oloops negative, loop entire part to infinity
rloops.push({
start: layers[0].slice.index,
end: Infinity,
iter: 0
});
} }
if (process.ranges) { if (process.ranges) {
// collect loops from ranges and synth range array // collect loops from ranges and synth range array

View file

@ -1953,7 +1953,7 @@ gapp.register("kiri.init", [], (root, exports) => {
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() }}), 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}), 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}), fdmSep: uc.newBlank({class:"pop-sep", modes:FDM}),
outputLoops: uc.newInput(LANG.ag_loop_s, {title:LANG.ag_loop_l, convert:uc.toInt, bound:uc.bound(0,1000), modes:FDM, show:isBelt}), outputLoops: uc.newInput(LANG.ag_loop_s, {title:LANG.ag_loop_l, convert:uc.toInt, bound:uc.bound(-1,1000), modes:FDM, show:isBelt}),
outputPurgeTower: uc.newInput(LANG.ad_purg_s, {title:LANG.ad_purg_l, convert:uc.toInt, bound:uc.bound(0,1000), modes:FDM}), outputPurgeTower: uc.newInput(LANG.ad_purg_s, {title:LANG.ad_purg_l, convert:uc.toInt, bound:uc.bound(0,1000), modes:FDM}),
// SLA // SLA