Arch: Fixed non-unified extrusion direction in multisolid structures

This commit is contained in:
Yorik van Havre
2018-12-05 17:27:12 -02:00
parent 8483d8d5c2
commit ef002fdde2
2 changed files with 7 additions and 3 deletions

View File

@@ -630,8 +630,9 @@ class _Structure(ArchComponent.Component):
# multiple extrusions
b = []
p = []
hint = obj.Base.Shape.Faces[0].normalAt(0,0)
for f in obj.Base.Shape.Faces:
bf,pf = self.rebase(f)
bf,pf = self.rebase(f,hint)
b.append(bf)
p.append(pf)
base = b