Integration of BlenderBIM Features : FreeCAD Arch/BIM - Native IFC

A forum dedicated to the Draft, Arch and BIM workbenches development.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Post Reply
User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Re: Integration of BlenderBIM Feaures : FreeCAD Arch/BIM

Post by Kunda1 »

Installing via addon manager FreeCAD hangs (with an inability to press 'Cancel' in the dialog
Screenshot_20221023_092908.png
Screenshot_20221023_092908.png (8.07 KiB) Viewed 1219 times
CLI output:

Code: Select all

pip timed out
Noneb'pip 22.3 from /snap/freecad/375/lib/python3.8/site-packages/pip (python 3.8)\n'pip 22.3 from /snap/freecad/375/lib/python3.8/site-packages/pip (python 3.8)
Traceback (most recent call last):
  File "/snap/freecad/375/usr/Mod/AddonManager/addonmanager_workers_installation.py", line 399, in run
    self._install_python_packages()
  File "/snap/freecad/375/usr/Mod/AddonManager/addonmanager_workers_installation.py", line 434, in _install_python_packages
    self._install_required(vendor_path)
  File "/snap/freecad/375/usr/Mod/AddonManager/addonmanager_workers_installation.py", line 470, in _install_required
    proc = subprocess.run(
  File "/snap/freecad/375/usr/lib/python3.8/subprocess.py", line 516, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['/snap/freecad/375/bin/python3', '-m', 'pip', 'install', '--disable-pip-version-check', '--target', '/home/beast/snap/freecad/common/AdditionalPythonPackages', 'ifcopenshell']' returned non-zero exit status 1.

Code: Select all

OS: Ubuntu Core 20 (KDE/plasma)
Word size of FreeCAD: 64-bit
Version: 0.21.30711 (Git) Snap 375
Build type: Release
Branch: master
Hash: 916891c3fc1855b210e826825c235d8c96b78456
Python 3.8.10, Qt 5.15.5, Coin 4.0.0, Vtk 7.1.1, OCC 7.6.3
Locale: English/United States (en_US)
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
User avatar
Moult
Posts: 321
Joined: Sat Jan 05, 2019 11:46 am
Contact:

Re: Integration of BlenderBIM Feaures : FreeCAD Arch/BIM

Post by Moult »

Can you run the command manually:

/snap/freecad/375/bin/python3 -m pip install -v --disable-pip-version-check --target /home/beast/snap/freecad/common/AdditionalPythonPackages ifcopenshell

... and let me know what the output is? Note I added a `-v` verbose flag.
I also blog about 3D rendering, architecture, software and other on thinkMoult.com. RSS / Atom feed available for your convenience.
User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Re: Integration of BlenderBIM Feaures : FreeCAD Arch/BIM

Post by Kunda1 »

Code: Select all

$ /snap/freecad/375/bin/python3 -m pip install -v --disable-pip-version-check --target /home/beast/snap/freecad/common/AdditionalPythonPackages ifcopenshell
bash: /snap/freecad/375/bin/python3: No such file or directory
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
martin15135215
Posts: 6
Joined: Sat Sep 24, 2022 4:05 pm

Re: Integration of BlenderBIM Feaures : FreeCAD Arch/BIM

Post by martin15135215 »

paullee wrote: Fri Oct 21, 2022 10:15 am
yorik wrote: Fri Oct 21, 2022 9:49 am
paullee wrote: Fri Oct 21, 2022 5:17 am nothing shows up to "Select the BlenderBIM importer (bb_import)", just have *.ifc in the 'File of type' in dialog box.
Yes that's normal. After you select an IFC file and press OK, you should see a pop up window asking you which importer to use.
No pop up dialog shows up - I am with AppImage on Fedora (details below)

i also did install the addon and did successfully open an ifc model, however there was no pop up dialog to chose a importer.
freecad-blenderbim-test.png
freecad-blenderbim-test.png (159.07 KiB) Viewed 1156 times

Code: Select all

OS: Windows 10 Version 2009
Word size of FreeCAD: 64-bit
Version: 0.21.30492 (Git)
Build type: Release
Branch: master
Hash: b4578fb3eae842eb510a1bc055d07d369a67ce94
Python 3.10.6, Qt 5.15.4, Coin 4.0.0, Vtk 9.1.0, OCC 7.6.3

Installed mods: 
  * FreeCAD-BlenderBIM 2022.10.20
User avatar
chennes
Veteran
Posts: 3876
Joined: Fri Dec 23, 2016 3:38 pm
Location: Norman, OK, USA
Contact:

Re: Integration of BlenderBIM Feaures : FreeCAD Arch/BIM

Post by chennes »

Kunda1 wrote: Sun Oct 23, 2022 1:55 pm

Code: Select all

$ /snap/freecad/375/bin/python3 -m pip install -v --disable-pip-version-check --target /home/beast/snap/freecad/common/AdditionalPythonPackages ifcopenshell
bash: /snap/freecad/375/bin/python3: No such file or directory
Do Snaps move/change the path (e.g. is that 375 constant)?
Chris Hennes
Pioneer Library System
GitHub profile, LinkedIn profile, chrishennes.com
User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Re: Integration of BlenderBIM Feaures : FreeCAD Arch/BIM

Post by Kunda1 »

chennes wrote: Sun Oct 23, 2022 4:06 pm Do Snaps move/change the path (e.g. is that 375 constant)?
It's dynamic. Looks like this is relevant to issue #6707
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
User avatar
chennes
Veteran
Posts: 3876
Joined: Fri Dec 23, 2016 3:38 pm
Location: Norman, OK, USA
Contact:

Re: Integration of BlenderBIM Feaures : FreeCAD Arch/BIM

Post by chennes »

This should be pretty easy to fix in the Addon Manager, I’ll try to get to it later today.

ETA : if you have a minute can you make an issue and assign it to me?
Chris Hennes
Pioneer Library System
GitHub profile, LinkedIn profile, chrishennes.com
User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Re: Integration of BlenderBIM Feaures : FreeCAD Arch/BIM

Post by Kunda1 »

chennes wrote: Sun Oct 23, 2022 4:36 pm ETA : if you have a minute can you make an issue and assign it to me?
Done: https://github.com/FreeCAD/FreeCAD-addons/issues/240
TIA!
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
paullee
Veteran
Posts: 5097
Joined: Wed May 04, 2016 3:58 pm

Re: Integration of BlenderBIM Feaures : FreeCAD Arch/BIM

Post by paullee »

@yorik @Moult

I just update the add-on and try to import the same ifc again, unfortunately FC crash after a while for a few time (the import also make my pc sluggish) Trying to see if I can catch some log. :)

Oh, after a few attempt, this time it import in 1:59 min, file size in *.FCStd is similar, about 13mB :D

It seems the UI is slightly less responsive ?


Screenshot from 2022-10-24 01-25-22.png
Screenshot from 2022-10-24 01-25-22.png (225.62 KiB) Viewed 1080 times
paullee
Veteran
Posts: 5097
Joined: Wed May 04, 2016 3:58 pm

Re: Integration of BlenderBIM Feaures : FreeCAD Arch/BIM

Post by paullee »

martin15135215 wrote: Sun Oct 23, 2022 3:24 pm i also did install the addon and did successfully open an ifc model, however there was no pop up dialog to chose a importer.
Thanks for the confirmation :)

Seems you import in about 2 min, can you indicates your PC / CPU configuration please.
Post Reply