From 6de5aa122064f4d751bf4dc6bf781125fc84b2d8 Mon Sep 17 00:00:00 2001 From: Yorik van Havre Date: Thu, 24 Mar 2022 09:40:28 +0100 Subject: [PATCH] Arch: Fixed IFC export of dimension text --- src/Mod/Arch/exportIFC.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Mod/Arch/exportIFC.py b/src/Mod/Arch/exportIFC.py index 445edb0eef..1aff5fe292 100644 --- a/src/Mod/Arch/exportIFC.py +++ b/src/Mod/Arch/exportIFC.py @@ -1374,10 +1374,9 @@ def export(exportList, filename, colors=None, preferences=None): l = FreeCAD.Vector(vp.tbase).multiply(preferences['SCALE_FACTOR']) pos = ifcbin.createIfcCartesianPoint((l.x,l.y,l.z)) tpl = ifcbin.createIfcAxis2Placement3D(pos,None,None) - s = ";".join(vp.string) if six.PY2: s = s.encode("utf8") - txt = ifcfile.createIfcTextLiteral(s,tpl,"LEFT") + txt = ifcfile.createIfcTextLiteral(vp.string,tpl,"LEFT") reps.append(txt) else: print("Unable to handle object",anno.Label)