IFC to Rhino - Received Geometry looks weird

I am trying to receive an IFC file in Rhino. Even though geometry in the viewer looks fine, when received in Rhino, it generates a weird geometry, no surfaces, lines only visible when selected. I believe this is a bug because it works just fine through Grasshopper. Any idea why this might be happening?

PS: Don’t know the source of IFC

Take a look at it👇:

1 Like

Hi there @gokermu!

That’s quite interesting (and should definitely not be happening)! I’ll have a look during the morning as I’m already wrapping up some small GH fixes and improvements.

Quick question meanwhile… If you bake the GH geometry into Rhino, does the problem persist? :slight_smile:

Nope, looks fine in Grasshopper.

1 Like

Just a quick update, :thinking: I’ve managed to reproduce it in my computer. But it does seem everything is being converted fine (including the material).

If I swap the view to rendered it will display the object, but not on Wireframe nor Shaded… :face_with_head_bandage:

Edit: Found the culprit!

DisplayColor is transparent? :face_with_head_bandage:
Screenshot 2022-05-16 at 10.22.00

1 Like

Yep, that was it. Is it because of the connector or is there something wrong with the ifc file?

Not sure yet, but I’ll get to the bottom of it with a bit of help from Claire later in the day.

I suspect it’s IFC related since this doesn’t happen in Rhino to Rhino workflows, but TBD

1 Like

Hi @gokermu,

we’ll be pushing a fix for this today, and should make it to the next release.

It seems we were incorrectly setting the display color of the mesh using alpha values. Hence, it ended up being transparent instead of it’s proper color.

We will now default to the Rhino behaviour of inheriting the color from the material. Which ends up having the same result, but ensures consistency with how Rhino does things :slight_smile:

Thanks for catching this!!