From a0e80b0fb7be4e4c853ec4bcdedc1f503f9193aa Mon Sep 17 00:00:00 2001 From: Bernhard Date: Mon, 27 Apr 2026 17:39:57 +0200 Subject: [PATCH] black formatting --- src/build123d/topology/shape_core.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/build123d/topology/shape_core.py b/src/build123d/topology/shape_core.py index 65b7f7e4..9a656446 100644 --- a/src/build123d/topology/shape_core.py +++ b/src/build123d/topology/shape_core.py @@ -1074,8 +1074,8 @@ class Shape(NodeMixin, Generic[TOPODS]): density_g_cm3 = None if isinstance(self.material, Material): density_g_cm3 = self.material.mechanical.density # g/cm^3 - - if density_g_cm3 is None: + + if density_g_cm3 is None: raise ValueError("Shape's density is missing") if density_g_cm3 == 0: @@ -1700,7 +1700,7 @@ class Shape(NodeMixin, Generic[TOPODS]): path_position = path.position_at(relative_position_on_wire) path_tangent = path.tangent_at(relative_position_on_wire) projection_axis = Axis(path_position, shape_center - path_position) - (surface_point, surface_normal) = self.find_intersection_points( + surface_point, surface_normal = self.find_intersection_points( projection_axis )[0] surface_normal_plane = Plane(