XbimWindowsUI icon indicating copy to clipboard operation
XbimWindowsUI copied to clipboard

Error creating geometry context with ifcCivilElement

Open WindingWinter opened this issue 7 years ago • 2 comments

I have a simple ifc file involving ifcCivilElement. I can open this file in ifcbrowser ( another BIM viewer) no problem, but I cannot open it in XBim explorer. I've tested on the master and develop build, both will give the same error:

INFO Xbim.ModelGeometry.Scene.Xbim3DModelContext GeomScene: Xbim3DModelContext [Unable to find any Geometric Representation contexts with Context Type = model and Context Identifier = , using Context Type = 'Design' instead. NB This does not comply with IFC 2x3 or greater, the schema is IFC4]

ERROR Xbim.WinUI Error creating geometry context of 'D:.net Samples project\XbimSamples-master\XbimSamples-master\CivilElementExample\bin\Debug\hellocivilelementifc4.ifc' at Xbim.ModelGeometry.Scene.Xbim3DModelContext.CreateContext(ReportProgressDelegate progDelegate, Boolean adjustWcs) at XbimXplorer.XplorerMainWindow.OpenAcceptableExtension(Object s, DoWorkEventArgs args).

I think this is a XBim viewer problem and my file is actually sound, can have a look? ( rename the txt to ifc extension to open it) hellocivilelementifc4.txt

WindingWinter avatar Jun 20 '18 07:06 WindingWinter

Here's another file that ifcbrowser can show, but xbim explorer can't, because of the error:

ERROR Xbim.Geometry.XbimGeometryCreator EE001: Failed to create geometry # 30 of type IfcExtrudedAreaSolid, General Error Creating IfcExtrudedAreaSolid, # 30

can open or not hellocivilelementifc4_2.txt

WindingWinter avatar Jun 20 '18 09:06 WindingWinter

Still not working in V5.

Error is

`==== 16:59 20 Error Xbim.ModelGeometry.Scene.Xbim3DModelContext GeomScene: #30="IfcExtrudedAreaSolid" ["Failed to create shape geometry, General Error Creating IfcExtrudedAreaSolid, #30"]

`

andyward avatar Dec 07 '18 17:12 andyward