Transformation Progress running...
Progress: 0.0 %
Traceback (most recent call last):
File "c:\Users\LucaT\Downloads\Nonplanar_Slicing-main\main.py", line 177, in calculate_button
tm1.trans_gcode(orig_gcode, gradz, zmesh, printSetting, limits, config_string=config)
~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "c:\Users\LucaT\Downloads\Nonplanar_Slicing-main\transform_method_1.py", line 212, in trans_gcode
interpol_z = zmesh[np.round((actual_g_line[:,1] - y_min - y_offset)*(1/resolution)).astype(int), np.round((actual_g_line[:,0] - x_min - x_offset)*(1/resolution)).astype(int)]
~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
IndexError: index 2140 is out of bounds for axis 0 with size 640
When attempting to use "main" on Window, I received this error:
Can someone help me?