My FreeCAD details:
OS: Ubuntu 20.04.3 LTS (ubuntu:GNOME/ubuntu)
Word size of FreeCAD: 64-bit
Version: 0.20.
Build type: Release
Branch: unknown
Hash: 8585149ab4ee0c165c5c443e84915741968d5624
Python version: 3.8.10
Qt version: 5.12.8
Coin version: 4.0.0
OCC version: 7.5.2
Locale: English/United Kingdom (en_GB)
Concerning IfcOpenShell I've updated and compiled the v0.6.0 branch this morning.
When importing an IFC file, some elements are missing. In the report view, there is a possibly related message "failed to compute placement"
If I use https://view.ifcopenshell.org/ there are not missing elements.
Any thoughts?
Elements missing when importing IFC model with FreeCAD
-
- Posts: 17
- Joined: Thu Mar 22, 2018 8:28 am
- Contact:
- thomas-neemann
- Veteran
- Posts: 11905
- Joined: Wed Jan 22, 2020 6:03 pm
- Location: Osnabrück DE 🇩🇪
- Contact:
Re: Elements missing when importing IFC model with FreeCAD
if you need a quick solution you could import it into blender, export it as a dae and open it in freecadl_pereztato wrote: ↑Fri Dec 17, 2021 2:15 pm ....
When importing an IFC file, some elements are missing. ...
-
- Posts: 17
- Joined: Thu Mar 22, 2018 8:28 am
- Contact:
Re: Elements missing when importing IFC model with FreeCAD
Thank you very much (and sorry for the late reply).
I'll try this solution.
I'll try this solution.
-
- Posts: 17
- Joined: Thu Mar 22, 2018 8:28 am
- Contact:
Re: Elements missing when importing IFC model with FreeCAD
Hi, there.
This works, but all the metadata are lost.
I've found some related questions (I don't know why I didn't find them before):
This works, but all the metadata are lost.
I've found some related questions (I don't know why I didn't find them before):
Re: Elements missing when importing IFC model with FreeCAD
would you provide the file or would you provide a file which only has a few of this missing objects?
IfcOpenShel is not the newest in FreeCAD. You could try to use a newer version from IfcOpenBot or compile IfcOpenShell yourself.
IfcOpenShel is not the newest in FreeCAD. You could try to use a newer version from IfcOpenBot or compile IfcOpenShell yourself.
-
- Posts: 17
- Joined: Thu Mar 22, 2018 8:28 am
- Contact:
Re: Elements missing when importing IFC model with FreeCAD
Hi Bernd. Thanks for your reply.
The IFC file is not mine, so I can't share it here; I can send it by mail.
Concerning the IfcOpenShell library, I compile it myself (0.6.0 branch) from the sources in GitHub. If I type "locate libIfc" on my system, I get:
/home/luis/prg/build/IfcOpenShell/libIfcGeom.a
/home/luis/prg/build/IfcOpenShell/libIfcGeom_ifc2x3.a
/home/luis/prg/build/IfcOpenShell/libIfcGeom_ifc4.a
/home/luis/prg/build/IfcOpenShell/libIfcGeom_ifc4x1.a
/home/luis/prg/build/IfcOpenShell/libIfcGeom_ifc4x2.a
/home/luis/prg/build/IfcOpenShell/libIfcGeom_ifc4x3_rc1.a
/home/luis/prg/build/IfcOpenShell/libIfcGeom_ifc4x3_rc2.a
/home/luis/prg/build/IfcOpenShell/libIfcGeom_ifc4x3_rc3.a
/home/luis/prg/build/IfcOpenShell/libIfcGeom_ifc4x3_rc4.a
/home/luis/prg/build/IfcOpenShell/libIfcParse.a
/home/luis/prg/build/ifcplusplus/Release/libIfcPlusPlus.a
/usr/local/lib/libIfcGeom.a
/usr/local/lib/libIfcGeom_ifc2x3.a
/usr/local/lib/libIfcGeom_ifc4.a
/usr/local/lib/libIfcGeom_ifc4x1.a
/usr/local/lib/libIfcGeom_ifc4x2.a
/usr/local/lib/libIfcGeom_ifc4x3_rc1.a
/usr/local/lib/libIfcGeom_ifc4x3_rc2.a
/usr/local/lib/libIfcGeom_ifc4x3_rc3.a
/usr/local/lib/libIfcGeom_ifc4x3_rc4.a
/usr/local/lib/libIfcParse.a
/usr/local/lib/libIfcPlusPlus.a
So, if I'm not wrong, there are no other IfcOpenShell versions installed.
The IFC file is not mine, so I can't share it here; I can send it by mail.
Concerning the IfcOpenShell library, I compile it myself (0.6.0 branch) from the sources in GitHub. If I type "locate libIfc" on my system, I get:
/home/luis/prg/build/IfcOpenShell/libIfcGeom.a
/home/luis/prg/build/IfcOpenShell/libIfcGeom_ifc2x3.a
/home/luis/prg/build/IfcOpenShell/libIfcGeom_ifc4.a
/home/luis/prg/build/IfcOpenShell/libIfcGeom_ifc4x1.a
/home/luis/prg/build/IfcOpenShell/libIfcGeom_ifc4x2.a
/home/luis/prg/build/IfcOpenShell/libIfcGeom_ifc4x3_rc1.a
/home/luis/prg/build/IfcOpenShell/libIfcGeom_ifc4x3_rc2.a
/home/luis/prg/build/IfcOpenShell/libIfcGeom_ifc4x3_rc3.a
/home/luis/prg/build/IfcOpenShell/libIfcGeom_ifc4x3_rc4.a
/home/luis/prg/build/IfcOpenShell/libIfcParse.a
/home/luis/prg/build/ifcplusplus/Release/libIfcPlusPlus.a
/usr/local/lib/libIfcGeom.a
/usr/local/lib/libIfcGeom_ifc2x3.a
/usr/local/lib/libIfcGeom_ifc4.a
/usr/local/lib/libIfcGeom_ifc4x1.a
/usr/local/lib/libIfcGeom_ifc4x2.a
/usr/local/lib/libIfcGeom_ifc4x3_rc1.a
/usr/local/lib/libIfcGeom_ifc4x3_rc2.a
/usr/local/lib/libIfcGeom_ifc4x3_rc3.a
/usr/local/lib/libIfcGeom_ifc4x3_rc4.a
/usr/local/lib/libIfcParse.a
/usr/local/lib/libIfcPlusPlus.a
So, if I'm not wrong, there are no other IfcOpenShell versions installed.
- thomas-neemann
- Veteran
- Posts: 11905
- Joined: Wed Jan 22, 2020 6:03 pm
- Location: Osnabrück DE 🇩🇪
- Contact:
Re: Elements missing when importing IFC model with FreeCAD
as a quick transition solution you could convert it to a stp file.l_pereztato wrote: ↑Fri Dec 17, 2021 2:15 pm ...
When importing an IFC file, some elements are missing....
example:
https://forum.freecadweb.org/viewtopic. ... 67#p559867
download
http://ifcopenshell.org/ifcconvert
-
- Posts: 17
- Joined: Thu Mar 22, 2018 8:28 am
- Contact:
Re: Elements missing when importing IFC model with FreeCAD
Thank you, Thomas. I'll try.