py3: Arch: mostly print-statements

7247937288be85fe217c2d57cdb96c9a666e4e28
00528f4b445fd851df53a79b4be6f1ff480f74d0
b7e3a874dbadbac1c1ecfade4b8676c15fdf25ee
This commit is contained in:
looooo
2017-03-02 09:24:29 +01:00
committed by wmayer
parent e81da82f79
commit 1e173b68a4
9 changed files with 26 additions and 24 deletions

View File

@@ -351,7 +351,7 @@ class Component:
if obj.BaseMaterial:
if Draft.getType(obj.BaseMaterial) != "Material":
obj.BaseMaterial = None
print "Removing bad BaseMaterial link in ",obj.Name
print("Removing bad BaseMaterial link in ",obj.Name)
def clone(self,obj):
"if this object is a clone, sets the shape. Returns True if this is the case"
@@ -616,7 +616,7 @@ class Component:
try:
ang = f.normalAt(0,0).getAngle(FreeCAD.Vector(0,0,1))
except Part.OCCError:
print "Debug: Error computing areas for ",obj.Label,": normalAt() Face ",i
print("Debug: Error computing areas for ",obj.Label,": normalAt() Face ",i)
return
else:
if (ang > 1.57) and (ang < 1.571):