IFC exporting issues

This forum section is only for IFC-related issues
paullee
Veteran
Posts: 5097
Joined: Wed May 04, 2016 3:58 pm

Re: IFC exporting issues

Post by paullee »

Hi, have some test and would share some findings / problem:-

Ifc Export / Viewer Setup
  1. OS - Fedora 27 64bit
  2. Appimage - FreeCAD_0.17_13541.9948ee4.glibc2.17-x86_64
  3. IfcOpenShell Python - http://ifcopenshell.org/python.html ('currently' sourceforge not accessible)
  4. IfcOpenShell Python - not compiled from latest source, just use 'pre-compiled' from above link (same 1 or 2 years not updated)
  5. Ifc Viewer - Ifc++, compiled from Bernd's repo
  6. fcstd model - house.fcstd from Yorik's manual
Ifc Import Setup
  1. Appimage - FreeCAD_0.17_13541.9948ee4.glibc2.17-x86_64
  2. Appimage - FreeCAD_0.18.14715.glibc2.17-x86_64
Findings
  1. Ifc++ open the export *.ifc fine
  2. Import back the *.ifc files into 0.17 or 0.18_pre both return [EDIT] strange characters in tree view [EDIT] and hang FC
  3. Cannot copy the error message as FC keep looping something infinitely then crash / Also block keyboard to other softwares at the same time
  4. Tested on a Win7 / FC on Win7, importing back run complete but there is a few 'triangle' face of the wall next to the window missing (normal inverted?)
  5. Screencapture for test in Win7 not available, maybe supplement later

Screenshot from 2018-09-19 06-42-43.png
Screenshot from 2018-09-19 06-42-43.png (196.52 KiB) Viewed 1698 times
Screenshot from 2018-09-19 06-45-37.png
Screenshot from 2018-09-19 06-45-37.png (125.16 KiB) Viewed 1698 times
Screenshot from 2018-09-19 07-00-15.png
Screenshot from 2018-09-19 07-00-15.png (166.38 KiB) Viewed 1698 times
Attachments
house._ Paul Test_ 2018-09-18_ 0.17_13541 _2.ifc
(58.32 KiB) Downloaded 53 times
house._ Paul Test_ 2018-09-18_ 0.17_13522_ win.ifc
(59.79 KiB) Downloaded 57 times
Last edited by paullee on Sat Sep 22, 2018 12:26 am, edited 1 time in total.
User avatar
joancabeza
Posts: 49
Joined: Tue Apr 03, 2018 5:51 pm
Contact:

Re: IFC exporting issues

Post by joancabeza »

Hi,

Since last test I've done something less complex. I've asigned an Standard Code in order to get a Classification system. But it seems the class is not exported to IFC:
Captura de pantalla 2018-09-19 12.31.04.png
Captura de pantalla 2018-09-19 12.31.04.png (295.75 KiB) Viewed 1688 times
Captura de pantalla 2018-09-19 12.29.31.png
Captura de pantalla 2018-09-19 12.29.31.png (79.18 KiB) Viewed 1688 times
pillar_class.FCStd
(12.34 KiB) Downloaded 47 times
pillar_class.ifc
(2.65 KiB) Downloaded 51 times
OS: Windows 7
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.14766 (Git)
Build type: Release
Branch: master
Hash: 17d36cecc992cfa9c9a4a831f23a6e4dcd6cc41e
Python version: 2.7.14
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.2.0
Locale: Catalan/Spain (ca_ES)
paullee
Veteran
Posts: 5097
Joined: Wed May 04, 2016 3:58 pm

Re: IFC exporting issues

Post by paullee »

EDIT: Separated / categorize this into individual post in IFC sub-Forum https://forum.freecadweb.org/viewtopic.php?f=39&t=31235

Further Test to export ArchWall

ArchWall based on Sketch with following Shape has problem:-
  1. A closed wire with multiple edges
  2. A random edge attach in above edge
  3. Resulted IFC shape is only a tiny bit as shown
  4. Without the 'random edge', the IFC seem fine - see next post
Test_ ArchWall_ To_ IFC_ 3c_ Pure Sketch.fcstd
(11.42 KiB) Downloaded 49 times
Screenshot from 2018-09-20 01-12-28.png
Screenshot from 2018-09-20 01-12-28.png (220.41 KiB) Viewed 1676 times
Screenshot from 2018-09-20 01-13-32.png
Screenshot from 2018-09-20 01-13-32.png (58.11 KiB) Viewed 1676 times
OS: "Fedora release 27 (Twenty Seven)"
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.13541 (Git)
Build type: None
Branch: releases/FreeCAD-0-17
Hash: 9948ee4f1570df9216862a79705afb367b2c6ffb
Python version: 2.7.6
Qt version: 4.8.6
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/HongKong (en_HK)
Attachments
Test_ Arch Wall _3b_ Pure Sketch_ Linux_ IfcOpenShell_ Python_ 0.17.ifc
(3.33 KiB) Downloaded 47 times
Last edited by paullee on Sat Sep 29, 2018 12:47 am, edited 1 time in total.
paullee
Veteran
Posts: 5097
Joined: Wed May 04, 2016 3:58 pm

Re: IFC exporting issues

Post by paullee »

EDIT: Separated this into individual thread in IFC sub-forum https://forum.freecadweb.org/viewtopic. ... 67#p259267

con't

ArchWall based on Sketch with following Shape is OK:-
.
Screenshot from 2018-09-20 01-37-54.png
Screenshot from 2018-09-20 01-37-54.png (156.33 KiB) Viewed 1676 times
Screenshot from 2018-09-20 01-38-29.png
Screenshot from 2018-09-20 01-38-29.png (122.03 KiB) Viewed 1676 times
Test_ ArchWall_ To_ IFC_ 3b_ Pure Sketch.fcstd
(8.1 KiB) Downloaded 55 times
Last edited by paullee on Sat Sep 29, 2018 12:48 am, edited 1 time in total.
cadgiru
Posts: 91
Joined: Thu Oct 27, 2016 9:53 am
Location: Norway
Contact:

Re: IFC exporting issues

Post by cadgiru »

Maybe it is time for a IFC subforum...
User avatar
bernd
Veteran
Posts: 12849
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: IFC exporting issues

Post by bernd »

cadgiru wrote: Thu Sep 20, 2018 4:54 am
Maybe it is time for a IFC subforum...
@Yorik how about this? Just like we have the cfd in FEM. IMHO it would be a good idea to have a subforum for IFC.


yorik wrote:ping
User avatar
sgrogan
Veteran
Posts: 6499
Joined: Wed Oct 22, 2014 5:02 pm

Re: IFC exporting issues

Post by sgrogan »

bernd wrote: Thu Sep 20, 2018 7:41 pm @Yorik how about this? Just like we have the cfd in FEM. IMHO it would be a good idea to have a subforum for IFC.
+1

And an additional tidbit https://forum.freecadweb.org/viewtopic. ... 46#p257402
"fight the good fight"
paullee
Veteran
Posts: 5097
Joined: Wed May 04, 2016 3:58 pm

Re: IFC exporting issues

Post by paullee »

+1 :)
paullee
Veteran
Posts: 5097
Joined: Wed May 04, 2016 3:58 pm

Re: IFC exporting issues

Post by paullee »

Hi, it seem both IFC Import + Export functions are provided in importIFC.py right?

It is huge!
User avatar
bernd
Veteran
Posts: 12849
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: IFC exporting issues

Post by bernd »

paullee wrote: Thu Sep 20, 2018 11:14 pm Hi, it seem both IFC Import + Export functions are provided in importIFC.py right?

It is huge!
yes and it is not only huge it is a beast! Huge defs difficult to follow ... But yeah it is our important piece of code to connect to all the others.
Post Reply