Compas_ifc on google collab

Hi! I’m trying to run compas_ifc on google collab. in the test below i am only trying to load and view an IFC file (its a clean IFC file)

when i run model.show() I get an error message saying my session crashed

@Li_Chen should i use compas_notebook to run this? a small example could help tremendously thanks in advance <3

Hi @lifeisapeachfest , compas_viewer is a standalone viewer which only works through a local python environment, not inside a notebook. You can still use APIs from compas_ifc without 3d visualization, but to use model.show (which uses compas_viewer in background), you will need to run your script in a local python setup. Hope this helps.

you can use compas_notebook for visualisation in notebooks. i don’t know if this is already integrated in compas_ifc, but you can always write the visualisation code explicitly.

@Li_Chen maybe notebook/scene support something to consider for compas_ifc

Indeed! That’s a very good idea, i can work on that