Arch: Fixed wrong placement of sketch-based windows

This commit is contained in:
Yorik van Havre
2016-11-24 18:36:24 -02:00
parent a67bdf3f9c
commit 6f2029f5b9

View File

@@ -871,6 +871,7 @@ class _Window(ArchComponent.Component):
if self.sshapes:
base = Part.makeCompound([base]+self.sshapes+self.vshapes)
self.applyShape(obj,base,pl,allowinvalid=True,allownosolid=True)
obj.Placement = pl
if hasattr(obj,"Area"):
obj.Area = obj.Width.Value * obj.Height.Value