[Arch] Fix for ArchPipe: getProfile returned Shape instead of Wire
Fix for ArchPipe: getProfile returned Shape instead of Wire
This commit is contained in:
@@ -311,7 +311,7 @@ class _ArchPipe(ArchComponent.Component):
|
||||
if not obj.Profile.Shape.Wires[0].isClosed():
|
||||
FreeCAD.Console.PrintError(translate("Arch","The profile is not closed")+"\n")
|
||||
return
|
||||
p = obj.Profile.Shape
|
||||
p = obj.Profile.Shape.Wires[0]
|
||||
else:
|
||||
if obj.Diameter.Value == 0:
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user