OSArch Community

BlenderBIM addon in UPBGE

  1. B

    Hi OSFellows,

    I was wondering about interesting mariage of BleenderBIM addon wwith blender's game engine (upbge). In simplest way I tried to install it in upbge as its done in blender but it raised an error saying that "shapely.lib" is missing. I was trying to copy it manually from installed addon on bllender but..there was no such lib there.

    Imagine having IFC file with all metadata brought to live in game engine. (ie Gamelike QA, construction simulations, training simulators or simply nice access to meta data). Does anyone tried this?

    Greg

    Here is an error:

    _Traceback (most recent call last):

    File "/Applications/UPBGE/UPBGE.app/Contents/Resources/3.0/scripts/modules/addon_utils.py", line 351, in enable

    mod = __import__(module_name)

    File "~/Library/Application Support/UPBGE/3.0/scripts/addons/blenderbim/init.py", line 40, in <module>

    import blenderbim.bim

    File "~/Library/Application Support/UPBGE/3.0/scripts/addons/blenderbim/bim/init.py", line 22, in <module>

    from . import handler, ui, prop, operator, helper

    File "~/Library/Application Support/UPBGE/3.0/scripts/addons/blenderbim/bim/handler.py", line 23, in <module>

    import blenderbim.tool as tool

    File "~/Library/Application Support/UPBGE/3.0/scripts/addons/blenderbim/tool/init.py", line 21, in <module>

    from blenderbim.tool.boundary import Boundary

    File "~/Library/Application Support/UPBGE/3.0/scripts/addons/blenderbim/tool/boundary.py", line 23, in <module>

    from blenderbim.bim.module.geometry.helper import Helper

    File "~/Library/Application Support/UPBGE/3.0/scripts/addons/blenderbim/bim/module/geometry/init.py", line 20, in <module>

    from . import ui, prop, operator

    File "~/Library/Application Support/UPBGE/3.0/scripts/addons/blenderbim/bim/module/geometry/operator.py", line 35, in <module>

    from blenderbim.bim import import_ifc

    File "~/Library/Application Support/UPBGE/3.0/scripts/addons/blenderbim/bim/import_ifc.py", line 39, in <module>

    from blenderbim.bim.module.drawing.prop import get_diagram_scales

    File "~/Library/Application Support/UPBGE/3.0/scripts/addons/blenderbim/bim/module/drawing/init.py", line 20, in <module>

    from . import ui, prop, operator, handler, gizmos, workspace

    File "~/Library/Application Support/UPBGE/3.0/scripts/addons/blenderbim/bim/module/drawing/prop.py", line 27, in <module>

    import blenderbim.bim.module.drawing.decoration as decoration

    File "~/Library/Application Support/UPBGE/3.0/scripts/addons/blenderbim/bim/module/drawing/decoration.py", line 25, in <module>

    import shapely

    File "~/Library/Application Support/UPBGE/3.0/scripts/addons/blenderbim/libs/site/packages/shapely/init.py", line 1, in <module>

    from .lib import GEOSException  # NOQA

    ModuleNotFoundError: No module named 'shapely.lib'_

  2. G

    This would be an awesome crossover ! I would expect a few hurdles though because UPBGE uses a custom fork of Blender so there may be discrepancies with the API and such that makes thing not click easily.

    For you problem though I would try copy/pasting the modules in site/packages from the blenderbim addon zip file to your blender install/version/python/lib/site-packages

  3. M

    Is there a version of UPBGE that is Blender >= 3.1 that has Python 3.10? Can you try that with the latest stable release?

    If not also would be good to have a screenshare to debug. Catch me online on osarch.org/chat with the username Moult.

Login or Register to reply.