(SOLVED) Import problem with ifc4 ?

This forum section is only for IFC-related issues
Post Reply
User avatar
thomas-neemann
Veteran
Posts: 11801
Joined: Wed Jan 22, 2020 6:03 pm
Location: Osnabrück DE 🇩🇪
Contact:

(SOLVED) Import problem with ifc4 ?

Post by thomas-neemann »

I get this message
Bildschirmfoto_2022-06-09_19-00-34.png
Bildschirmfoto_2022-06-09_19-00-34.png (45.66 KiB) Viewed 1477 times
if i want to import this ifc4 file,

https://grabcad.com/library/convenience-store-1

Bildschirmfoto_2022-06-09_19-02-08.png
Bildschirmfoto_2022-06-09_19-02-08.png (89.94 KiB) Viewed 1477 times
Bildschirmfoto_2022-06-09_19-01-51.png
Bildschirmfoto_2022-06-09_19-01-51.png (136.31 KiB) Viewed 1477 times
Bildschirmfoto_2022-06-09_19-00-56.png
Bildschirmfoto_2022-06-09_19-00-56.png (31.5 KiB) Viewed 1477 times
and the import stops
Can anybody confirm this?



OS: Ubuntu 20.04.1 LTS (XFCE/xubuntu)
Word size of FreeCAD: 64-bit
Version: 0.20.29045 (Git) AppImage
Build type: Release
Branch: (HEAD detached at bbc47e7)
Hash: bbc47e75c6836410a53518917cd5710ec89c7018
Python 3.9.13, Qt 5.12.9, Coin 4.0.0, OCC 7.5.3
Locale: German/Germany (de_DE)
Last edited by thomas-neemann on Thu Jun 09, 2022 6:58 pm, edited 1 time in total.
Gruß Dipl.-Ing. (FH) Thomas Neemann

https://www.youtube.com/@thomasneemann5 ... ry=freecad
User avatar
thomas-neemann
Veteran
Posts: 11801
Joined: Wed Jan 22, 2020 6:03 pm
Location: Osnabrück DE 🇩🇪
Contact:

Re: Import problem with ifc4 ?

Post by thomas-neemann »

ifcplusplus


linux (ubuntu) installation and start:

Code: Select all

sudo apt update

sudo apt -y install ifcplusplus

SimpleViewerExample


imported it, but apparently not completely. could be that the file is defective

Bildschirmfoto_2022-06-09_20-27-21.png
Bildschirmfoto_2022-06-09_20-27-21.png (272.7 KiB) Viewed 1436 times
Gruß Dipl.-Ing. (FH) Thomas Neemann

https://www.youtube.com/@thomasneemann5 ... ry=freecad
User avatar
thomas-neemann
Veteran
Posts: 11801
Joined: Wed Jan 22, 2020 6:03 pm
Location: Osnabrück DE 🇩🇪
Contact:

Re: Import problem with ifc4 ?

Post by thomas-neemann »

everything seems to work with ifc 4. here is an example

https://github.com/RWTH-E3D/DigitalHub



Bildschirmfoto_2022-06-09_20-56-10.png
Bildschirmfoto_2022-06-09_20-56-10.png (127.03 KiB) Viewed 1423 times
Gruß Dipl.-Ing. (FH) Thomas Neemann

https://www.youtube.com/@thomasneemann5 ... ry=freecad
User avatar
thomas-neemann
Veteran
Posts: 11801
Joined: Wed Jan 22, 2020 6:03 pm
Location: Osnabrück DE 🇩🇪
Contact:

Re: (SOLVED) Import problem with ifc4 ?

Post by thomas-neemann »

even ifc4x2 is imported. ifcplusplus cannot do that yet

https://ifcinfra.de/wp-content/uploads/ ... odel01.zip
Bildschirmfoto_2022-06-09_21-15-22.png
Bildschirmfoto_2022-06-09_21-15-22.png (102.83 KiB) Viewed 1412 times
Gruß Dipl.-Ing. (FH) Thomas Neemann

https://www.youtube.com/@thomasneemann5 ... ry=freecad
User avatar
thomas-neemann
Veteran
Posts: 11801
Joined: Wed Jan 22, 2020 6:03 pm
Location: Osnabrück DE 🇩🇪
Contact:

Re: (SOLVED) Import problem with ifc4 ?

Post by thomas-neemann »

IfcConvert can convert the file, once you import and export the dae result in blender, even the colors are adopted



Bildschirmfoto_2022-06-10_09-29-34.png
Bildschirmfoto_2022-06-10_09-29-34.png (131.7 KiB) Viewed 1332 times


edit


example

https://forum.freecadweb.org/viewtopic. ... 84#p601347
Gruß Dipl.-Ing. (FH) Thomas Neemann

https://www.youtube.com/@thomasneemann5 ... ry=freecad
Post Reply