fdm rendering patchups

This commit is contained in:
Stewart Allen 2020-11-07 15:18:43 -05:00
commit df6afeeebb
3 changed files with 53 additions and 41 deletions

View file

@ -111,6 +111,11 @@
return this.tops.map(top => top.poly);
};
// CAM only
PRO.topPolyInners = function() {
return this.tops.map(top => top.poly.inner).flat().filter(poly => poly);
};
// FDM / SLA only
PRO.topInners = function() {
return this.tops.map(top => top.last).flat().filter(poly => poly);