fixes #448 by reusing fillArea() centering feature
This commit is contained in:
parent
4b80e81b37
commit
5243873515
1 changed files with 2 additions and 2 deletions
|
|
@ -28,10 +28,10 @@ class OpLevel extends CamOp {
|
|||
|
||||
let points = [];
|
||||
let clear = op.stock ?
|
||||
[ newPolygon().centerRectangle({x:0,y:0,z:0}, stock.x, stock.y) ] :
|
||||
[ newPolygon().centerRectangle({x:0,y:0,z:0}, stock.x + toolDiam/2, stock.y) ] :
|
||||
POLY.outer(POLY.offset(tshadow, toolDiam * (op.inset || 0)));
|
||||
|
||||
POLY.fillArea(clear, 90, stepOver, points);
|
||||
POLY.fillArea(clear, 1090, stepOver, points);
|
||||
|
||||
let layers = this.layers = [];
|
||||
for (let z of zList) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue