Arch: Add default storey when exporting to IFC + allow all Arch objects to have Undefined role

This commit is contained in:
Yorik van Havre
2017-02-17 20:47:39 -02:00
parent 3e0d8b7213
commit 489d080f77
7 changed files with 25 additions and 7 deletions

View File

@@ -49,7 +49,7 @@ __author__ = "Yorik van Havre"
__url__ = "http://www.freecadweb.org"
# Possible roles for frames
Roles = ['Covering','Member','Railing','Shading Device','Tendon']
Roles = ['Undefined','Covering','Member','Railing','Shading Device','Tendon']
def makeFrame(baseobj,profile,name=translate("Arch","Frame")):
"""makeFrame(baseobj,profile,[name]): creates a frame object from a base sketch (or any other object