[ Solved ][ Ticket #4141: Multi-solid walls are not correctly exported to IFC ] Brep IFC export should be ON by default?

This forum section is only for IFC-related issues
User avatar
Roy_043
Veteran
Posts: 8450
Joined: Thu Dec 27, 2018 12:28 pm

[ Solved ][ Ticket #4141: Multi-solid walls are not correctly exported to IFC ] Brep IFC export should be ON by default?

Post by Roy_043 »

I wonder if the 'Force export as Brep' option shouldn't be ON by default. If this option is OFF even simple models are not completely exported: in the example only one of the two walls that are based on the sketch is exported. I have imported the IFCs in FreeCAD to verify this.

Code: Select all

OS: Windows 8.1 (6.3)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.18234 (Git)
Build type: Release
Branch: master
Hash: 3af5d97e9b2a60823815f662aba25422c4bc45bb
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
BrepTest_Brep_ON.ifc
(4.07 KiB) Downloaded 124 times
BrepTest_Brep_OFF.ifc
(2.55 KiB) Downloaded 135 times
BrepTest.FCStd
(21.38 KiB) Downloaded 126 times
Last edited by Roy_043 on Mon Dec 09, 2019 10:09 am, edited 2 times in total.
User avatar
Roy_043
Veteran
Posts: 8450
Joined: Thu Dec 27, 2018 12:28 pm

Re: Brep IFC export should be ON by default?

Post by Roy_043 »

Just to be sure: Here are the other IFC import/export options. Everything still matches the default I believe.
Attachments
IFC_Options.png
IFC_Options.png (90.63 KiB) Viewed 7174 times
paullee
Veteran
Posts: 5097
Joined: Wed May 04, 2016 3:58 pm

Re: Brep IFC export should be ON by default?

Post by paullee »

Roy_043 wrote: Wed Sep 18, 2019 8:31 am I wonder if the 'Force export as Brep' option shouldn't be ON by default. If this option is OFF even simple models are not completely exported: in the example only one of the two walls that are based on the sketch is exported. I have imported the IFCs in FreeCAD to verify this.
On mobile so can;t test the file -

Same problem ?

https://forum.freecadweb.org/viewtopi ... &t=31235
User avatar
Roy_043
Veteran
Posts: 8450
Joined: Thu Dec 27, 2018 12:28 pm

Re: Brep IFC export should be ON by default?

Post by Roy_043 »

Yes exactly the same problem. Exporting with Brep 'ON' fixes your first example as well. Although the overlapping wall solids remain.
paullee
Veteran
Posts: 5097
Joined: Wed May 04, 2016 3:58 pm

Re: Brep IFC export should be ON by default?

Post by paullee »

Yes, Export as Brep helps. Though I am not sure if it is better be described as kind of extrusion as originally in Wall itself in ifc for better compatibility?
User avatar
Roy_043
Veteran
Posts: 8450
Joined: Thu Dec 27, 2018 12:28 pm

Re: Brep IFC export should be ON by default?

Post by Roy_043 »

@paullee: I am sorry, but I do not understand your last message.
paullee
Veteran
Posts: 5097
Joined: Wed May 04, 2016 3:58 pm

Re: Brep IFC export should be ON by default?

Post by paullee »

I barely understand very very minimal things about ifc.

I remember it usually describe the base shape of an object, like a rectangle of a Wall. Then it describe the extrusion (something like extrusion height, direction etc.) of the Wall - very much like FC does ?

So with Brep export, whilst this would do much better for a complex shape that simple extrusion can't describe, I just wonder if there is any cons, like flexibility in / ease of further editing in ifc, compatibility with other soft.
User avatar
bernd
Veteran
Posts: 12849
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: Brep IFC export should be ON by default?

Post by bernd »

if a solid is exported as brep it is just a bunch of faces. this is not smart because noone knows the thickness and the height of the wall later on. If it is exported as extrusion it is a line or polyline with a thickness and an extrusion length in z-direction.

If a wall is not exported as extrusion this is a bug somewhere and should be fixed. We should not change the default export shape type to brep IMHO.

bernd
User avatar
Roy_043
Veteran
Posts: 8450
Joined: Thu Dec 27, 2018 12:28 pm

Re: Brep IFC export should be ON by default?

Post by Roy_043 »

@bernd and @paullee:
Thank you both for clarifying.
User avatar
Roy_043
Veteran
Posts: 8450
Joined: Thu Dec 27, 2018 12:28 pm

Re: Brep IFC export should be ON by default?

Post by Roy_043 »

IMO it is wise to add this to the Bug Tracker. Which category should I use: Arch or File Formats?
Post Reply