Modelling for IFC export

This forum section is only for IFC-related issues
cadgiru
Posts: 82
Joined: Thu Oct 27, 2016 9:53 am
Location: Norway
Contact:

Modelling for IFC export

Postby cadgiru » Wed Sep 19, 2018 6:01 am

Hi

Have attached an FCstd file of some test objects.
Screenshot_2018-09-19_07-58-42.png
Screenshot_2018-09-19_07-58-42.png (29.7 KiB) Viewed 644 times
Also here a screenshot of ifc file of same, imported to ifcViewer
Screenshot_2018-09-19_07-53-13.png
Screenshot_2018-09-19_07-53-13.png (160.47 KiB) Viewed 644 times
There must clearly be some rules we have to adhere to when wanting to export to ifc?

Help is as always much appreciated

regards

OS: Ubuntu 18.04.1 LTS
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.14727 (Git)
Build type: Release
Branch: master
Hash: c6df59969bfb3ae2027e2b47ddd559852f6e9a4e
Python version: 2.7.15rc1
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/UnitedStates (en_US)
Attachments
At2_RoofTest.fcstd
(20.68 KiB) Downloaded 14 times
paullee
Posts: 2168
Joined: Wed May 04, 2016 3:58 pm

Re: Modelling for IFC export

Postby paullee » Wed Sep 19, 2018 5:58 pm

I have little experience, just trying to use ifc recently...

and have similar result as you do ...

At2_RoofTest.ifc
(6.63 KiB) Downloaded 24 times
Screenshot from 2018-09-20 01-52-26.png
Screenshot from 2018-09-20 01-52-26.png (90.05 KiB) Viewed 623 times

OS: "Fedora release 27 (Twenty Seven)"
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.13541 (Git)
Build type: None
Branch: releases/FreeCAD-0-17
Hash: 9948ee4f1570df9216862a79705afb367b2c6ffb
Python version: 2.7.6
Qt version: 4.8.6
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/HongKong (en_HK)
cadgiru
Posts: 82
Joined: Thu Oct 27, 2016 9:53 am
Location: Norway
Contact:

Re: Modelling for IFC export

Postby cadgiru » Thu Sep 20, 2018 4:45 am

So far, my findings on this are a bit strange.

If geometry is modeled 'in place' , everything seems to be fine.

If Geometry is moved, strange things sometimes happen.

Have tried moving at these levels, and combinations of these:
* Defining geometry (like wire or similar)
* Extrusion or similar
* Arch object

Getting somewhat confused

regards
cadgiru
Posts: 82
Joined: Thu Oct 27, 2016 9:53 am
Location: Norway
Contact:

Re: Modelling for IFC export

Postby cadgiru » Sun Sep 23, 2018 6:18 am

After doing some testing, it seems that extrude symmetric is not working with ifc export.
Selection_017.png
Selection_017.png (126.55 KiB) Viewed 549 times
Changed Extrusions of previous shown elements from Symmetric to 'Normal' extrusion seems to fix the issue

Can anyone confirm this?
paullee
Posts: 2168
Joined: Wed May 04, 2016 3:58 pm

Re: Modelling for IFC export

Postby paullee » Sun Sep 23, 2018 2:25 pm

Hi, can you advise your IfcOpenShell setup e.g. using IfcOpenShell-python for reference?

Thanks.
cadgiru
Posts: 82
Joined: Thu Oct 27, 2016 9:53 am
Location: Norway
Contact:

Re: Modelling for IFC export

Postby cadgiru » Sun Sep 23, 2018 4:30 pm

paullee wrote:
Sun Sep 23, 2018 2:25 pm
Hi, can you advise your IfcOpenShell setup e.g. using IfcOpenShell-python for reference?

Thanks.
How to ?
paullee
Posts: 2168
Joined: Wed May 04, 2016 3:58 pm

Re: Modelling for IFC export

Postby paullee » Sun Sep 23, 2018 5:56 pm

Did you compile downloading the source from IfcOpenShell?
cadgiru
Posts: 82
Joined: Thu Oct 27, 2016 9:53 am
Location: Norway
Contact:

Re: Modelling for IFC export

Postby cadgiru » Sun Sep 23, 2018 6:14 pm

paullee wrote:
Sun Sep 23, 2018 5:56 pm
Did you compile downloading the source from IfcOpenShell?
The one running is downloaded from ifcopenshell, not compiled by myself. I sadly never got that to work.
User avatar
bernd
Posts: 9344
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland

Re: Modelling for IFC export

Postby bernd » Sun Sep 23, 2018 6:45 pm

cadgiru wrote:
Sun Sep 23, 2018 6:14 pm
The one running is downloaded from ifcopenshell, not compiled by myself. I sadly never got that to work.
Compiling ifcopenshell is not difficault. which system are you on?
cadgiru
Posts: 82
Joined: Thu Oct 27, 2016 9:53 am
Location: Norway
Contact:

Re: Modelling for IFC export

Postby cadgiru » Sun Sep 23, 2018 7:06 pm

bernd wrote:
Sun Sep 23, 2018 6:45 pm
cadgiru wrote:
Sun Sep 23, 2018 6:14 pm
The one running is downloaded from ifcopenshell, not compiled by myself. I sadly never got that to work.
Compiling ifcopenshell is not difficault. which system are you on?
OS: Ubuntu 18.04.1 LTS
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.13541 (Git)
Build type: None
Branch: releases/FreeCAD-0-17
Hash: 9948ee4f1570df9216862a79705afb367b2c6ffb
Python version: 2.7.15rc1
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/UnitedStates (en_US)