opensourceBIM / BIMserver

The open source BIMserver platform
GNU Affero General Public License v3.0
1.56k stars 610 forks source link

Color issue when Check In as stream #668

Closed PatriceMoreau56 closed 6 years ago

PatriceMoreau56 commented 6 years ago

Hi,

Thanks for your good work on the BIMserver. I have an issue with the colors of my building example. Chanteloup.zip

When I check in an ifc file with Ifc2x3tc1 (Streaming) deserializer, the second floor of my example appears with brown color chanteloup ci streaming

When I check in the same file with Ifc2x3tc1 deserializer (without streaming), the second floor appears white as it has to be chanteloup ci file

When I download the file as an IFC (check out operation), the color is OK whatever serializer plugin I use (streaming or not).

As far as I understand the BIMviews, it uses the BIMsurfer for the 3D. Do you think the issue come from the BIMsurfer?

Bimserver 1.5.92 settings: Bimserverapi : 0.0.122 Bimviews : 0.0.90 Bimsurfer : 0.0.43 IfcPlugins : 0.0.33 IfcOpenshellPlugins : 0.5.25 BinarySerializers : 0.0.27

rubendel commented 6 years ago

Thanks for the model! This has now been fixed in GIT HEAD.

Background info: The upper-storey walls were different from the other walls in that they used recursive boolean operations to define the geometry (which is perfectly fine). In that case, the queries BIMserver uses to determine which info to include in the IFC files sent to IfcOpenShell omitted the style information, so they fell back to a default color.