Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Arc welder creating artifacts in Cura #18

Open
PhilBaz opened this issue May 3, 2021 · 17 comments
Open

Arc welder creating artifacts in Cura #18

PhilBaz opened this issue May 3, 2021 · 17 comments

Comments

@PhilBaz
Copy link

PhilBaz commented May 3, 2021

I see the beauty of Arc welder but have had mixed results using it in cura. It mostly works great but has caused problems a few times.

Please see the attached images of 3 prints...the first two are sliced with different setting and using arc welder, the third has Arc welder turned off and the artifact is gone...ill attach the images as well as the G-code (github made me zip it). Is this an issue or do my settings need to change? I'm using settings very close to the defaults.

Thanks for your time and effort!

1 - 3DBenchy No AW
1 - 3DBenchy AW D
G-code.zip
1 - 3DBenchy AW B

@fieldOfView
Copy link
Owner

Is the order of the images correct? I see what looks like an underextruded horizontal line (outer wall) in the last two images, but not the first (it seems to be there still, but far less noticable). Is that the artifact I'm supposed to be looking at?

@PhilBaz
Copy link
Author

PhilBaz commented May 3, 2021

The under extrusion line is the artifact, yes... Don't know if they are in order, but the naming of the images corresponds to the G-code names.

Thanks for the quick reply!

@PhilBaz
Copy link
Author

PhilBaz commented May 3, 2021

PS...I can run the test again, or more tests if you think it was a fluke.....Also, there was a third AW slice benchy print which ended up with the same artifact.

@fieldOfView
Copy link
Owner

Let me ping @FormerLurker who created the actual magic that processes the gcode, to see if he has any ideas.

@seantapscott
Copy link

seantapscott commented May 3, 2021 via email

@PhilBaz
Copy link
Author

PhilBaz commented May 3, 2021

Its an artillery X1 sidewinder...... Filament brand is Novofill, based on ingeo resin. I have my flow calibrated and get consistent high quality prints from the printer.

I sliced the benchy with Arc welder 3 different ways, and one additional slice was a duplicate of one of the initial 3, but without arc welder. All three with AW exhibited the same artifact. The one without AW didn't.

Im happy to run more tests. Any ideas?

@seantapscott
Copy link

seantapscott commented May 3, 2021 via email

@PhilBaz
Copy link
Author

PhilBaz commented May 3, 2021

G90 unchecked...Marlin FW bugfix version, March 21 2021 fw 2.0.7.2 .

No problem, i get it. And i'm happy to do more testing if you think there is something specific i should try. I appreciate your time and all the quick response.

Phil

@FormerLurker
Copy link

@PhilBaz, G90/G91 influences extruder should be checked for Marlin 2.0+. Can you attach both the modified and unmodified gcode (I read in your OP that you would attach these, but can't seem to find them) please? It may well be that having that option disabled is causing the problem, but it could also be issues with variable line width. Are you using Cura Arachne by chance? If so, I'm working on a patch that should fix any issues encountered there. I had to add some checks to break apart arcs if the extrusion rate changes in the middle of an arc. Without this, any differences in line width will be combined across the entire arc, possible causing under or over extrusion. I should be able to tell all this from the gcode. Feel free to create an issue in my ArcWelderLib repository as well, since this probably has nothing to do with @fieldOfView's awesome plugin.

@PhilBaz
Copy link
Author

PhilBaz commented May 3, 2021

G-code.zip

I'll run another test with the option checked... Files are in the zip and labled.

@PhilBaz
Copy link
Author

PhilBaz commented May 4, 2021

So the test with G90 enabled also came back with an artifact.

I sliced the benchy then saved one with AW on, and one without. No other changes.

One difference though, now the artifact is pushing layers out rather than in. Funny, what looked like under extrusion with G90 off looks like over extrusion now. You can also see the no AW version is pretty much flawless. And this slice is totally different than the ones pictured earlier. Ill attach pics and gcode.

F.zip

Arc welder off
Arc welder on

@FormerLurker
Copy link

Interesting, will look into this asap, and thank you for checking that out!

@PhilBaz
Copy link
Author

PhilBaz commented May 4, 2021

No problem...thanks for the great tools!

@fieldOfView fieldOfView added this to Backlog in Cura Plugins via automation May 9, 2021
@FormerLurker
Copy link

Update: After an extensive review and no issues discovered with the arc welder gcode, I ran the results through the inverse processor and can clearly see the deviations! This appears to be an issue with the arc interpolation algorithm's 'N_ARC_CORRECTION' value. When set to 0, the artifact vanishes. Need to look into it a bit more and figure out if there are any tweaks that can be done short of removing the small angle approximation. In other words, this is a firmware issue.

I have a hunch that reducing the maximum arc radius to something smaller (maybe 100 meters) would also fix the issue, but haven't tested it.

Will keep you posted.

@brunoosti
Copy link

brunoosti commented Sep 30, 2021

I'm getting something similar but on lines that should be straight (diagonal on the print bed, so both motors have to work together, if that matters - sidewinder x1 or anycubic i3 mega printers). Sometimes it's "stair stepping" where it should be completely straight / smooth and some other times is just one layer o anther that seems to get a little bit "out of path". (the last pic is not the one before sliced, it's only to show how those artifacts might get there: straight lines being interpreted as arcs)
IMG_20210901_134624
IMG_20210901_134618
IMG_20210930_152000
image

@FormerLurker
Copy link

Can you post the Source and welded gcode please? Also, huge advances in m G2/G3 interpolation have been introduced in recent marlin builds. If possible, definitely upgrade your firmware to the latest marlin build.

That being said, what version of AW are you using? Are you maybe using cura arachne?

@FormerLurker
Copy link

@brunoosti, I didn't realize what repo this was in, doah! Can you post to the arcwelderlib repo issues or discussions instead? That would be the right place to investigate this upstream issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Cura Plugins
  
Backlog
Development

No branches or pull requests

5 participants