Bug in production and development release

Hi,

I have found a recurring problem that I cannot deliberately repeat but it comes up regularly. Especially if it is a larger job.

The post processor gets an error that says it has a nil value for feedrate. This happens on some parts that were inserted using multiple duplicate function. Not all parts will have the error but once it occured all the parts that follow will fail.

deleted Support.zip (107.6 KB)

@mariusl , NEVER POST A SUPPORT.ZIP FILE IN A PUBLIC FORUM OR FILE SYSTEM !
The zip file contains your license file, you just exposed it to the world. Rather, send support.zip files to sales@sheetcam.com

@mariusl , I’m able to reproduce the bug. The trigger is having the Operation sequencing in the pp run such that the last Operation (control via Options / ‘Job options’ / Nesting / ‘Manual optimization’ sequence) has a greater operationIndex than the Operations in the first Part. Then the error occurs on second and subsequent pp runs, not the first pp run. The condition is reset by changing the Operation sequencing, Part sequencing, or modifying the pp, all of which cause all sheetcam internal processing vars to be cleared (value reset). The net trigger/bug though is that sheetcam pp runs do not clear/reset all internal processing vars between pp runs. I’ve seen this behavior before with entityLength, but assumed it was a one-off situation, I see it in many vars with your test case.

So in the meantime of this getting fixed, avoid the conditions described above which trigger it. I’m logging this as a high priority fix.

Thanks a lot for the feedback.

I didn’t know that the license is included in the zip file. I see you deleted it, thanks.