From 6f2029f5b9790998072c70b0958867ceb92bc858 Mon Sep 17 00:00:00 2001 From: Yorik van Havre Date: Thu, 24 Nov 2016 18:36:24 -0200 Subject: [PATCH] Arch: Fixed wrong placement of sketch-based windows --- src/Mod/Arch/ArchWindow.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Mod/Arch/ArchWindow.py b/src/Mod/Arch/ArchWindow.py index d2bc6c0fc1..fe4fd1de3b 100644 --- a/src/Mod/Arch/ArchWindow.py +++ b/src/Mod/Arch/ArchWindow.py @@ -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