refactor platform grid and axis labels. checkpoint belt updates
This commit is contained in:
parent
3905152135
commit
bab96a1faa
5 changed files with 222 additions and 163 deletions
|
|
@ -267,13 +267,13 @@
|
|||
}, "render");
|
||||
}
|
||||
|
||||
// if (isBelt) {
|
||||
// let bounds = BASE.newBounds();
|
||||
// for (let top of slices[0].tops) {
|
||||
// bounds.merge(top.poly.bounds);
|
||||
// }
|
||||
// console.log({z_anchor_bounds: bounds});
|
||||
// }
|
||||
if (isBelt) {
|
||||
let bounds = BASE.newBounds();
|
||||
for (let top of slices[0].tops) {
|
||||
bounds.merge(top.poly.bounds);
|
||||
}
|
||||
widget.belt_offset = bounds.miny;
|
||||
}
|
||||
|
||||
// report slicing complete
|
||||
ondone();
|
||||
|
|
|
|||
Loading…
Reference in a new issue