Arch: fix invalid print syntax in Python 2

This commit is contained in:
vocx-fc
2020-07-04 12:38:49 -05:00
committed by wwmayer
parent 8082def6b5
commit 6982b52d00

View File

@@ -27,6 +27,7 @@ import FreeCAD
import Arch
import ArchIFC
from draftutils.messages import _wrn
# ************************************************************************************************
# ********** some helper, used in import and export, or should stay together
@@ -568,7 +569,7 @@ def getPlacement(entity,scaling=1000):
if loc:
pl.move(loc)
elif entity.is_a("IfcAxis2Placement2D"):
print("not implemented IfcAxis2Placement2D, ")
_wrn("not implemented IfcAxis2Placement2D, ", end="")
elif entity.is_a("IfcLocalPlacement"):
pl = getPlacement(entity.PlacementRelTo,1) # original placement
relpl = getPlacement(entity.RelativePlacement,1) # relative transf