Arch: disabled buggy wall auto-corners function
This commit is contained in:
parent
17c99eb6b0
commit
f40d4ac65b
|
@ -111,12 +111,15 @@ def mergeShapes(w1,w2):
|
||||||
return None
|
return None
|
||||||
if w1.Base.Shape.Faces or w2.Base.Shape.Faces:
|
if w1.Base.Shape.Faces or w2.Base.Shape.Faces:
|
||||||
return None
|
return None
|
||||||
|
|
||||||
|
# TODO fix this
|
||||||
|
return None
|
||||||
|
|
||||||
eds = w1.Base.Shape.Edges + w2.Base.Shape.Edges
|
eds = w1.Base.Shape.Edges + w2.Base.Shape.Edges
|
||||||
import DraftGeomUtils
|
import DraftGeomUtils
|
||||||
w = DraftGeomUtils.findWires(eds)
|
w = DraftGeomUtils.findWires(eds)
|
||||||
if len(w) == 1:
|
if len(w) == 1:
|
||||||
print "found common wire"
|
#print "found common wire"
|
||||||
normal,length,width,height = w1.Proxy.getDefaultValues(w1)
|
normal,length,width,height = w1.Proxy.getDefaultValues(w1)
|
||||||
print w[0].Edges
|
print w[0].Edges
|
||||||
sh = w1.Proxy.getBase(w1,w[0],normal,width,height)
|
sh = w1.Proxy.getBase(w1,w[0],normal,width,height)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user