add 'avoid gaps' output option
This commit is contained in:
parent
e3c2596b62
commit
f4ec56be0e
5 changed files with 6 additions and 1 deletions
|
|
@ -373,6 +373,7 @@
|
|||
outputCoastDist: 0,
|
||||
outputPurgeTower: true,
|
||||
outputBeltFirst: false,
|
||||
outputAvoidGaps: true,
|
||||
outputLayerRetract: false,
|
||||
outputOriginCenter: true,
|
||||
outputLoops: 0,
|
||||
|
|
|
|||
|
|
@ -1851,6 +1851,7 @@
|
|||
sliceLayerStart: UC.newSelect(LANG.sl_strt_s, {title:LANG.sl_strt_l, modes:FDM}, "start"),
|
||||
fdmSep: UC.newBlank({class:"pop-sep", modes:FDM}),
|
||||
outputLayerRetract: UC.newBoolean(LANG.ad_lret_s, onBooleanClick, {title:LANG.ad_lret_l, modes:FDM}),
|
||||
outputAvoidGaps: UC.newBoolean(LANG.ad_agap_s, onBooleanClick, {title:LANG.ad_agap_l, modes:FDM}),
|
||||
outputBeltFirst: UC.newBoolean(LANG.ad_lbir_s, onBooleanClick, {title:LANG.ad_lbir_l, show: isBelt, modes:FDM}),
|
||||
camConventional: UC.newBoolean(LANG.ou_conv_s, onBooleanClick, {title:LANG.ou_conv_l, modes:CAM}),
|
||||
camEaseDown: UC.newBoolean(LANG.cr_ease_s, onBooleanClick, {title:LANG.cr_ease_l, modes:CAM}),
|
||||
|
|
|
|||
|
|
@ -590,7 +590,7 @@
|
|||
});
|
||||
});
|
||||
// if intersecting, look for a route around
|
||||
if (int && opt.danger) {
|
||||
if (int && opt.routeAround) {
|
||||
return !routeAround(p1, p2);
|
||||
}
|
||||
return int;
|
||||
|
|
|
|||
|
|
@ -393,6 +393,7 @@
|
|||
offset,
|
||||
layerout,
|
||||
{
|
||||
routeAround: process.outputAvoidGaps,
|
||||
seedPoint: printPoint.sub(offset),
|
||||
danger: isDanger,
|
||||
params, // range parameters
|
||||
|
|
|
|||
Loading…
Reference in a new issue