Error report IFC

This forum section is only for IFC-related issues
hlg
Posts: 23
Joined: Fri Jul 12, 2019 10:11 am

Re: Error report IFC

Postby hlg » Wed Dec 11, 2019 3:32 pm

I investigated some more. It seems that 4-byte unicode is not correctly handled by certain applications although perfectly valid according to the standard. Some Unicode encodings are variable length and then you would use the shortest length necessary, i.e. not pad with leading zeros. But ISO10303-21 does not explicitely mention such requirement (only for 1-byte unicode), thus 4-byte throughout should be perfectly valid. I saw that Thomas made a fix to use 2-byte encoding where possible in IfcOpenShell. Should make it into FreeCAD once there is a reasonably stable IfcOpenShell release. The codepoints above 0xFFFF are only for symbols of rare and ancient languages as well as additional graphical symbols. They will rarely occur in real world scenarios, unless someone desperately wants to put 0x1D11E for 𝄞 in their company name or something like that.
User avatar
bernd
Posts: 8978
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland

Re: Error report IFC

Postby bernd » Mon Dec 16, 2019 11:53 am

Just for my understanding. If I would use bleeding edge 0.6 ifcopenshell the problem should be gone?

bernd
User avatar
yorik
Site Admin
Posts: 11643
Joined: Tue Feb 17, 2009 9:16 pm
Location: São Paulo, Brazil
Contact:

Re: Error report IFC

Postby yorik » Tue Dec 17, 2019 8:21 pm

In any case, IfcOpenshell package is totally independent from FreeCAD. It is just bundled together with the windows installer for convenience... for now. I hope in the future IfcOpenShell becomes such an important piece of software that it will be easily available everywhere and we won't need to bundle it anymore ;)

In any case yes, it seems solved with IfcOpenShell 0.6? Everything looks normal to me...
User avatar
sgrogan
Posts: 5577
Joined: Wed Oct 22, 2014 5:02 pm

Re: Error report IFC

Postby sgrogan » Tue Dec 17, 2019 10:39 pm

yorik wrote:
Tue Dec 17, 2019 8:21 pm
In any case, IfcOpenshell package is totally independent from FreeCAD. It is just bundled together with the windows installer for convenience... for now. I hope in the future IfcOpenShell becomes such an important piece of software that it will be easily available everywhere and we won't need to bundle it anymore ;)

In any case yes, it seems solved with IfcOpenShell 0.6? Everything looks normal to me...
Well said. I will work on an upgrade for the Win 0.19 bundle :)