re-design and refactor slice line reconnection
This commit is contained in:
parent
60f00ae145
commit
88be756703
4 changed files with 185 additions and 94 deletions
|
|
@ -144,7 +144,9 @@ export const api = {
|
|||
layers = Array.isArray(layers) ? layers : [layers];
|
||||
proc.xray = layers.map(l => raw ? l : base + l * size - size / 2);
|
||||
proc.xrayi = layers.slice();
|
||||
api.function.slice();
|
||||
api.function.slice(
|
||||
// () => SPACE.platform.showGrid(false)
|
||||
);
|
||||
}
|
||||
},
|
||||
device,
|
||||
|
|
|
|||
|
|
@ -125,7 +125,7 @@ export function fdm_slice(settings, widget, onupdate, ondone) {
|
|||
isSynth = widget.track.synth,
|
||||
isSupport = widget.track.support,
|
||||
useAssembly = assembly,
|
||||
isConcurrent = threaded && minions.concurrent,
|
||||
isConcurrent = threaded && minions.concurrent && !process.xray,
|
||||
topLayers = process.sliceTopLayers || 0,
|
||||
bottomLayers = process.sliceBottomLayers || 0,
|
||||
vaseMode = process.sliceFillType === 'vase' && !isSynth,
|
||||
|
|
@ -353,7 +353,7 @@ export function fdm_slice(settings, widget, onupdate, ondone) {
|
|||
slice.index = process.xray.shift();
|
||||
slice.lines = lines;
|
||||
slice.groups = groups;
|
||||
slice.xray = process.xray;
|
||||
slice.xray = slice.index;
|
||||
}
|
||||
return slice;
|
||||
}).filter(s => s);
|
||||
|
|
|
|||
Loading…
Reference in a new issue