From 859fb7bb6977ad8fd4102781f115416815e79761 Mon Sep 17 00:00:00 2001 From: Yusuke Ogawa Date: Fri, 13 Dec 2024 13:11:19 +0900 Subject: [PATCH] Ver 2.3.3.(a) Ver 2.3.3.(a) --- ns_l3_diagram_create.py | 21 +-------------------- 1 file changed, 1 insertion(+), 20 deletions(-) diff --git a/ns_l3_diagram_create.py b/ns_l3_diagram_create.py index 37f79b2..0f109b5 100644 --- a/ns_l3_diagram_create.py +++ b/ns_l3_diagram_create.py @@ -561,7 +561,7 @@ def process_elements(array): ''' OFFSET Ver 2.3.3 ''' if self.click_value_l3 == 'L3-4-1': - if action_type == 'CREATE' and tmp_tmp_target_position_shape_array not in '_AIR_': + if action_type == 'CREATE' and tmp_tmp_target_position_shape_array not in '_AIR_' and self.flag_second_page == False: shape_name = tmp_tmp_target_position_shape_array left_offset += create_master_file_one_area.get_l3_shape_offset(self,shape_name ,left_offset) @@ -2244,25 +2244,6 @@ def get_l3_shape_offset(self,shape_name,left_offset): offset_value = area_value - left_offset - ''' - To prevent the lines from overlapping, activate the following code. However, the figure would be very long. - ''' - if self.flag_second_page == True: - if area_value >= left_value: - offset_value = area_value - left_offset - else: - offset_value = 0.0 - #print(shape_name, area_value, left_value, offset_value,left_offset) - - ### Calculate the offset for the area from the second row onwards ### - if area_value == 1.0 and left_value != 1.0: - self.flag_area_equel_left = False - self.second_area_offset = left_offset - - if self.flag_area_equel_left == False and area_value != 1.0 : - offset_value = area_value + self.second_area_offset - left_offset - 1.0 - - else: offset_value = 0.0