a couple of bug fixes for automatic supports
This commit is contained in:
parent
0071d69ec1
commit
13b0538c28
2 changed files with 3 additions and 3 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1231,7 +1231,6 @@
|
|||
let c = geo.vertices[face.c];
|
||||
// skip tiny faces
|
||||
if (BASE.newPolygon().addPoints([a,b,c]).area() < min) {
|
||||
skip++;
|
||||
return;
|
||||
}
|
||||
tp(new THREE.Vector3().add(a).add(b).add(c).divideScalar(3));
|
||||
|
|
|
|||
Loading…
Reference in a new issue