From 48deb6ae3e786ced0381f3cdc847aa4633131b9e Mon Sep 17 00:00:00 2001 From: Yorik van Havre Date: Tue, 5 Apr 2022 16:06:00 +0200 Subject: [PATCH] Arch: fixed flipped import of IFC texts --- src/Mod/Arch/importIFCHelper.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Mod/Arch/importIFCHelper.py b/src/Mod/Arch/importIFCHelper.py index 913b4beabf..11a4ae2180 100644 --- a/src/Mod/Arch/importIFCHelper.py +++ b/src/Mod/Arch/importIFCHelper.py @@ -861,6 +861,9 @@ def get2DShape(representation,scaling=1000): pl = getPlacement(item.Placement, scaling) if pl: t = Draft.make_text(item.Literal.split(";"), pl.Base) + if FreeCAD.GuiUp: + if item.Path == "RIGHT": + t.ViewObject.Justification = "Right" return [] # TODO dirty hack... Object creation should not be done here elif representation.is_a() in ["IfcPolyline","IfcCircle","IfcTrimmedCurve","IfcRectangleProfileDef"]: result = getCurveSet(representation)