Im having trouble viewing IfcSpace as a element/object in the speckle viewer

Hi Speckle community,

I’m having trouble viewing IfcSpaces in my IFC model that I have uploaded to speckle.

The spaces are there with data, but no visible geometry. Is there a way to get them visible?

The BIM viewers you mention have runtime interpolation of the spaces into visible geometry. However, the IFC parser we use currently doesn’t generate these on ingestion.

We have two options:

  1. Create these spaces at display time in the viewer (good for web and powerBI)
  2. Create these spaces at ingestion, possibly better for uses in non-BIM environments

We can investigate whether this second path is a feature we can enable from IFCjs; otherwise, it will unlikely be enabled soon.

From a web perspective, the viewer is generally designed to display geometry in the dataset. But we can consider it if ingestion creation isn’t possible.

Thank you for fast answere!

Don’t know if this may help but found something about highlighting IfcSpaces for ifc.js:

Would be super usefull to have visible spaces, both in the web viewer also in the PowerBI dashboard integration, its alot of information connected to the spaces that is really usefull to have visible and the possebility to filter on IfcSpaces and IfcZones.

Yeah, that is their solution which is presentational in their viewer.

We use the webifc wasm part of the project - so the exploration will be with that.

If your usecase is having your IFCSpaces in Power BI, can you try opening your IFC file in Navisworks and send to Speckle from there? Let us know how it goes.

Hey @gokermu!

What would be the expected outcome? Is Navisworks supposed to be able to upload IfcSpaces as geometry?

There is an option within Navisworks to translate IfcSpace and Revit Rooms as a volume.

2 Likes

If you are able to view it as geometry in Navisworks, then yes. Space geometries with attributes should be visible in the viewer.

1 Like

Hi Jonathon,
how I can do this point you said there?

  1. Create these spaces at display time in the viewer (good for web and powerBI)

You mean, after I upload an ifc file with ifcspace I can use ifcspace information to build the geometries of rooms?

Can you provide me some detail?

Just a heads-up, the options Jonathon shared are for us to check out, but feel free to jump in if you want! IFC Spaces are a bit different from regular IFC elements in the schema. We recently rolled out our new IFC parser, but it doesn’t support IFC Spaces yet, along with some other types. That said, adding IFC Space support is definitely on our to-do list.

Hi @gokermu ,
i wrote a script in python using IFCopenshell library, and i’m able to see IfcSpace in Speckle :slight_smile: i still need some help to fix all the Ifc parameters to serialize.
Should i share my script here ?

@gokermu i would like some help to fix my script for textures, normalize meshes, and correctly importing and serializing ifc data :slight_smile:

We don’t normalise meshes for our other connectors and neither do we support textures on materials (assuming you mean bitmap)

Speckle meshes do support vertex colouring, however.

Also, if you do normalise the meshes (shared edges & vertices) the Speckle viewer will definitely improve appearance.

1 Like