add custom debur for rendering
This commit is contained in:
parent
e9057eac98
commit
e5956bd4c9
2 changed files with 29 additions and 2 deletions
|
|
@ -164,7 +164,11 @@
|
|||
|
||||
polys.forEach(poly => {
|
||||
const contour = [];
|
||||
poly = poly.clean().miter();
|
||||
poly = poly.debur();
|
||||
if (!poly) return;
|
||||
poly = poly.miter();
|
||||
// cleaning converts open to closed which is problematic
|
||||
// poly = poly.clean().miter();
|
||||
// if (poly.debug) {
|
||||
// const save = this.current;
|
||||
// this.setLayer('debug.acute', 0xff0000).addPoly(poly, {thin:true});
|
||||
|
|
|
|||
Loading…
Reference in a new issue