From ab4e812277f8f722acb7018c1990fc57be8c0db1 Mon Sep 17 00:00:00 2001 From: mwganson Date: Wed, 23 Oct 2024 23:10:50 +0000 Subject: [PATCH] [Part RuledSurface] fix issue where ruled surface is failing if both edges are from same object and the object is not at the identity placement, addresses issue #17235 --- src/Mod/Part/App/TopoShapeExpansion.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Mod/Part/App/TopoShapeExpansion.cpp b/src/Mod/Part/App/TopoShapeExpansion.cpp index fe023a314c..e088ef5eb6 100644 --- a/src/Mod/Part/App/TopoShapeExpansion.cpp +++ b/src/Mod/Part/App/TopoShapeExpansion.cpp @@ -3422,6 +3422,7 @@ TopoShape::makeElementCopy(const TopoShape& shape, const char* op, bool copyGeom TopoShape tmp(shape); tmp.setShape(BRepBuilderAPI_Copy(shape.getShape(), copyGeom, copyMesh).Shape(), false); + tmp.setTransform(shape.getTransform()); if (op || (shape.Tag && shape.Tag != Tag)) { setShape(tmp._Shape); initCache();