I would like to design simple equipment models to create a IFC library (furniture, electric machinery, etc.).
I can't figure out how to correctly export it to IFC, even a simple WB Part cube... I always get:
Code: Select all
wstring_convert: to_bytes error
Code: Select all
10:41:35 Traceback (most recent call last):
File "<string>", line 7, in <module>
File "/Applications/FreeCAD-asm3-Daily-20210615.app/Contents/Resources/Mod/Arch/exportIFC.py", line 1550, in export
ifcfile.write(filename)
File "/Applications/FreeCAD-asm3-Daily-20210615.app/Contents/Resources/lib/python3.9/site-packages/ifcopenshell/ifcopenshell_wrapper.py", line 1595, in write
return _ifcopenshell_wrapper.file_write(self, fn)
<class 'RuntimeError'>: wstring_convert: to_bytes error
Is there any tutorial about how to create this simple components and successfully export them as IFC?
This is my cube test: Thanks