From ea25f69f03a2dfb8b0a424186e320a2d20c7f657 Mon Sep 17 00:00:00 2001 From: Paul Lee Date: Sat, 4 Dec 2021 04:11:53 +0800 Subject: [PATCH] [ArchWall] Do not copy shape Discussions- https://forum.freecadweb.org/viewtopic.php?style=1&t=62968&p=540585 https://github.com/realthunder/FreeCAD/commit/234899409f847b933c414a25deb91d9d2cb7bc88 --- src/Mod/Arch/ArchWall.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/Mod/Arch/ArchWall.py b/src/Mod/Arch/ArchWall.py index 37ebb77c8bbe..88c6612abdf7 100644 --- a/src/Mod/Arch/ArchWall.py +++ b/src/Mod/Arch/ArchWall.py @@ -832,8 +832,7 @@ def execute(self,obj): # let pass invalid objects if they have solids... return elif obj.Base.Shape.Solids: - base = obj.Base.Shape.copy() - + base = Part.Shape(obj.Base.Shape) # blocks calculation elif hasattr(obj,"MakeBlocks") and hasattr(self,"basewires"): if obj.MakeBlocks and self.basewires and extdata and obj.Width and obj.Height: @@ -907,9 +906,9 @@ def execute(self,obj): rest = (interval - entires) for i in range(entires): if i % 2: # odd - b = blocks2.copy() + b = Part.Shape(blocks2) else: - b = blocks1.copy() + b = Part.Shape(blocks1) if i: t = FreeCAD.Vector(svec) t.multiply(i)