just use the latest 0.19 dev version
problems with IFC import
Re: problems with IFC import
We are now using the right trigonometric functions, such that all combinations of positive/negative are handled: https://github.com/FreeCAD/FreeCAD/pull/2878. No complicated distinction of cases necessary. The only corner case is invalid IFC with direction ratios 0,0 for true north, where the direction is acutally indeterminate, but even that would not make the application crash.hlg wrote: ↑Tue Jan 07, 2020 7:03 pm I think the fix could be improved: https://github.com/FreeCAD/FreeCAD/comm ... t-36696448. Shall I make a pull request?
Re: problems with IFC import
So, i have used the last revision of freecad 0.19 (not conda)
OS: Windows 10 (10.0)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.19263 (Git)
Build type: Release
Branch: master
Hash: c4ca00a1d5b7922ef1d2ae3e820bb34ffdb64d9f
Python version: 3.6.8
Qt version: 5.12.1
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: Italian/Italy (it_IT)
The file IFC now is opened, but there are problems. The columns are not in the right place
OS: Windows 10 (10.0)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.19263 (Git)
Build type: Release
Branch: master
Hash: c4ca00a1d5b7922ef1d2ae3e820bb34ffdb64d9f
Python version: 3.6.8
Qt version: 5.12.1
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: Italian/Italy (it_IT)
The file IFC now is opened, but there are problems. The columns are not in the right place
- Attachments
-
- import ifc 0.19 new.JPG (274.42 KiB) Viewed 1906 times
Re: problems with IFC import
and I have tested opening the ifc file (with reinforcing rods) in other programs (intellicad and pcon planner) and it opens well and quickly (especially in the second case)
- Attachments
-
- import ifc pcon planner.JPG (304.98 KiB) Viewed 1896 times
-
- import ifc intellicad.JPG (567.74 KiB) Viewed 1896 times
Re: problems with IFC import
I tested opening the ifc file with reinforcing rods with Freecad 0.19 and it opens incorrectly and slowly
OS: Windows 10 (10.0)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.19263 (Git)
Build type: Release
Branch: master
Hash: c4ca00a1d5b7922ef1d2ae3e820bb34ffdb64d9f
Python version: 3.6.8
Qt version: 5.12.1
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: Italian/Italy (it_IT)
OS: Windows 10 (10.0)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.19263 (Git)
Build type: Release
Branch: master
Hash: c4ca00a1d5b7922ef1d2ae3e820bb34ffdb64d9f
Python version: 3.6.8
Qt version: 5.12.1
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: Italian/Italy (it_IT)
- Attachments
-
- import ifc 0.19 new steel.JPG (367.53 KiB) Viewed 1894 times
Re: problems with IFC import
IFC importer in FreeCAD is slow this is a known restriction and could be improved but no one has ever really started it. One main reason is the huge ammount of objects in an ifc. FreeCAD is not optimized to handle thousands of objects in his tree. Neverless it can do it but it is slow. Furthermore the importer is pure python and uses tmp files for parsing geometry. Parsing the geometry in C++ dirctly as occt class would be blind fast.
Re: problems with IFC import
as in any case post a simple file with the problem and someone might have a look at it and makes a fix.
Re: problems with IFC import
works here on
OS: Debian GNU/Linux 10 (buster) (KDE//usr/share/xsessions/plasma)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.19253 (Git)
Build type: Unknown
Branch: master
Hash: 74847380445a1cc59caf47fa3f7834f157fb80d6
Python version: 3.7.3
Qt version: 5.11.3
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: German/Switzerland (de_CH)
Re: problems with IFC import
For the reinforcement model try to use non-parametric arch objects and deactivate the extrusions setting. Both in ifc import prefs.