shapes of IfcSite are not read on IFC import

A forum dedicated to the Arch module development
User avatar
bernd
Posts: 3924
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland

shapes of IfcSite are not read on IFC import

Postby bernd » Mon Jan 30, 2017 10:44 am

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 8 times


screen of TeklaBIMSight
screen.jpg
screen.jpg (244.92 KiB) Viewed 178 times
User avatar
yorik
Site Admin
Posts: 8672
Joined: Tue Feb 17, 2009 9:16 pm
Location: São Paulo, Brazil
Contact:

Re: shapes of IfcSite are not read on IFC import

Postby yorik » Mon Jan 30, 2017 12:09 pm

Aha good catch... I'll look at it.
User avatar
yorik
Site Admin
Posts: 8672
Joined: Tue Feb 17, 2009 9:16 pm
Location: São Paulo, Brazil
Contact:

Re: shapes of IfcSite are not read on IFC import

Postby yorik » Mon Jan 30, 2017 3:15 pm

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
Posts: 3924
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland

Re: shapes of IfcSite are not read on IFC import

Postby bernd » Mon Jan 30, 2017 3:24 pm

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
Site Admin
Posts: 8672
Joined: Tue Feb 17, 2009 9:16 pm
Location: São Paulo, Brazil
Contact:

Re: shapes of IfcSite are not read on IFC import

Postby yorik » Tue Jan 31, 2017 8:58 pm

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