try using xor to heal non-manifold / overlapping sliced polys. aka deathstar fix
This commit is contained in:
parent
cfa9eacbb2
commit
d7d136ad8c
5 changed files with 54 additions and 7 deletions
|
|
@ -828,7 +828,13 @@ FDM.export = function(print, online, ondone, ondebug) {
|
|||
}
|
||||
|
||||
// update time and distance (should calc in moveTo() instead)
|
||||
time += (dist / speedMMM) * 60 * timeFactor;
|
||||
if (dist && speedMMM) {
|
||||
time += (dist / speedMMM) * 60 * timeFactor;
|
||||
}
|
||||
// if (isNaN(time)) {
|
||||
// console.log({ layer, path, dist, speedMMM, timeFactor });
|
||||
// throw "NaN";
|
||||
// }
|
||||
distance += dist;
|
||||
subst.progress = progress = Math.round((distance / totaldistance) * 100);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue