File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -175,7 +175,7 @@ def get_drawing_geometry(self) -> RocketDrawingGeometry:
175175 )
176176
177177 csys = rocket ._csys
178- rocket .aerodynamic_surfaces .sort_by_position (reverse = ( csys == 1 ) )
178+ rocket .aerodynamic_surfaces .sort_by_position (reverse = csys == 1 )
179179
180180 nose_cones : list [NoseConeGeometry ] = []
181181 tails : list [TailGeometry ] = []
@@ -287,9 +287,7 @@ def get_drawing_geometry(self) -> RocketDrawingGeometry:
287287
288288 tubes = self ._build_tubes (drawn_surfaces )
289289 motor_geometry , nozzle_position = self ._build_motor_geometry (csys )
290- tubes += self ._build_nozzle_tube (
291- tubes , drawn_surfaces , nozzle_position , csys
292- )
290+ tubes += self ._build_nozzle_tube (drawn_surfaces , nozzle_position , csys )
293291 rail_buttons = self ._build_rail_buttons (csys )
294292 sensors = self ._build_sensors ()
295293
@@ -467,7 +465,6 @@ def _build_motor_geometry(
467465
468466 def _build_nozzle_tube (
469467 self ,
470- existing_tubes : list [TubeGeometry ],
471468 drawn_surfaces : list ,
472469 nozzle_position : float ,
473470 csys : int ,
You can’t perform that action at this time.
0 commit comments