Arch: fixed flipped import of IFC texts
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user