diff --git a/src/mesh/work.js b/src/mesh/work.js index 002ea928..96a3ced3 100644 --- a/src/mesh/work.js +++ b/src/mesh/work.js @@ -410,19 +410,18 @@ let model = { const srad = shaft / 2; poly.addInner( newPolygon().centerCircle({ x:0, y:0, z:0 }, srad, nump) ); } - const verts = poly.extrude(height || 15, { chamfer }); + const zh = height || 15; + const verts = poly.extrude(zh, { chamfer }); if (twist) { const rad = base.util.toRadians(twist); for (let i=0; i