Arch: fixed flipped import of IFC texts

This commit is contained in:
Yorik van Havre
2022-04-05 16:06:00 +02:00
parent ed5ee5655d
commit 48deb6ae3e

View File

@@ -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)