Arch: initial BuildingPart development

This commit is contained in:
Yorik van Havre
2018-04-26 20:22:47 -03:00
parent 05c26826ca
commit 2bef80dcc4
12 changed files with 1350 additions and 6 deletions

View File

@@ -299,7 +299,7 @@ class _CommandWall:
else:
FreeCADGui.doCommand('base=Draft.makeLine(trace)')
FreeCADGui.doCommand('wall = Arch.makeWall(base,width='+str(self.Width)+',height='+str(self.Height)+',align="'+str(self.Align)+'")')
FreeCADGui.doCommand('wall.Normal = FreeCAD.DraftWorkingPlane.axis')
FreeCADGui.doCommand('wall.Normal = FreeCAD.DraftWorkingPlane.getNormal()')
if self.MultiMat:
FreeCADGui.doCommand("wall.Material = FreeCAD.ActiveDocument."+self.MultiMat.Name)
FreeCADGui.doCommand("Draft.autogroup(wall)")