Arch: disabled buggy wall auto-corners function

This commit is contained in:
Yorik van Havre 2014-06-30 22:16:34 -03:00
parent 17c99eb6b0
commit f40d4ac65b

View File

@ -111,12 +111,15 @@ def mergeShapes(w1,w2):
return None
if w1.Base.Shape.Faces or w2.Base.Shape.Faces:
return None
# TODO fix this
return None
eds = w1.Base.Shape.Edges + w2.Base.Shape.Edges
import DraftGeomUtils
w = DraftGeomUtils.findWires(eds)
if len(w) == 1:
print "found common wire"
#print "found common wire"
normal,length,width,height = w1.Proxy.getDefaultValues(w1)
print w[0].Edges
sh = w1.Proxy.getBase(w1,w[0],normal,width,height)