Arch: fix invalid print syntax in Python 2
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user