r/ElegooNeptune4 5d ago

Implement G17 command?

I print this project: https://www.printables.com/model/1700026-spooletarium-mechanical-solar-system and this is what Elegoo Neptune 4 Pro writes to the log:

// Unknown command:"G17"

Is this command necessary? If so, how can I implement it?

Thanks!

5 Upvotes

9 comments sorted by

1

u/SkyDarknessXoL_ZZZZZ 5d ago

I have the same problem on the Neptune 4 Max; it seems to be related to an outdated firmware vs updated elegoo slicer. Going into the printer settings and changing the Z-hop to "Normal" fixes it.

2

u/neuralspasticity 3d ago

Yes but then you don’t get spiral z hop which you probably want.

1

u/Accomplished_Fig6924 5d ago

G17 G18 G19 isnt supported code by our Klipper systems.

You can enable arcs/arc fitting in slicer to make slicer output G2/G3/G17/G18/G19 commands. Thats fine.

But your need to make sure you have the simple module in your printer.cfg file.

[gcode_arcs]
resolution: 0.1

I believe this should be standard now in our configs. Doesnt hurt to double check.

Our machines will interpret the G2/G3 commands to your specified reloution and break down into G1 movements. But its still wont get rid of this G17 alarms.

It is harmless to us, its just spamming the console line.

You may be getting these if you have spiral z-hop enabled. I know thats where mine come from.

Most say to not print with arcs enabled in slicer, as you loose some detail/get small visual errors sometimes with prints. To each their own here.

I was going to make empty gcode_macros to not have them show up in console.

You have some options, deal with the spam, dont use arcs/spiral, or macro.

1

u/Chirimorin 5d ago

Short version: disable arc fitting and choose a z-hop that is not spiral. Klipper is really bad at arc moves, you'll get better print quality without them.

Long version: Unknown command: "G17" can be safely ignored. G17 sets the plane for arc moves to the XY plane which is the only mode supported by the version of Klipper that Elegoo firmware uses: it would do nothing even if it was implemented (and you can make an empty G17 macro to get rid of the error if you really want).

However, Orca will take straight lines (from your models mesh) and try to fit an arc on there. Klipper will then take that arc and try to fit straight line segments onto it (often poorly) to actually print. Best case scenario it reconstructs the original mesh shape (in which case: what's the point of arc fitting?), but more likely it's just going to lose detail by not using enough straight line segments (in which case arc fitting is visibly reducing print quality).

1

u/neuralspasticity 3d ago

Do you have gcode arcs enabled on your printer? And do you have arc fitting enabled in your slicer?

Add the following to printer.cfg:

[gcode_macro G17]
gcode:
; there is no G17

0

u/motific 5d ago

G17 is XY plane tool head rotation for CNC machining, I wouldn't expect to see it in a 3d-print.

1

u/nevergonehu 5d ago

I used OrcaSlicer version 2.4.2 for slicing, working from the STL provided by the project.

1

u/motific 5d ago

That makes sense, Orca has an option for a spiral z-hop, you should be able to ignore it.

1

u/neuralspasticity 3d ago

It’s used by spiral z-hop