synthetos / g2

g2core - The Next Generation
Other
622 stars 296 forks source link

Spiral roughing hiccup? #492

Closed Mgilbride closed 1 year ago

Mgilbride commented 3 years ago

Not sure this is an issue.

I have run some motion tests with a new cnc router build running g2 on a DUE. Gcode is from RhinoCam. I am running firmware version 100.26.

In one of my tests I am using spiral roughing. At the "same spot" on each pass of the spiral the machine seems to jump back a mm or two causing a noticeable jolt in otherwise smooth motion. I do not see any similar behavior when executing this as a parallel roughing operation. I still need to try this as a circular offset rather than spiral.

I see no indication that this is mechanical. Any thoughts if this could be a g2 vs RhinoCam issue? I am suspecting some small, hard to see issue with arc interpolation. Not sure how to troubleshoot this behavior and could use some suggestions.

ril3y commented 3 years ago

Can you attach the gcode?

On Sat, Mar 27, 2021 at 9:39 PM Mgilbride @.***> wrote:

Not sure this is an issue.

I have run some motion tests with a new cnc router build running g2 on a DUE. Gcode is from RhinoCam. I am running firmware version 100.26.

In one of my tests I am using spiral roughing. At the "same spot" on each pass of the spiral the machine seems to jump back a mm or two causing a noticeable jolt in otherwise smooth motion. I do not see any similar behavior when executing this as a parallel roughing operation. I still need to try this as a circular offset rather than spiral.

I see no indication that this is mechanical. Any thoughts if this could be a g2 vs RhinoCam issue? I am suspecting some small, hard to see issue with arc interpolation. Not sure how to troubleshoot this behavior and could use some suggestions.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/synthetos/g2/issues/492, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABYSM7KFZF2UIDPLAZZIBDTF2CDZANCNFSM4Z5P53SA .

Mgilbride commented 3 years ago

Absolutely. Attached here.

Many thanks.

TestGeometry2.txt

Mgilbride commented 3 years ago

I need to do more testing. I noticed this page of the post processor. It was set to helical interpolation. There's an option for spiral interpolation.

Post Processor

Mgilbride commented 3 years ago

OK. After another couple of hours testing... I updated the helix/spiral arc interpolation settings in the postprocessor. I utilized arc fitting in the machining settings. All pictured in screenshots here. Updated Gcode also attached here. I get less regularity and severity in the pauses / jumps. I caught an example on a short video. They happen the same place on each layer. But they now don't occur every pass. So, I think this is down to arc interpolation. And it could just be that I am not knowledgeable enough about the settings here. And / or there is a limitation in G2 firmware or RhinoCam.

https://user-images.githubusercontent.com/741811/112767131-f2927f00-8fe2-11eb-8606-676ac2718e38.MOV Settings1 Settings2 Post2 Post3 TestGeometry8.txt