fix thin wall in compound offsets
This commit is contained in:
parent
dfeaec524a
commit
804365c55d
2 changed files with 2 additions and 3 deletions
|
|
@ -429,12 +429,11 @@ var gs_kiri_slice = exports;
|
|||
},
|
||||
// thin wall probe
|
||||
function(p1, p2) {
|
||||
var pall = POLY.nest([].appendAll(p1).appendAll(p2), true),
|
||||
var pall = POLY.nest([].appendAll(p1).appendAll(p2).clone(true)),
|
||||
pnew = POLY.expand(pall, -offset1, z, null, 1),
|
||||
r1 = fillArea(pnew, 45, offsetN, [], 0, offsetN * 2),
|
||||
r2 = fillArea(pnew, 135, offsetN, [], 0, offsetN * 2),
|
||||
rall = top.thin_fill.appendAll(cullIntersections(r1, r2));
|
||||
// if (rall.length) console.log([slice.index, pnew.length, rall.length]);
|
||||
},
|
||||
z);
|
||||
} else {
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
var exports = {
|
||||
COPYRIGHT:"Copyright (C) 2014-2017 Stewart Allen <stewart@neuron.com> - All Rights Reserved",
|
||||
LICENSE:"Unauthorized copying, modification and re-distribution are strictly prohibited without prior written consent.",
|
||||
VERSION:"1.0.83"
|
||||
VERSION:"1.0.84"
|
||||
};
|
||||
if (!module) var module = {};
|
||||
module.exports = exports;
|
||||
|
|
|
|||
Loading…
Reference in a new issue