fix open traces in slice and resulting empty top slices. do not offset open polys in expand()
This commit is contained in:
parent
3c7fe43f24
commit
8ac7d3b89a
8 changed files with 49 additions and 9 deletions
|
|
@ -466,6 +466,9 @@
|
|||
* in FDM mode and uncleared areas in CAM mode.
|
||||
*/
|
||||
function offset(polys, dist, options) {
|
||||
// do not offset open lines
|
||||
polys = polys.filter(p => !p.open);
|
||||
|
||||
// cause inner / outer polys to be reversed from each other
|
||||
alignWindings(polys);
|
||||
polys.forEach(function(poly) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue