From 9a52d0bf02d5c1e02dd1fa3657b6526a7061856c Mon Sep 17 00:00:00 2001 From: Roy-043 <70520633+Roy-043@users.noreply.github.com> Date: Wed, 2 Mar 2022 16:19:54 +0100 Subject: [PATCH] Arch: Fix Arch_PipeConnector for pipes with wall thickness --- src/Mod/Arch/ArchPipe.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Mod/Arch/ArchPipe.py b/src/Mod/Arch/ArchPipe.py index 80c5bb1b62..e0b059ae7b 100644 --- a/src/Mod/Arch/ArchPipe.py +++ b/src/Mod/Arch/ArchPipe.py @@ -407,6 +407,9 @@ class _ArchPipeConnector(ArchComponent.Component): else: v2 = wires[1].Vertexes[-2].Point.sub(wires[1].Vertexes[-1].Point).normalize() p = obj.Pipes[0].Proxy.getProfile(obj.Pipes[0]) + # If the pipe has a non-zero WallThickness p is a shape instead of a wire: + if p.ShapeType != "Wire": + p = p.Wires p = Part.Face(p) if len(obj.Pipes) == 2: if obj.ConnectorType != "Corner":