diff --git a/src/build123d/topology.py b/src/build123d/topology.py index 74428053..10be3bed 100644 --- a/src/build123d/topology.py +++ b/src/build123d/topology.py @@ -1076,7 +1076,7 @@ def __max_fillet(window_min: float, window_max: float, current_iteration: int): else: fillet_exception = StdFail_NotDone - max_radius = __max_fillet(0.0, 2 * self.bounding_box(optimal=False).diagonal, 0) + max_radius = __max_fillet(0.0, 2 * self.bounding_box().diagonal, 0) return max_radius @@ -6364,7 +6364,7 @@ def project_to_shape( Returns: ShapeList[Face]: Face(s) projected on target object ordered by distance """ - max_dimension = Compound([self, target_object]).bounding_box(optimal=False).diagonal + max_dimension = Compound([self, target_object]).bounding_box().diagonal if taper == 0: face_extruded = Solid.extrude(self, Vector(direction) * max_dimension) else: @@ -7325,7 +7325,7 @@ def extrude_until( direction *= -1 until = Until.NEXT if until == Until.PREVIOUS else Until.LAST - max_dimension = Compound([section, target_object]).bounding_box(optimal=False).diagonal + max_dimension = Compound([section, target_object]).bounding_box().diagonal clipping_direction = ( direction * max_dimension if until == Until.NEXT