replace trace2count() with new offset() function

This commit is contained in:
Stewart Allen 2020-11-02 11:02:59 -05:00
commit afedbfb5f9
3 changed files with 11 additions and 65 deletions

View file

@ -669,7 +669,7 @@
// expand specified # of brims
brims.forEach(function(brim) {
POLY.trace2count(brim, polys, -nozzle, process.outputBrimCount, 0);
POLY.offset([brim], nozzle, {outs: polys, flat: true, count: process.outputBrimCount});
});
// output brim points