-
Notifications
You must be signed in to change notification settings - Fork 18
Open
Description
When attempting to use this, I received this error:
Traceback (most recent call last):
File "/home/redacted/Nonplanar_Slicing/main.py", line 181, in calculate_button
tm1.trans_gcode(orig_gcode, gradz, zmesh, printSetting, limits, config_string=config)
File "/home/redacted/Nonplanar_Slicing/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 2893 is out of bounds for axis 0 with size 760```
It appears that `create_surface_extended_case1` returns a different `zmesh` than is expected by `trans_gcode`.Metadata
Metadata
Assignees
Labels
No labels