Integration of BlenderBIM Features : FreeCAD Arch/BIM - Native IFC
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Be nice to others! Respect the FreeCAD code of conduct!
Re: Integration of BlenderBIM Feaures : FreeCAD Arch/BIM
Yes the process of revealing children is tedious. The idea is to do like BlenderBIM does, offer different import strategies (one object only, structure only, structure + children...)
When does your error above occur? When expanding the site?
When does your error above occur? When expanding the site?
Re: Integration of BlenderBIM Feaures : FreeCAD Arch/BIM
Just updated the add-on, importing return error -
Code: Select all
09:05:49 Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/home/paullee/Downloads/FreeCAD_weekly-builds-30345-2022-09-11-conda-Linux-x86_64-py310/squashfs-root/usr/lib/python3.10/site-packages/shiboken2/files.dir/shibokensupport/feature.py", line 139, in _import
return original_import(name, *args, **kwargs)
<class 'ModuleNotFoundError'>: No module named 'bb_import'
Re: Integration of BlenderBIM Feaures : FreeCAD Arch/BIM
I don't understand how you got this error... there is no more reference to bb_import anywhere. Make sure your addon is up to date? And what steps have you followed to get this error?
Re: Integration of BlenderBIM Feaures : FreeCAD Arch/BIM
Hmmm strange, maybe I had not restarted FC before I tested ?
Seems nothing wrong now ?
Seems nothing wrong now ?
- ragohix769
- Posts: 568
- Joined: Sat Jul 18, 2020 7:04 am
- Location: Rome - Italy
Re: Integration of BlenderBIM Feaures : FreeCAD Arch/BIM
How is done colors?
Are you using a different model?
Anyway i've import too (the original one), in 11 sec.
That's good
After #ElonMuskBuyTwitter I'm no more on Twitter, that's really enough
=> Now you can find me here on #Mastodon: https://mastodon.uno/@opensoul - I hope more people do the same
=> Now you can find me here on #Mastodon: https://mastodon.uno/@opensoul - I hope more people do the same
Re: Integration of BlenderBIM Feaures : FreeCAD Arch/BIM
Ar, not aware of the colour - same model file !
And now dialog box pop up providing 2 option of IFC import to be selected.
And now dialog box pop up providing 2 option of IFC import to be selected.
Re: Integration of BlenderBIM Feaures : FreeCAD Arch/BIM
Reveal Children return some error, but seems still working ?
Code: Select all
02:42:10 Loading GUI of Part module... done
02:42:10 Imported 47.0 Mb in 01:03
02:42:10 Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/home/paullee/.local/share/FreeCAD/Mod/FreeCAD-BlenderBIM/./ifc_import.py", line 56, in insert
FreeCADGui.activateWorkbench("BIMWorkbench")
<class 'KeyError'>: No such workbench 'BIMWorkbench'
02:44:18 Traceback (most recent call last):
02:44:18 File "/home/paullee/.local/share/FreeCAD/Mod/FreeCAD-BlenderBIM/./ifc_viewproviders/ifc_vp_object.py", line 89, in revealChildren
02:44:18 ifc_tools.create_children(self.Object, ifcfile)
02:44:18 File "/home/paullee/.local/share/FreeCAD/Mod/FreeCAD-BlenderBIM/./ifc_tools.py", line 92, in create_children
02:44:18 create_child(obj, child)
02:44:18 File "/home/paullee/.local/share/FreeCAD/Mod/FreeCAD-BlenderBIM/./ifc_tools.py", line 75, in create_child
02:44:18 child = create_object(element, parent.Document, ifcfile)
02:44:18 File "/home/paullee/.local/share/FreeCAD/Mod/FreeCAD-BlenderBIM/./ifc_tools.py", line 155, in create_object
02:44:18 shape, colors = get_shape([ifcentity], ifcfile)
02:44:18 TypeError: cannot unpack non-iterable NoneType object
Re: Integration of BlenderBIM Feaures : FreeCAD Arch/BIM
The Site object has no Reveal Children
- ragohix769
- Posts: 568
- Joined: Sat Jul 18, 2020 7:04 am
- Location: Rome - Italy
Re: Integration of BlenderBIM Feaures : FreeCAD Arch/BIM
I'm trying latest FC snapd package with the --edge version (0.21) (because PPA Daily repos are no more updated ) so I had to reinstall all from scretch. So I installed NativeIFC via addon manager in FC adding gitlab respos manually, but it's failing automatic install of ifcopenshell via pip, and now even if try to install via console as done in the past, the importer it's not working.
Log of the console:
Code: Select all
01:36:53 IfcOpenShell was not found on this system. IFC support is disabled.
Visit https://wiki.freecadweb.org/IfcOpenShell to learn about installing it.
01:38:12 Custom repo list changed, forcing recache...
01:38:14 [
[
"3",
"8"
]
]
01:38:14 [
[
"3",
"8"
]
]
01:38:14 [
[
"3",
"8"
]
]
01:38:14 Command '['/snap/freecad/464/bin/python3', '-m', 'pip', '--disable-pip-version-check', 'list', '--path', '/home/dando/snap/freecad/common/AdditionalPythonPackages/py38']' returned non-zero exit status 1.
01:38:14 pip timed out
01:38:30 IfcOpenShell was not found on this system. IFC support is disabled.
Visit https://wiki.freecadweb.org/IfcOpenShell to learn about installing it.
01:44:53 IfcOpenShell was not found on this system. IFC support is disabled.
Visit https://wiki.freecadweb.org/IfcOpenShell to learn about installing it.
Code: Select all
01:38:30 IfcOpenShell was not found on this system. IFC support is disabled.
Visit https://wiki.freecadweb.org/IfcOpenShell to learn about installing it.
Code: Select all
:~$ pip install ifcopenshell
Requirement already satisfied: ifcopenshell in ./.local/lib/python3.8/site-packages (0.7.0)
Code: Select all
OS: Ubuntu Core 20 (KDE/plasma)
Word size of FreeCAD: 64-bit
Version: 0.21.31153 (Git) Snap 464
Build type: Release
Branch: master
Hash: 3f118b52bc62db6a5ca85daafaa2c021411e7177
Python 3.8.10, Qt 5.15.5, Coin 4.0.0, Vtk 7.1.1, OCC 7.6.3
Locale: Italian/Italy (it_IT)
Installed mods:
* BIM 2021.12.0
* FreeCAD-NativeIFC 2022.10.20
After #ElonMuskBuyTwitter I'm no more on Twitter, that's really enough
=> Now you can find me here on #Mastodon: https://mastodon.uno/@opensoul - I hope more people do the same
=> Now you can find me here on #Mastodon: https://mastodon.uno/@opensoul - I hope more people do the same