[ArchWall] Do not copy shape

Discussions-
https://forum.freecadweb.org/viewtopic.php?style=1&t=62968&p=540585
234899409f
This commit is contained in:
Paul Lee
2021-12-04 04:11:53 +08:00
committed by Chris Hennes
parent 62c8125097
commit ea25f69f03

View File

@@ -832,8 +832,7 @@ class _Wall(ArchComponent.Component):
# 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 @@ class _Wall(ArchComponent.Component):
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)