From e64b6546995b6ea7b5c39fc7dec976abbb40d773 Mon Sep 17 00:00:00 2001 From: Roy-043 <70520633+Roy-043@users.noreply.github.com> Date: Sun, 27 Jul 2025 16:57:51 +0200 Subject: [PATCH] BIM: fix profile rotation of elbow pipe connector Fixes #22761 --- src/Mod/BIM/ArchPipe.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Mod/BIM/ArchPipe.py b/src/Mod/BIM/ArchPipe.py index 9b6f2ae942..87f8139fb3 100644 --- a/src/Mod/BIM/ArchPipe.py +++ b/src/Mod/BIM/ArchPipe.py @@ -402,6 +402,7 @@ class _ArchPipeConnector(ArchComponent.Component): v1x = v1.cross(v1y) rot = FreeCAD.Rotation(v1x,v1y,v1,"ZYX") p.rotate(p.CenterOfMass,rot.Axis,math.degrees(rot.Angle)) + p.rotate(p.CenterOfMass,v1,90) try: sh = p.revolve(center,normal,math.degrees(math.pi-v1.getAngle(v2))) except: