FreeCAD uses the internal parser since ifcopenshell is not installed. On any ifc I have I get similar errors:
Code: Select all
Couldn't locate IfcOpenShell
IfcOpenShell not found or disabled, falling back on internal parser.
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:\Program Files (x86)\FreeCAD 0.14\Mod\Arch\importIFC.py", line 48, in open
read(filename)
File "C:\Program Files (x86)\FreeCAD 0.14\Mod\Arch\importIFC.py", line 357, in read
ifc = ifcReader.IfcDocument(filename,schema=schema)
File "C:\Program Files (x86)\FreeCAD 0.14\Mod\Arch\ifcReader.py", line 337, in __init__
f = IfcFile(filename,schema)
File "C:\Program Files (x86)\FreeCAD 0.14\Mod\Arch\ifcReader.py", line 169, in __init__
self.entById, self.entsByName, self.header = self.read()
File "C:\Program Files (x86)\FreeCAD 0.14\Mod\Arch\ifcReader.py", line 188, in read
e = self.parseLine(line)
File "C:\Program Files (x86)\FreeCAD 0.14\Mod\Arch\ifcReader.py", line 217, in parseLine
return {"id": id, "name": name, "attributes": self.parseAttributes(name, attrs)}
File "C:\Program Files (x86)\FreeCAD 0.14\Mod\Arch\ifcReader.py", line 235, in parseAttributes
(len(schema_attributes), len(parts), ent_name)
<type 'exceptions.AssertionError'>: Expected 12 attributes, got 3 (entity: IFCAXIS2PLACEMENT3D
Code: Select all
...
<type 'exceptions.AssertionError'>: Expected 6 attributes, got 4 (entity: IFCSIUNIT
Code: Select all
...
<type 'exceptions.AssertionError'>: Expected 10 attributes, got 8 (entity: IFCPERSON
Code: Select all
...
<type 'exceptions.AssertionError'>: Expected 8 attributes, got 5 (entity: IFCORGANIZATION
Am I missing something?!