FEM: femtools/femutils.py typos and whitespace fixes

This commit is contained in:
luz.paz
2018-08-26 14:04:56 +02:00
committed by wmayer
parent f8939d689f
commit 31193039e2

View File

@@ -106,7 +106,7 @@ def isDerivedFrom(obj, t):
def getBoundBoxOfAllDocumentShapes(doc):
overalboundbox = None
for o in doc.Objects:
if hasattr(o, 'Shape') and hasattr(o.Shape, 'BoundBox'): # netgen mesh obj has an attribut Shape which is a Document obj, which has no BB
if hasattr(o, 'Shape') and hasattr(o.Shape, 'BoundBox'): # netgen mesh obj has an attribute Shape which is a Document obj, which has no BB
try:
bb = o.Shape.BoundBox
except: