This forum section is only for IFC-related issues
Roy_043
Veteran
Posts: 8578 Joined: Thu Dec 27, 2018 12:28 pm
Post
by Roy_043 » Tue Aug 25, 2020 8:56 am
Importing the attached IFC (created from the file in
this topic ) causes FreeCAD to hang with a 'list index out of range' error.
Similar topic:
https://forum.freecadweb.org/viewtopic.php?t=16844
Code: Select all
OS: Windows 8.1 (6.3)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.22262 (Git)
Build type: Release
Branch: master
Hash: f56825c79f11b75648a7a0dcc8a9f52bb4574e61
Python version: 3.6.8
Qt version: 5.12.1
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: Dutch/Netherlands (nl_NL)
Attachments
DhFundament.ifc
(13.16 KiB) Downloaded 70 times
vocx
Veteran
Posts: 5197 Joined: Thu Oct 18, 2018 9:18 pm
Post
by vocx » Tue Aug 25, 2020 4:18 pm
Roy_043 wrote: ↑ Tue Aug 25, 2020 8:56 am
Importing the attached IFC (created from the file in
this topic ) causes FreeCAD to hang with a 'list index out of range' error.
It imports fine in my system.
Code: Select all
OS: Ubuntu 18.04.5 LTS (ubuntu:GNOME/ubuntu)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.22291 (Git)
Build type: Release
Branch: master
Hash: 30bc9fc6be5dd97bb1456d1c0c25c17fb3ffc551
Python version: 3.6.9
Qt version: 5.9.5
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/UnitedStates (en_US)
Code: Select all
>>> import ifcopenshell
>>> ifcopenshell.version
'0.6.0b0'
However, if you use
IfcPlusPlus , the two groups of beams are imported in the same place.
Imported_FreeCAD.png (58.1 KiB) Viewed 1378 times
Imported_IfcPlusPlus.png (24.96 KiB) Viewed 1378 times
Roy_043
Veteran
Posts: 8578 Joined: Thu Dec 27, 2018 12:28 pm
Post
by Roy_043 » Tue Aug 25, 2020 4:53 pm
vocx wrote: ↑ Tue Aug 25, 2020 4:18 pm
It imports fine in my system.
I still have the problem after upgrading. Only if I uncheck 'Detect extrusions' (see topic title) can I import the file.
Code: Select all
OS: Windows 8.1 (6.3)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.22284 (Git)
Build type: Release
Branch: master
Hash: bf1e8e48389f5e9e25bd77b67fe98da4213e797c
Python version: 3.6.8
Qt version: 5.12.1
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: Dutch/Netherlands (nl_NL)
Roy_043
Veteran
Posts: 8578 Joined: Thu Dec 27, 2018 12:28 pm
Post
by Roy_043 » Tue Aug 25, 2020 5:01 pm
That is correct. But with that file FreeCAD does not hang.
vocx
Veteran
Posts: 5197 Joined: Thu Oct 18, 2018 9:18 pm
Post
by vocx » Tue Aug 25, 2020 5:36 pm
Roy_043 wrote: ↑ Tue Aug 25, 2020 4:53 pm
I still have the problem after upgrading. Only if I uncheck 'Detect extrusions' (see topic title) can I import the file.
Unchecked "Detect extrusions".
Import_unchecked.png (32.26 KiB) Viewed 1358 times
Import_unchecked_solid.png (37.25 KiB) Viewed 1358 times
Checked "Detect extrusions". The direction of the extrusion is different. I assume this could be improved.
Import_checked_extrusion.png (27.8 KiB) Viewed 1358 times
Import_checked_extrusion_solid.png (41.84 KiB) Viewed 1358 times