[ Feature / Bug ] - Mirror Export to IFC as IFCBuildingElementProxy

This forum section is only for IFC-related issues
Post Reply
paullee
Veteran
Posts: 5131
Joined: Wed May 04, 2016 3:58 pm

[ Feature / Bug ] - Mirror Export to IFC as IFCBuildingElementProxy

Post by paullee »

Testing an Mirror of Wall exporting to IFC.

Mirror is exported as IfcBuildingElementProxy, not as Wall.

Screenshot from 2019-11-13 01-04-02.png
Screenshot from 2019-11-13 01-04-02.png (197.67 KiB) Viewed 1169 times
Screenshot from 2019-11-13 01-08-46.png
Screenshot from 2019-11-13 01-08-46.png (47.44 KiB) Viewed 1169 times
Screenshot from 2019-11-13 01-13-52.png
Screenshot from 2019-11-13 01-13-52.png (21.79 KiB) Viewed 1169 times
Attachments
Test_ Mirror of Wall.ifc
(4.02 KiB) Downloaded 50 times
Test_ Mirror of Wall.FCStd
(16.14 KiB) Downloaded 50 times
User avatar
yorik
Founder
Posts: 13665
Joined: Tue Feb 17, 2009 9:16 pm
Location: Brussels
Contact:

Re: [ Feature / Bug ] - Mirror Export to IFC as IFCBuildingElementProxy

Post by yorik »

Indeed, the mirror is a Part object with no IFC capabilities..
The easiest solution would be to encapsulate it into a wall. We could think of detecting these objects in the IFC exporter and give them the same type of their original, but not sure that will always be what users want. Also, mirroring is not properly supported in IFC, so there could be some further misinterpretations coming from there...
User avatar
Moult
Posts: 321
Joined: Sat Jan 05, 2019 11:46 am
Contact:

Re: [ Feature / Bug ] - Mirror Export to IFC as IFCBuildingElementProxy

Post by Moult »

Just a heads-up that mirroring is possible by using a mapped representation, with a non-uniform cartesian transformation scale of -1 along an axis. This has been implemented in Blender with Blender's mirror modifier :)

https://github.com/IfcOpenShell/IfcOpen ... c.py#L1492 shows recording the scale value.

https://github.com/IfcOpenShell/IfcOpen ... fc.py#L237 shows looking at Blender's mirror modifier and overriding a -1 scale to achieve it.
I also blog about 3D rendering, architecture, software and other on thinkMoult.com. RSS / Atom feed available for your convenience.
paullee
Veteran
Posts: 5131
Joined: Wed May 04, 2016 3:58 pm

Re: [ Feature / Bug ] - Mirror Export to IFC as IFCBuildingElementProxy

Post by paullee »

Moult wrote: Thu Dec 19, 2019 9:44 pm Just a heads-up that mirroring is possible by using a mapped representation, with a non-uniform cartesian transformation scale of -1 along an axis. This has been implemented in Blender with Blender's mirror modifier :)

https://github.com/IfcOpenShell/IfcOpen ... c.py#L1492 shows recording the scale value.

https://github.com/IfcOpenShell/IfcOpen ... fc.py#L237 shows looking at Blender's mirror modifier and overriding a -1 scale to achieve it.
Thanks for information. Hope someone can implement in FC :)
Post Reply