add base brim, shell speed, and flow rate

This commit is contained in:
Stewart Allen 2021-01-09 23:06:03 -05:00
commit 6a61f7e34c
5 changed files with 47 additions and 5 deletions

View file

@ -191,6 +191,7 @@
// reset for solids, support projections
// and other annotations
slices.forEach(function(slice) {
slice.widget = widget;
slice.extruder = extruder;
slice.solids = [];
});
@ -490,6 +491,8 @@
let bounds = up.poly.bounds,
midy = (bounds.miny + bounds.maxy) / 2;
if (top.poly.isInside(up.poly, 1)) {
slice.widget.belt.ymid = midy;
slice.widget.belt.zmid = slice.z;
top.shells.push(BASE.newPolygon()
.setOpen()
.add(bounds.minx,midy,slice.z)