Hi, I have some parts designed in part desing that I need to export to .ifc format
The problem is that when I export them, the geometries are incorrect.
I've attached images so you can check the result. I also attached the file so you can test it and determine how I can export correctly to ifc.
As you can see, the geometries in the resulting images are incorrect, the roundings are missing and the protruding cylinders are square.
Thanks
OS: Debian GNU/Linux 9 (stretch) (GNOME/default)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.20639 (Git) AppImage
Build type: Release
Branch: master
Hash: 45aef7b028a54c5420db49ff3284fc7377475e90
Python version: 3.8.2
Qt version: 5.12.5
Coin version: 4.0.0
OCC version: 7.4.0
Locale: Spanish/Argentina (es_AR)
Incorrect geometries when exporting part to ifc
- dcapeletti
- Posts: 504
- Joined: Wed Jul 23, 2014 2:27 pm
Incorrect geometries when exporting part to ifc
- Attachments
-
- ifc preferences export.png (42.4 KiB) Viewed 2245 times
-
- part desing.png (49.53 KiB) Viewed 2248 times
-
- test.ifc
- (111.34 KiB) Downloaded 80 times
-
- test ifc.png (106.75 KiB) Viewed 2248 times
-
- Part.FCStd
- (50.25 KiB) Downloaded 89 times
Re: Incorrect geometries when exporting part to ifc
Try these settings:
I also use IFCQuery as an independent check of the output but you'll have to compile it for Linux I believe.
EDIT: If the cylinders still appear incorrect then I'm inclined to highlight OCC 7.4 as a possible issue
OS: Windows 7 SP 1 (6.1)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.20634 (Git)
Build type: Release
Branch: master
Hash: ba34cc6a96c15d64224e8f0c8b5da874f1e03a07
Python version: 3.6.8
Qt version: 5.12.1
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/United Kingdom (en_GB)
I also use IFCQuery as an independent check of the output but you'll have to compile it for Linux I believe.
EDIT: If the cylinders still appear incorrect then I'm inclined to highlight OCC 7.4 as a possible issue
OS: Windows 7 SP 1 (6.1)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.20634 (Git)
Build type: Release
Branch: master
Hash: ba34cc6a96c15d64224e8f0c8b5da874f1e03a07
Python version: 3.6.8
Qt version: 5.12.1
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/United Kingdom (en_GB)
- dcapeletti
- Posts: 504
- Joined: Wed Jul 23, 2014 2:27 pm
Re: Incorrect geometries when exporting part to ifc
Indeed, the corners come out rounded and the central emptying also comes out. Now the cylinders still come out square.
On the other hand, I would like to add information to the IFC by checking the option "Export full freecad parametric model", but when loading it, the center emptying does not appear and the rounded corners do not appear either. I'm attaching images.
On the other hand, I would like to add information to the IFC by checking the option "Export full freecad parametric model", but when loading it, the center emptying does not appear and the rounded corners do not appear either. I'm attaching images.
- Attachments
-
- test ifc2.png (27.57 KiB) Viewed 2222 times
-
- test ifc Export a parametric freecad model.png (52.3 KiB) Viewed 2222 times
- dcapeletti
- Posts: 504
- Joined: Wed Jul 23, 2014 2:27 pm
Incorrect geometries when exporting part to ifc
Hi, I just posted a thread on https://forum.freecadweb.org/viewtopic.php?f=3&t=45698 but maybe I should have posted it here. Please some moderator, I could move it. Thanks
Re: Incorrect geometries when exporting part to ifc
export and reimport works great here ...
Re: Incorrect geometries when exporting part to ifc
this is only full parametric in sense of Arch Objects not in sense of Part or Part Design, AFAIK.dcapeletti wrote: ↑Sun Apr 26, 2020 5:28 pm On the other hand, I would like to add information to the IFC by checking the option "Export full freecad parametric model",
Re: Incorrect geometries when exporting part to ifc
in case of the mesh triangles play with these prefs. I changed them and there is totally different ifc ...
Re: Incorrect geometries when exporting part to ifc
this due to the way the shape is exported to ifc. If it can not be exported as Arch extrusion than the shape will be exported as face set. Thus the shape needs to be meshed before, thus the DAE preferences will be used to mesh the shape. Thus different DAE prefs different ifc ...
Re: Incorrect geometries when exporting part to ifc
Hopefully this will improve with IFC4 which is capable of nurbs. FreeCAD should be able to write such nurbs to IFC4 but I have failed on any test to do so.