cleanup generated thin wall polys
This commit is contained in:
parent
b793f9e756
commit
47bcad3c55
2 changed files with 5 additions and 1 deletions
|
|
@ -444,6 +444,10 @@
|
|||
for (let p of poly) {
|
||||
np.push(p);
|
||||
}
|
||||
np = np.clean();
|
||||
if (np.last().distTo2D(np.first()) <= max) {
|
||||
np.push(np.first());
|
||||
}
|
||||
return np;
|
||||
});
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue