fix clone error. only perform route around if intersection detected

This commit is contained in:
Stewart Allen 2021-04-30 09:49:13 -04:00
commit f6dd5312b9
3 changed files with 10 additions and 7 deletions

View file

@ -534,7 +534,7 @@
.setLayer("gaps", COLOR.gaps)
.addPolys(top.gaps, vopt({ offset, height, thin: true }));
if (isThin && devel) {
if (isThin && devel && top.fill_off && top.fill_off.length) {
slice.output()
.setLayer('fill inset', { face: 0, line: 0xaaaaaa, check: 0xaaaaaa })
.addPolys(top.fill_off);