From a187267f6568d2e0a8f5bf894b2405432f604887 Mon Sep 17 00:00:00 2001 From: james Date: Mon, 5 Feb 2024 12:56:47 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=A1=20Remove=20comments?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- eudemo/eudemo/maintenance/lower_port/duct_designer.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/eudemo/eudemo/maintenance/lower_port/duct_designer.py b/eudemo/eudemo/maintenance/lower_port/duct_designer.py index 1d6d1ac077..af84d6bd5b 100644 --- a/eudemo/eudemo/maintenance/lower_port/duct_designer.py +++ b/eudemo/eudemo/maintenance/lower_port/duct_designer.py @@ -117,7 +117,6 @@ def run(self) -> Tuple[BluemiraFace, BluemiraFace, BluemiraWire, BluemiraWire]: duct_straight_inner_extrude_boundary = self._straight_duct_inner_yz_boundary( straight_top_inner_pt, straight_bot_inner_pt, - # duct_angled_inner_extrude_boundary.bounding_box.y_max, ) return ( @@ -178,7 +177,6 @@ def _straight_duct_inner_yz_boundary( self, straight_top_inner_pt: Tuple, straight_bot_inner_pt: Tuple, - # angled_duct_ymax: float, ) -> BluemiraWire: """ Make the inner yz boundary of the straight duct. @@ -189,7 +187,6 @@ def _straight_duct_inner_yz_boundary( x_point = straight_top_inner_pt[0] # restrict port size of angled duct to port_width - # y_size = max(angled_duct_ymax, self.port_width / 2) y_size = self.port_width / 2 return make_polygon( @@ -227,8 +224,6 @@ def _calc_y_point(x_point): flat_y_max = self.port_width / 2 ib_inner_y = min(flat_y_max, _calc_y_point(ib_div_pt_padded[0]) - self.wall_tk) ob_inner_y = min(flat_y_max, _calc_y_point(ob_div_pt_padded[0]) - self.wall_tk) - # ib_inner_y = _calc_y_point(ib_div_pt_padded[0]) - self.wall_tk - # ob_inner_y = _calc_y_point(ob_div_pt_padded[0]) - self.wall_tk # check if the space between the y-points is large enough for the # divertor to fit through: