a couple of bug fixes for automatic supports

This commit is contained in:
Stewart Allen 2021-01-26 13:56:14 -05:00
commit 13b0538c28
2 changed files with 3 additions and 3 deletions

View file

@ -213,12 +213,13 @@
sslices.push(sslice);
}
if (sslices.length) {
let swidget = KIRI.newWidget();
let swidget = KIRI.newWidget(null,widget.group);
swidget.slices = sslices;
swidget.support = true;
swidget.rotinfo = widget.rotinfo;
swidget.belt = widget.belt;
swidget.mesh = { widget: swidget, position: widget.mesh.position };
swidget.track = Object.clone(widget.track);
swidget.mesh = { widget: swidget, position: swidget.track.pos };
settings.widget[swidget.id] = { extruder: process.sliceSupportNozzle };
widgets.push(swidget);
}