(still) 0.19 23141 AppImg here.
Trying to export a very simple BIM project to IFC. Maybe (educated guess here) it's the ěščřřžýáí and the like in the object and group names, but the export fails pretty quick and pretty terse - see screenshots.
Exporting to IFC with non-ASCII names broken?
Forum rules
and Helpful information
and Helpful information
IMPORTANT: Please click here and read this first, before asking for help
Also, be nice to others! Read the FreeCAD code of conduct!
Also, be nice to others! Read the FreeCAD code of conduct!
Exporting to IFC with non-ASCII names broken?
- Attachments
-
- freecad_bim_structure.png (100.62 KiB) Viewed 1003 times
-
- export_failed.png (23.67 KiB) Viewed 1003 times
Re: Exporting to IFC with non-ASCII names broken?
I can actually be more precise after peeking in the console:
Code: Select all
Traceback (most recent call last):
File "<string>", line 6, in <module>
File "/tmp/.mount_FreeCAzWi0hZ/usr/Mod/Arch/exportIFC.py", line 1550, in export
ifcfile.write(filename)
File "/tmp/.mount_FreeCAzWi0hZ/usr/lib/python3.8/site-packages/ifcopenshell/ifcopenshell_wrapper.py", line 1458, in write
return _ifcopenshell_wrapper.file_write(self, fn)
<class 'RuntimeError'>: wstring_convert::to_bytes
- thomas-neemann
- Veteran
- Posts: 11801
- Joined: Wed Jan 22, 2020 6:03 pm
- Location: Osnabrück DE 🇩🇪
- Contact:
Re: Exporting to IFC with non-ASCII names broken?
I don't think those characters are allowed by the IFC standard based on this https://github.com/IfcOpenShell/IfcOpen ... ssues/1322