Prerequisites and Installation (BBIM)

edited January 2022 in General

Hello,
i would like to ask some pointers on the prerequisites that i need to install in blender(?!) before installing the
BlenderBim add on. I am asking this because of different messages i receive adding each component each step.

Thank you very much.

Comments

  • Are you using a "stable" release from https://blenderbim.org/download.html or one of the daily builds from the github ? Are you using Windows / Linux / Macos ? There are already some issues opened about errors at installation maybe you're getting the same kind of errors ? https://github.com/IfcOpenShell/IfcOpenShell/issues/1977 for instance

  • Hello, i am using Ubuntu 18.04.6 LTS. I have downloaded the "stable" release and i am getting an error saying "ModuleNotFoundError: No module named 'ifcopenshell.api' . Having done some steps towards finding a solution for this error i find myself watching on different errors regarding "Topologic" and "Sverchok". At this point it became kinda complicated to follow up and make it work so i thought of asking here. Also the Blender version i am using is 3.0.0 portable. I did try it also by installing blender but the same errors occured.

  • I haven't tried it on Ubuntu but Blenderbim only requires blender, the last stable version I tried was this one: https://github.com/IfcOpenShell/IfcOpenShell/releases/tag/blenderbim-211228
    The big trick with blenderbim installation is the sequence, if you want to install a different version, you need to:
    untick the previous version,
    restart blender,
    then remove the old version
    and load the new one.

    Hope that helps!

  • Hello, i have updated my distribution from 18.04 to 20.04 and it seems now that the sverchok and Topologic can be ticked with no errors. It seemed to be an error conected to the glibc. Now i am facing the error of "ifcopenshell.api" not found. Hope to solve this one too!

  • @GPSalachs for now, I'd recommend downloading the stable release from https://blenderbim.org/download.html - be sure to remove any existing BlenderBIM Add-on installations you might have. Here are the installation instructions: https://blenderbim.org/install-blenderbim.html

  • @Moult said:
    @GPSalachs for now, I'd recommend downloading the stable release from https://blenderbim.org/download.html - be sure to remove any existing BlenderBIM Add-on installations you might have. Here are the installation instructions: https://blenderbim.org/install-blenderbim.html

    Thank you very much for the reply but even after having a fresh Blender to install the BlenderBIM addon i am still getting the "ModuleNotFoundError: No module named 'ifcopenshell.api' " . Am i missing a component to install or something ?

  • @GPSalachs that sounds weird. Perhaps its best if you joined us in the OSArch Live Chat and did a screenshare to figure out what is wrong. Most of the time, it's something not quite clean in your install environment. For example, you may wish to ensure that all other add-ons are disabled and only the BlenderBIM Add-on exists.

    For example, a potential issue would be that you might have a version of @topologic installed with IfcOpenShell, but that version of IfcOpenShell is outdated (since the BlenderBIM Add-on generally needs the latest version). So the two add-ons are conflicting. I thought in recent releases Topologic depends on the BlenderBIM Add-on for IfcOpenShell, but I could be wrong.

  • @Moult said:

    I thought in recent releases Topologic depends on the BlenderBIM Add-on for IfcOpenShell, but I could be wrong.

    That is correct. Topologic does NOT install ifcopenshell and depends on BlenderBIM for that. If Topologic cannot find ifcopenshell, it simply does not load the associated nodes, but the rest of it works as designed.

  • So topologic does not install ifcopenshell and in my case blenderbim does cannot find ifcopenshell.api . Do i have to install ifcopenshell and then enable the BlenderBim add on? Is there a guide to install ifcopenshell in ubuntu?

  • The ifcopenshell should come packaged with the BlenderBIM (at least in the Windows version)

  • Perhaps you do not have the latest developer build of BlenderBIM? I always download from https://github.com/IfcOpenShell/IfcOpenShell/releases

  • Sorry. One more thing. Make sure BlenderBIM is activated BEFORE Topologic. So if you activated Topologic, then untick it. Restart Blender (Important), tick BlenderBIM and if that works tick Topologic last.

  • A minor note to stick with the stable release for the next week or so because the Github releases are a little broken right now :)

  • @GPSalachs hey nice to see you here, fellow "Greek engineer living in Italy" :D
    I am using blenderbim in Linux without problems, everything comes packaged and should work on a fresh installation of blender

  • @Moult said:
    A minor note to stick with the stable release for the next week or so because the Github releases are a little broken right now :)

    Is it ok to use them when implementing workaround in issue#1959 ?

  • Ah yes the temporary workaround should be OK, but there may still be an unintended side effect that I cannot predict in edge cases.

  • @Jesusbill said:
    @GPSalachs hey nice to see you here, fellow "Greek engineer living in Italy" :D
    I am using blenderbim in Linux without problems, everything comes packaged and should work on a fresh installation of blender

    I came here due to the posts i saw on Linkedin and thought "this is awesome" i have to learn it!
    I tried also to install the latest version of Blender but both in the portable version and the installed version the error message i am receiving is the one shown in the figure.
    The versions of BlenderBIM i tried to install are always the latest ones taken from the release page.

  • @GPSalachs looks weird, I wonder what do you have in ifcopenshell python folder in "/home/george/.config/blender/3.0/scripts/addons/blenderbim/libs/site/packages/ifcopenshell". Is there an "api" folder that contains all the module folders?
    Just in case, you need to "show hidden files" in the window browser settings to see the ".config" folder in your home directory

  • @Jesusbill said:
    @GPSalachs looks weird, I wonder what do you have in ifcopenshell python folder in "/home/george/.config/blender/3.0/scripts/addons/blenderbim/libs/site/packages/ifcopenshell". Is there an "api" folder that contains all the module folders?
    Just in case, you need to "show hidden files" in the window browser settings to see the ".config" folder in your home directory

    Hello, no i do not see an api folder. How can i add it ?

  • It's not really a matter of adding it, it should be already in the zipped blender-bim file, together with all the library files, and copied in that folder when installed in blender.
    Looks like the installation is not completed correctly, are you downloading the file from here? https://blenderbim.org/download.html

Sign In or Register to comment.