From 4a493f6e1d3cfd9cc762d2a9b461179997534090 Mon Sep 17 00:00:00 2001 From: AxMeNi <159522803+AxMeNi@users.noreply.github.com> Date: Mon, 16 Jun 2025 09:50:52 +1000 Subject: [PATCH] Modified str method of _bounding_box for clarity --- LoopStructural/datatypes/_bounding_box.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/LoopStructural/datatypes/_bounding_box.py b/LoopStructural/datatypes/_bounding_box.py index a2e1eb25..c4ea65eb 100644 --- a/LoopStructural/datatypes/_bounding_box.py +++ b/LoopStructural/datatypes/_bounding_box.py @@ -547,10 +547,10 @@ def reproject(self, xyz, inplace=False): return xyz + self.global_origin def __repr__(self): - return f"BoundingBox({self.origin}, {self.maximum}, {self.nsteps})" + return f"BoundingBox(origin:{self.origin}, maximum:{self.maximum}, nsteps:{self.nsteps})" def __str__(self): - return f"BoundingBox({self.origin}, {self.maximum}, {self.nsteps})" + return f"BoundingBox(origin:{self.origin}, maximum:{self.maximum}, nsteps:{self.nsteps})" def __eq__(self, other): if not isinstance(other, BoundingBox):