engine_web-ifc
engine_web-ifc copied to clipboard
[Bug]: Missing Colors for Breps
What happened?
Hi,
I have this Model where IfcStyledItem references an IfcOpenShell instead of the IfcShellBasedSurfaceModel.
#436231=IFCOPENSHELL((#436236,#436241,#436247,#436253,#436259,#436265,#436270,#436276,#436282,#436288,#436294,#436300,#436306,#436312,#436318,#436324,#436330,#436336,#436342,#436348,#436353,#436359,#436364,#436369,#436375,#436381,#436387,#436393,#436399,#436405,#436411,#436417));
#565063= IFCCOLOURRGB($,1.,1.,1.);
#565064= IFCSURFACESTYLERENDERING(#565063,0.,$,$,$,$,$,$,.NOTDEFINED.);
#565065= IFCSURFACESTYLE($,.BOTH.,(#565064));
#565066= IFCPRESENTATIONSTYLEASSIGNMENT((#565065));
#565067= IFCSTYLEDITEM(#436231,(#565066),$);
Unfortunately IfcGeometryProcessor.GetBrep() doesn't get any color information from the brep (IfcOpenShell) wich leads to the element using the default color.
Version
0.57
What browsers are you seeing the problem on?
No response
Relevant log output
No response
Anything else?
This is what it should look like:
This is what it looks like: