Arch: Fixed moving and rotating spaces

This commit is contained in:
Yorik van Havre
2017-05-25 10:46:52 -03:00
parent de4d33cb84
commit 47f4e8072e
3 changed files with 8 additions and 4 deletions

View File

@@ -314,6 +314,8 @@ class _Space(ArchComponent.Component):
import Part
shape = None
faces = []
pl = obj.Placement
#print("starting compute")
# 1: if we have a base shape, we use it
@@ -372,6 +374,8 @@ class _Space(ArchComponent.Component):
#print("setting objects shape")
shape = shape.Solids[0]
obj.Shape = shape
pl = pl.multiply(obj.Placement)
obj.Placement = pl
return
print("Arch: error computing space boundary")