"arc output" bug

I haven’t used “arc output” yet, but it seems promising for more efficient g-code.

Here’s an unexpected output that would crash:

De-selecting “arc output” cures that.

Workspace:

arc-crash.kmz (30.7 KB)

That file does not load

Your file isn’t loading for me either. I’d love to check it out and fix whatever is causing it.

Well, bother. Maybe my brain read “exclude meshes” as “include meshes” that day. :-/

It was a test bit cut from a larger part and I didn’t keep it. Attached here is ̶t̶h̶e̶ (edit: a similar but different) larger part which has a similar but not identical fault in ̶a̶b̶o̶u̶t̶ ̶t̶h̶e̶ ̶s̶a̶m̶e̶ a similar place. I’ve successfully re-imported this one.

The extra arc appears in “preview” but not in the “slice” view. I suppose that’s consistent with a fault in the output processing.

arc-output-crash.kmz (509.1 KB)

also @meddesign - thanks to both for looking!

thanks for the test case. these are all errors produced by the arc code that disappear when it’s disabled.

I was able to fix the extra arc generation by turning down the arc tolerance and resolution. not sure what’s going on with the jumps though.

image

Thanks for the test case!