Skip to content

Commit

Permalink
Bug FIx: Remove debug message and using Python Logging Facility
Browse files Browse the repository at this point in the history
  • Loading branch information
drlukeparry committed Apr 19, 2021
1 parent ed5668b commit fe9c31d
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions pyslm/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -297,9 +297,11 @@ def setGeometry(self, filename: str) -> None:
"""
self._geometry = trimesh.load_mesh(filename, use_embree=False, process=True, Validate_faces=False)

print('Geometry information <{:s}> - [{:s}]'.format(self.name, filename))
print('\t bounds', self._geometry.bounds)
print('\t extent', self._geometry.extents)
if fixGeometry:

logging.info('Geometry information <{:s}> - [{:s}]'.format(self.name, filename))
logging.info('\t Bounds: [{:.3f},{:.3f},{:.3f}], [{:.3f},{:.3f},{:.3f}]'.format(*self._geometry.bounds.ravel()))
logging.info('\t Extent: [{:.3f},{:.3f},{:.3f}]'.format(*self._geometry.extents))

self._dirty = True

Expand Down

0 comments on commit fe9c31d

Please sign in to comment.