fix output order for slices with shells touching the belt
This commit is contained in:
parent
1e4c06b747
commit
8be93cb3c9
4 changed files with 21 additions and 17 deletions
|
|
@ -314,10 +314,11 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
// todo remove b/c this is now calculated at slice time
|
||||
// flag slices as being on or off the bed / belt
|
||||
for (let slice of widget.slices) {
|
||||
slice.onbelt = Math.abs(minby - slice.minby) < 0.01;
|
||||
}
|
||||
// for (let slice of widget.slices) {
|
||||
// slice.onbelt = Math.abs(minby - slice.minby) < 0.01;
|
||||
// }
|
||||
} else {
|
||||
// when rafts used this is non-zero
|
||||
offset.z = zoff;
|
||||
|
|
@ -410,7 +411,7 @@
|
|||
params, // range parameters
|
||||
first: slice.index === 0,
|
||||
support: slice.widget.support,
|
||||
onBelt: slice.onbelt,
|
||||
onBelt: slice.belt.touch,
|
||||
pretract: (wipeDist) => {
|
||||
if (lastLayer && lastLayer.length) {
|
||||
let lastOut = lastLayer.last();
|
||||
|
|
|
|||
Loading…
Reference in a new issue