diff --git a/web/app/cad/craft/primitives/planeOperation.js b/web/app/cad/craft/primitives/planeOperation.js index 38ed152d..50c371e3 100644 --- a/web/app/cad/craft/primitives/planeOperation.js +++ b/web/app/cad/craft/primitives/planeOperation.js @@ -17,7 +17,8 @@ function paramsToPlane({orientation, parallelTo, depth}, cadRegistry) { const normal = STANDARD_BASES[orientation][2]; plane = new Plane(normal, depth); } else { - plane = new Plane(face.surface.normalInMiddle(), depth); + let base = face.surface.tangentPlaneInMiddle(); + plane = new Plane(base.normal, base.w + depth); } return plane; }