Hmm, I tried IfcConvert.exe (0.4.0) to Collada on the same file and it took 16 seconds instead of 30 minutes for the Blender importer. Shouldn't that do basically the same thing?
Ok I timed the code and it seems like 90% of the time is when Iterator.Next() is called so I don't think there's anything to do about the Blender code.. Actually creating the meshes is very fast. It's somewhere deeper.
Nice, yes it worked on some sample .IFC files I found. Unfortunately when I imported one building from work, it took over 30 minutes.. It did import fine though. 6000 objects. But something must be wrong when it takes so long. I'm not a very good python programmer but I will try to add some timers and see if I can debug it for fun. :) Also because it only uses 20% CPU now, thinking maybe importing could be made multithreaded? Using the technique from this example: https://docs.blender.org/api/blender2.8/info_gotcha.html#strange-errors-using-threading-module...
Hey, I've tried IfcBlender for 2.7x and it works great, but since I've switched to 2.8 now, is there a version somewhere where basic import will work? If so, how do I install it? I've converted another much smaller addon to 2.8 and it was quite a lot of work to search for all the changes in the API, but if it's not available and noone working on it, I might just try to do it and make a pull request. Thanks, Erik