AndyEveritt / ASMBL

Additive & Subtractive Manufacturing By Layer for the E3D ToolChanging platform
GNU Lesser General Public License v3.0
87 stars 17 forks source link

add_lead_in_out IndexError: list index out of range #45

Closed AndyEveritt closed 3 years ago

AndyEveritt commented 3 years ago

https://forum.e3d-online.com/threads/asbml-fusion-plugin-post-script-not-workingdi.3983/

Issue

Spliting subtractive gcode layers... Traceback (most recent call last): File "main.py", line 26, in asmbl_parser = Parser(args.config) File "src\ASMBL_parser.py", line 34, in init self.main() File "src\ASMBL_parser.py", line 63, in main operations = self.split_cam_operations(self.gcode_sub) File "src\ASMBL_parser.py", line 216, in split_cam_operations operation_layers = self.group_cam_segments(segments, name, strategy, tool) File "src\ASMBL_parser.py", line 196, in group_cam_segments layer_group = self.add_lead_in_out(segments, cutting_group) File "src\ASMBL_parser.py", line 165, in add_lead_in_out if segments[post_index].type == 'lead out': IndexError: list index out of range [20296] Failed to execute script main

Version

ASMBL-2.3.4.exe

AndyEveritt commented 3 years ago

tmp.zip

AndyEveritt commented 3 years ago

Have reproduced the error