diff --git a/src/Mod/Sketcher/App/SketchObject.cpp b/src/Mod/Sketcher/App/SketchObject.cpp index 4e9a0dc2eca2..da38c5e6637a 100644 --- a/src/Mod/Sketcher/App/SketchObject.cpp +++ b/src/Mod/Sketcher/App/SketchObject.cpp @@ -7968,9 +7968,9 @@ void SketchObject::rebuildExternalGeometry(bool defining, bool addIntersection) if (Part::TopoShape(edge).findPlane(pln) && pln.Axis().Direction().IsParallel( sketchPlane.Axis().Direction(), Precision::Confusion())) { - double d = -pln.Distance(sketchPlane); + double d = pln.Distance(sketchPlane); gp_Trsf trsf; - trsf.SetTranslation(gp_Vec(pln.Axis().Direction()) * d); + trsf.SetTranslation(gp_Vec(sketchPlane.Axis().Direction()) * d); projShape.setShape(edge); projShape.transformShape(Part::TopoShape::convert(trsf), /*copy*/false); } else {