shapes of IfcSite are not read on IFC import

This forum section is only for IFC-related issues
Post Reply
User avatar
bernd
Veteran
Posts: 12849
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

shapes of IfcSite are not read on IFC import

Post by bernd »

Attached a very simple ifc file. The shape is type IfcSite. The shape is not mported if it is IfcSite.

Code: Select all

('Opening ', u'C:/Users/bhb/Desktop/IfcSite.ifc', '...')
done.
done.
('Building relationships table...',)
done.
Processing objects...
(1, '/', 1, ' creating object #', 44, ' : ', 'IfcSite')
(' (arch)',)
(' ', '8', 'k ')
([<Solid object at 000000000D46CF00>], ' ')
Processing Struct relationships...
done
Processing Arch relationships...
Finished importing.
OS: Windows 7
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.9796 (Git)
Build type: Release
Branch: master
Hash: bebda4c6adcad59c4abe82bcbc8703e90c8e1ceb
Python version: 2.7.8
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.0.0
IfcSite.ifc
(7.49 KiB) Downloaded 49 times
screen of TeklaBIMSight
screen.jpg
screen.jpg (244.92 KiB) Viewed 1137 times
User avatar
yorik
Founder
Posts: 13640
Joined: Tue Feb 17, 2009 9:16 pm
Location: Brussels
Contact:

Re: shapes of IfcSite are not read on IFC import

Post by yorik »

Aha good catch... I'll look at it.
User avatar
yorik
Founder
Posts: 13640
Joined: Tue Feb 17, 2009 9:16 pm
Location: Brussels
Contact:

Re: shapes of IfcSite are not read on IFC import

Post by yorik »

The site geometry imports correctly for me? There was just a small error in volume calculation that i fixed in git commit 3a3fa30595.
Is the body object created under the site? The geometry should go in a separate object that is linked to the "Terrain" property of the site.
User avatar
bernd
Veteran
Posts: 12849
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: shapes of IfcSite are not read on IFC import

Post by bernd »

yorik wrote:The site geometry imports correctly for me? There was just a small error in volume calculation that i fixed in git commit 3a3fa30595.
Is the body object created under the site? The geometry should go in a separate object that is linked to the "Terrain" property of the site.
If in preferences parametric arch is used it imports for me too but if any type like non parametric arch or simple shapes is used the shape is not created in the document.
User avatar
yorik
Founder
Posts: 13640
Joined: Tue Feb 17, 2009 9:16 pm
Location: Brussels
Contact:

Re: shapes of IfcSite are not read on IFC import

Post by yorik »

Ok I see now. git commit 2780edd903 should fix it.
Post Reply