R
by RaphaëlVouilloz on 23 Aug 2023, edited 19 Feb 2024
#
+1 votes
Hello,
I'd like to follow the demo here, which looks great: https://blenderbim.org/docs/devs/hello_world.html
I have cloned IfcOpenShell, registered and run the "Live development environment" installation script.
When I uncomment these three lines (in the IfcOpenShell folder, correct?), the Hello World panel is not happening:
# Uncomment this line to enable loading of the demo module. Happy hacking!
# The name "demo" must correlate to a folder name in 'bim/module/'.
# "demo": None,
Is this tutorial still supposed to work with the new interface (great by the way)? Thanks
A
by Andrej730 on 24 Aug 2023
#
Hello! Tested it on last build it - it should work:

Any errors you have in the system console (Window - Toggle System Console if you're not on Mac)?
When I uncomment these three lines
To make it work neeed to uncomment just 1 line in the src/blenderbim/blenderbim/bim/init.py:

R
by RaphaëlVouilloz on 24 Aug 2023, edited 24 Aug 2023
#
Thanks for your help! Actually, I think I'm already having problems installing BlenderBIM from the batch script (run as admin) :

R
by RaphaëlVouilloz on 24 Aug 2023
#
Yes I have, I have copied from there : https://blenderbim.org/docs/devs/installation.html
T
by theoryshaw on 24 Aug 2023
#

looks like you already have cloned IfcOpenShell, so I think you can comment out the following line.

R
by RaphaëlVouilloz on 24 Aug 2023, edited 24 Aug 2023
#
Thanks, indeed I cloned it from github desktop because of this remark :
Put the script to the folder where IfcOpenShell git repository is located.
I still have quite the same problem :

T
by theoryshaw on 24 Aug 2023
#
I would start over again...
delete.. 
Then install the latest release: https://github.com/IfcOpenShell/IfcOpenShell/releases
Then run the .bat script.
R
by RaphaëlVouilloz on 25 Aug 2023
#
Ok, thanks I tried. I pulled the last version of IfcOpenShell, deleted the blenderbim folder you indicated, and reinstalled the latest unstable version of BlenderBIM from scratch. Now the batch script is able to edit some folders (the ones at 10:28).

But problems still happen running the batch script :

It doesn't find two directories:
Warning: Failed to open the file C:\Users\rvouillo\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\blenderbim\bim\data\gantt\jsgant
Warning: Failed to open the file C:\Users\rvouillo\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\blenderbim\bim\schema\Brick.ttl
Then when I open Blender, I can't see the BlenderBIM interface even though the addon is activated. When I unclick and click the activation button I get this error:

R
by RaphaëlVouilloz on 2 Oct 2023, edited 2 Oct 2023
#
@theoryshaw said:

looks like you already have cloned IfcOpenShell, so I think you can comment out the following line.

Hello, just let you know I could solve the dev installation... that was almost that, thanks
So if IfcOpenShell is already installed eg. with Github Desktop, we can replace these two lines :
git clone https://github.com/IfcOpenShell/IfcOpenShell.git
cd IfcOpenShell
by
cd C:\Users\rvouillo\Documents\GitHub\IfcOpenShell
with your own path to IfcOpenshell
Otherwise it seems to work running the batch script (folders are replaced) but it gives this bug in Blender :

M
by Moult on 5 Oct 2023
#
@"RaphaƫlVouilloz" would you be interested in a screenshare to go through the steps together from the beginning? That error sounds as though something fundamental isn't setup right. I'm available in the Sydney timezone 9-5pm.
R
by RaphaëlVouilloz on 6 Oct 2023
#
Thanks! As far as I'm concerned it's solved, but yes I can show you what went wrong if it helps clarify. I would be available at 4:30pm (Sydney) on Monday
In the end the only problem was that I had already cloned IfcOpensShell
R
by RaphaëlVouilloz on 19 Feb 2024, edited 19 Feb 2024
#
Problem solved on my own sorry for the update