build_common.py reverse optimal=False

This commit is contained in:
jdegenstein 2024-10-10 15:36:52 -05:00 committed by GitHub
parent d7da7e9837
commit 351e0f3e16
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -203,7 +203,7 @@ class Builder(ABC):
@property
def max_dimension(self) -> float:
"""Maximum size of object in all directions"""
return self._obj.bounding_box(optimal=False).diagonal if self._obj else 0.0
return self._obj.bounding_box().diagonal if self._obj else 0.0
@property
def new_edges(self) -> ShapeList[Edge]: