(WORKAROUND) incomplete ifc export. operating error?

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

(WORKAROUND) incomplete ifc export. operating error?

Post by thomas-neemann »

this file was created by multiple nested part compounds. when i export it as ifc it is incomplete. what can be the cause?
Bildschirmfoto_2023-03-27_19-47-42.png
Bildschirmfoto_2023-03-27_19-47-42.png (21.57 KiB) Viewed 6666 times
Bildschirmfoto_2023-03-27_19-52-14.png
Bildschirmfoto_2023-03-27_19-52-14.png (40.66 KiB) Viewed 6666 times
test-1945.FCStd
(179.55 KiB) Downloaded 65 times

Code: Select all

OS: Ubuntu 20.04.1 LTS (XFCE/xubuntu)
Word size of FreeCAD: 64-bit
Version: 0.20.2.29603 (Git) AppImage
Build type: Release
Branch: (HEAD detached at 0.20.2)
Hash: 930dd9a76203a3260b1e6256c70c1c3cad8c5cb8
Python 3.10.8, Qt 5.15.4, Coin 4.0.0, Vtk 9.1.0, OCC 7.6.3
Locale: German/Germany (de_DE)
Installed mods: 
  * Curves 0.6.8
Bildschirmfoto_2023-03-27_19-55-12.png
Bildschirmfoto_2023-03-27_19-55-12.png (101.64 KiB) Viewed 6666 times
Last edited by thomas-neemann on Tue Mar 28, 2023 10:06 am, edited 3 times in total.
Gruß Dipl.-Ing. (FH) Thomas Neemann

https://www.youtube.com/@thomasneemann5 ... ry=freecad
User avatar
Roy_043
Veteran
Posts: 8450
Joined: Thu Dec 27, 2018 12:28 pm

Re: incomplete ifc export. operating error?

Post by Roy_043 »

The compound contains 27 solids and 835 unconnected faces (some of these elements are nested in sub-compounds). Only the solids end up in the IFC. If you Draft_Downgrade the compound you end up with the same 27 solids.
User avatar
bernd
Veteran
Posts: 12849
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: incomplete ifc export. operating error?

Post by bernd »

exactly.

Attached a simple file which shows the problem ... The Shells would have been exported if you would not use one huge compound object out of Shapes but a compound from document objects.


compound_solid_shell.ifc
(7.82 KiB) Downloaded 58 times

compound_solid_shell.FCStd
(14.45 KiB) Downloaded 66 times
User avatar
thomas-neemann
Veteran
Posts: 11801
Joined: Wed Jan 22, 2020 6:03 pm
Location: Osnabrück DE 🇩🇪
Contact:

Re: incomplete ifc export. operating error?

Post by thomas-neemann »

bernd wrote: Tue Mar 28, 2023 1:51 am ...
Roy_043 wrote: Mon Mar 27, 2023 8:27 pm ...


thank you for the hints. Always paying attention to solids is too tedious and too slow for me. here is a workaround, but the ifc result is a wireframe.
1st step export as dxf
2nd step import dxf and export as ifc
Bildschirmfoto_2023-03-28_07-51-25.png
Bildschirmfoto_2023-03-28_07-51-25.png (61.19 KiB) Viewed 6548 times
Bildschirmfoto_2023-03-28_07-45-38.png
Bildschirmfoto_2023-03-28_07-45-38.png (32.15 KiB) Viewed 6548 times
Gruß Dipl.-Ing. (FH) Thomas Neemann

https://www.youtube.com/@thomasneemann5 ... ry=freecad
User avatar
Roy_043
Veteran
Posts: 8450
Joined: Thu Dec 27, 2018 12:28 pm

Re: (WORKAROUND) incomplete ifc export. operating error?

Post by Roy_043 »

thomas-neemann wrote: Tue Mar 28, 2023 5:55 am Always paying attention to solids is too tedious and too slow for me. here is a workaround
Your workaround is ill-advised. With a wireframe representation you cannot even distinguish an opening from a closed panel!
User avatar
thomas-neemann
Veteran
Posts: 11801
Joined: Wed Jan 22, 2020 6:03 pm
Location: Osnabrück DE 🇩🇪
Contact:

Re: (WORKAROUND) incomplete ifc export. operating error?

Post by thomas-neemann »

Roy_043 wrote: Tue Mar 28, 2023 7:14 am ...With a wireframe representation you cannot even distinguish an opening from a closed panel!
that's no problem. archicad can e.g. also import stl. the ifc file is suitable for referencing. so everything is recognizable.

Bildschirmfoto_2023-03-28_09-27-47.png
Bildschirmfoto_2023-03-28_09-27-47.png (34.61 KiB) Viewed 6497 times
Gruß Dipl.-Ing. (FH) Thomas Neemann

https://www.youtube.com/@thomasneemann5 ... ry=freecad
User avatar
Roy_043
Veteran
Posts: 8450
Joined: Thu Dec 27, 2018 12:28 pm

Re: (WORKAROUND) incomplete ifc export. operating error?

Post by Roy_043 »

In a more complex model using wireframe is simply not an option.
User avatar
thomas-neemann
Veteran
Posts: 11801
Joined: Wed Jan 22, 2020 6:03 pm
Location: Osnabrück DE 🇩🇪
Contact:

Re: (WORKAROUND) incomplete ifc export. operating error?

Post by thomas-neemann »

Roy_043 wrote: Tue Mar 28, 2023 7:47 am In a more complex model using wireframe is simply not an option.

is there another workaround?
Gruß Dipl.-Ing. (FH) Thomas Neemann

https://www.youtube.com/@thomasneemann5 ... ry=freecad
User avatar
Roy_043
Veteran
Posts: 8450
Joined: Thu Dec 27, 2018 12:28 pm

Re: (WORKAROUND) incomplete ifc export. operating error?

Post by Roy_043 »

Instead of relying on a workaround, pay attention to solids.
User avatar
thomas-neemann
Veteran
Posts: 11801
Joined: Wed Jan 22, 2020 6:03 pm
Location: Osnabrück DE 🇩🇪
Contact:

Re: (WORKAROUND) incomplete ifc export. operating error?

Post by thomas-neemann »

Roy_043 wrote: Tue Mar 28, 2023 7:53 am ...
here is a workaround where everything is visible.
convert the mesh with create shape from mesh (in part workbench). export the result as an ifc
Bildschirmfoto_2023-03-28_09-51-33.png
Bildschirmfoto_2023-03-28_09-51-33.png (56.5 KiB) Viewed 6454 times
Gruß Dipl.-Ing. (FH) Thomas Neemann

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