G-Code previewer that shows line direction?
-
Anyone have seen a G-Code viewer that shows easily line direction?
I don't see in a way most of them do when you go line by line and you see how line will be drawn, I mean when you are looking at the whole bunch of them to easily see direction? E.g. start of the line is blue, end of the line is red and line change color from blue to red, so if you have a ton of short moves it will be "purple" but if you have for e.g. side of a cube, if the whole cube was printed CW you can see one edge red and other edge blue but if for e.g. half of the cube was printed CW and then slicer switched to CCW you see half of the cube have red edge and other half blue edge (and vice versa).
Anyone seen previewer that can give this type of info?
I'm debugging some Ender5 issues that I had on other printers too (not all).
I think the "shift" I see is when slicer change direction but I'm not 100% sure, it should be easy to test with such g-code preview
-
@arhi I usually load gcode in Cura, and the gcode preview has a 'play' button, which shows the nozzle move. I'm sure I've seen a preview that has direction arrows, but can't remember what it was.
Ian
-
@droftarts they all have "play" where they move the head in the proper direction, that's not the problem but I need to play the whole layer to come to the corner that interests me, and it takes so much time and writing ('cause I can't remember %$#@%^) it's not worth it. On the other hand with a preview where start-end of the line is colored, I would easily see what's going on
-
I did not write this... but I have looked at its internals for various reasons:
It has "gradient color" stuff built into it that is very close to what you want. To be clear, it does NOT do it today. It is just a Javascript, entirely in browser, GCode renderer that looks like it could be easily modified to do what you want.
Being in browser, it has nothing hidden on the server, so it can be changed.
-
@Danal I know that one it's rather ugly for the 3D ... I wrote something in java many years ago that I might adapt for this, but I wanted to check if there's anything already out there before I go waste time writing it myself
-
Still looking for the viewer but for general use case, I inspected manually the gcode here and my original guess was wrong, the column is printed CCW throughout height so the direction is not what causes this from what I can tell so far.
So looking further to figure out where this darn thing comes from, especially as it is present only in Y direction, X direction is ok