Arch: Added Tool property to Structs to define an extrusion path

This commit is contained in:
Yorik van Havre
2013-07-27 17:12:48 -03:00
parent 5e8d1f7824
commit 64d18ceac8
4 changed files with 60 additions and 29 deletions

View File

@@ -448,6 +448,9 @@ class ViewProviderComponent:
c = [self.Object.Base]+self.Object.Additions+self.Object.Subtractions
if hasattr(self.Object,"Fixtures"):
c.extend(self.Object.Fixtures)
if hasattr(self.Object,"Tool"):
if self.Object.Tool:
c.append(self.Object.Tool)
return c
return []