Arch: Adapted IFC importer for new IfcOpenShell6
Squashed following commits: * Arch: Adapted IFC importer for IfcOpenShell6 * Arch: further fixes for ifcopenshell6 compatibility * Arch: IFC importer now converts to/from meters for better compatibility with IfcOpenShell * Arch: further fixes with ifcopenshell6 * Arch: precision adjustments in IFC exporter * Arch: small fix in makeRoof
This commit is contained in:
@@ -26,10 +26,10 @@ __author__ = "Yorik van Havre"
|
||||
__url__ = "http://www.freecadweb.org"
|
||||
|
||||
# Possible roles for IFC objects
|
||||
Roles = ['Undefined','Beam','Beam Standard Case','Chimney','Column','Column Standard Case','Covering','Curtain Wall',
|
||||
'Door','Door Standard Case','Foundation','Furniture','Hydro Equipment','Electric Equipment',
|
||||
'Member','Plate','Railing','Ramp','Ramp Flight','Rebar','Pile','Roof','Shading Device','Slab','Space'
|
||||
'Stair','Stair Flight','Tendon','Wall','Wall Standard Case','Wall Layer','Window','Window Standard Case']
|
||||
Roles = ['Undefined','Beam','Chimney','Column','Covering','Curtain Wall',
|
||||
'Door','Foundation','Furniture','Hydro Equipment','Electric Equipment',
|
||||
'Member','Plate','Railing','Ramp','Ramp Flight','Rebar','Pile','Roof','Shading Device','Slab','Space',
|
||||
'Stair','Stair Flight','Tendon','Wall','Wall Layer','Window']
|
||||
|
||||
import FreeCAD,Draft
|
||||
from FreeCAD import Vector
|
||||
@@ -301,6 +301,7 @@ class Component:
|
||||
self.Type = "Component"
|
||||
self.Subvolume = None
|
||||
self.MoveWithHost = False
|
||||
obj.Role = Roles
|
||||
|
||||
def execute(self,obj):
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user