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
|
|
@ -299,7 +299,7 @@
|
|||
}, "offsets");
|
||||
|
||||
// add lead in when specified in belt mode
|
||||
if (!isSynth && isBelt && spro.firstLayerBeltLead) {
|
||||
if (!isSynth && isBelt) {
|
||||
let wb = widget.bounds;
|
||||
// find adjusted zero point from slices
|
||||
let smin = Infinity;
|
||||
|
|
@ -336,7 +336,7 @@
|
|||
while (start.up && start.topShells().length === 0) {
|
||||
start = start.up;
|
||||
}
|
||||
while (start && offset >= sliceHeight) {
|
||||
while (offset && start && offset >= sliceHeight) {
|
||||
let addto = start.down;
|
||||
if (!addto) {
|
||||
addto = newSlice(start.z - sliceHeight);
|
||||
|
|
|
|||
Loading…
Reference in a new issue