py3: Arch: mostly print-statements
7247937288be85fe217c2d57cdb96c9a666e4e28 00528f4b445fd851df53a79b4be6f1ff480f74d0 b7e3a874dbadbac1c1ecfade4b8676c15fdf25ee
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user