IFC export workaround and question
- thomas-neemann
- Veteran
- Posts: 11958
- Joined: Wed Jan 22, 2020 6:03 pm
- Location: Osnabrück DE 🇩🇪
- Contact:
IFC export workaround and question
paullee asked me to create this theme.
a problem is described here with a workaround. the question is whether it goes as expected?
https://forum.freecadweb.org/viewtopic. ... 30#p530663
a problem is described here with a workaround. the question is whether it goes as expected?
https://forum.freecadweb.org/viewtopic. ... 30#p530663
- thomas-neemann
- Veteran
- Posts: 11958
- Joined: Wed Jan 22, 2020 6:03 pm
- Location: Osnabrück DE 🇩🇪
- Contact:
Re: IFC export workaround and question
here is a workaround with which you can even continue working in the ifc file, which is often desired, but does not correspond to the bim idea. where it can make sense is in proposals for breakthroughs
https://www.youtube.com/watch?v=7d0dE9vcEVM
OS: Ubuntu 20.04.1 LTS (XFCE/xubuntu)
Word size of FreeCAD: 64-bit
Version: 0.20.28929 (Git) AppImage
Build type: Release
Branch: (HEAD detached at 6f24fd3)
Hash: 6f24fd3053a89a5fb12ab765f9df93ec04deeac1
Python 3.9.12, Qt 5.12.9, Coin 4.0.0, OCC 7.5.3
Locale: German/Germany (de_DE)
https://www.youtube.com/watch?v=7d0dE9vcEVM
OS: Ubuntu 20.04.1 LTS (XFCE/xubuntu)
Word size of FreeCAD: 64-bit
Version: 0.20.28929 (Git) AppImage
Build type: Release
Branch: (HEAD detached at 6f24fd3)
Hash: 6f24fd3053a89a5fb12ab765f9df93ec04deeac1
Python 3.9.12, Qt 5.12.9, Coin 4.0.0, OCC 7.5.3
Locale: German/Germany (de_DE)
Re: IFC export workaround and question
Thanks for testing.
You may try in Preference, to Disable IfcRectangleProfileDef, or use Brep in export.
You may try in Preference, to Disable IfcRectangleProfileDef, or use Brep in export.
- thomas-neemann
- Veteran
- Posts: 11958
- Joined: Wed Jan 22, 2020 6:03 pm
- Location: Osnabrück DE 🇩🇪
- Contact:
Re: IFC export workaround and question
unfortunately neither works for me
Re: IFC export workaround and question
No problems here, at least not the ones which breaks the export ...
Code: Select all
OS: Windows 10 Version 2009
Word size of FreeCAD: 64-bit
Version: 0.21.0.31917 (Git)
Build type: Release
Branch: master
Hash: 4639283b459f9ff9093e289908cc003db8745b82
Python 3.10.9, Qt 5.15.6, Coin 4.0.0, Vtk 9.1.0, OCC 7.6.3
Locale: German/Switzerland (de_CH)
Installed mods:
* 3dfindit
* A2plus
* animation
* BCFPlugin 1.0.0
* BIM
* BIMStatik
* bimtester
* bimtesterdata
* BOLTSFC
* Cubus
* ETHcasDIGITAL_1819
* FEMExamples
* FEMToolBox
* flamingo
* FreeCAD-NativeIFC 2022.10.20
* geoosm
* hfcMystran
* IFCToolBox
* lattice2 1.0.0
* Macros
* MinWB
* MyWB
* MyWorkBench
* Octahedron
* PartFromWeb
* PropertyToolBox
* Raumbuch
* README.md
* Rebar
* rebar2
* Reinforcement
* smartbim
* SwissNPK
* timber
* trails
Re: IFC export workaround and question
Thanks for testing Bernd, seems something on upper roof floor are missing
- thomas-neemann
- Veteran
- Posts: 11958
- Joined: Wed Jan 22, 2020 6:03 pm
- Location: Osnabrück DE 🇩🇪
- Contact:
Re: IFC export workaround and question
Thank you for your work, but I can't do it with your settings either.
Code: Select all
OS: Ubuntu 20.04.1 LTS (XFCE/xubuntu)
Word size of FreeCAD: 64-bit
Version: 0.21.0.31917 (Git) AppImage
Build type: Release
Branch: master
Hash: 4639283b459f9ff9093e289908cc003db8745b82
Python 3.10.9, Qt 5.15.6, Coin 4.0.0, Vtk 9.1.0, OCC 7.6.3
Locale: German/Germany (de_DE)
Installed mods:
* 3D_Printing_Tools
* Curves 0.6.6
Re: IFC export workaround and question
We will find it if you would help. If you use my prefs debug is on. Would you post the output of report console?
We need to find the object which does make the problem. A FreeCAD file with just this object should be our target.
We need to find the object which does make the problem. A FreeCAD file with just this object should be our target.
- thomas-neemann
- Veteran
- Posts: 11958
- Joined: Wed Jan 22, 2020 6:03 pm
- Location: Osnabrück DE 🇩🇪
- Contact:
Re: IFC export workaround and question
here it is. I haven't installed the bim workbench, is it necessary?
Code: Select all
20:45:32 Traceback (most recent call last):
File "<string>", line 8, in <module>
File "/tmp/.mount_31917-DA7Spy/usr/Mod/Arch/exportIFC.py", line 546, in export
product = createProduct(
File "/tmp/.mount_31917-DA7Spy/usr/Mod/Arch/exportIFC.py", line 2399, in createProduct
product = getattr(ifcfile,"create"+ifctype)(**kwargs)
File "/tmp/.mount_31917-DA7Spy/usr/lib/python3.10/site-packages/ifcopenshell/file.py", line 276, in create_entity
e[idx] = arg
File "/tmp/.mount_31917-DA7Spy/usr/lib/python3.10/site-packages/ifcopenshell/entity_instance.py", line 190, in __setitem__
method = self.method_list[idx]
<class 'IndexError'>: list index out of range
Re: IFC export workaround and question
How about the lines before. Do you see on which object it breaks? Are you able to extract only this object into one FreeCAD document export this object only and get the same errormessage.