opensourceBIM / IfcOpenShell-BIMserver-plugin

IfcOpenShell BIMserver plugin
Other
51 stars 28 forks source link

only BREP is supported for geometry representation #3

Open ManoChanda opened 6 years ago

ManoChanda commented 6 years ago

I am new to IFC and BIM world, I am using your IfcGeomServer.exe to generate geometry of IFC objects. But your exe only generated values for BREP. If the ifc model does not have brep, it will not generate geometry values. What should I do ? Do you suggest any other Render Engine ? Why there is a dependancy on BREP representation ?

rubendel commented 6 years ago

No, it does generate geometry for all kinds of representation. Which representation specifically does not work for you? Do you have an example IFC that illustrates this?

ManoChanda commented 6 years ago

can you please see the attached file , I am unable to generate Geometry of this model IC_Liberty_Loft7_RDCLogtsv3.zip

ManoChanda commented 6 years ago

will you please find some time to see my problem? @rubendel thanking you in advance

rubendel commented 6 years ago

It loads just fine here (latest version of everything). Haven't looked at the different types of geometry used, but I assume it's not just breps.

brep

rubendel commented 6 years ago

Oh I am gettings a few errors in the log file I see, not all geometry is converted successfully

org.bimserver.plugins.renderengine.RenderEngineException: Exited with non-zero exit code: -1073741571
    at org.ifcopenshell.IfcGeomServerClient.terminate(IfcGeomServerClient.java:496)
    at org.ifcopenshell.IfcGeomServerClient.close(IfcGeomServerClient.java:47)
    at org.ifcopenshell.IfcOpenShellEngine.close(IfcOpenShellEngine.java:77)
    at org.bimserver.renderengine.NoPoolingRenderEnginePool.returnObject(NoPoolingRenderEnginePool.java:40)
    at org.bimserver.StreamingGeometryGenerator$Runner.run(StreamingGeometryGenerator.java:578)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
    at java.util.concurrent.FutureTask.run(FutureTask.java:266)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    at java.lang.Thread.run(Thread.java:745)

I have attached one of the smaller "intermediate" files, may @aothms can have a look later?

IfcWallStandardCase-1.ifc.txt

rubendel commented 6 years ago

Possibly related to https://github.com/IfcOpenShell/IfcOpenShell/issues/270 and https://github.com/IfcOpenShell/IfcOpenShell/issues/282

ManoChanda commented 6 years ago

thanks for reply, but the exit codes are different, someone reported exit code: 255 and you mentioned -1073741819, and here it was -1073741571

rubendel commented 6 years ago

Yeah but I am pretty sure the exit codes are not real exit codes but some sort of overflow or memory corruption.