Closed eparadis closed 1 year ago
this PR fixes my situation https://github.com/Kranex/goskew/pull/5
@eparadis sorry I wasn't notified of this issue or the PR for some reason. I just had the most horrific print as a result of this, I'm amazed that I didn't notice this sooner as I skew literally everything. I'll merge in your PR now.
merged and released to v1.3.1. Thank you for the fix!
Hi, first thanks for writing this. I love the idea and it is easy to use.
Unfortunately this script is introducing errors into the Gcode it processes.
Here is a screen shot of the last layer of a print as shown in Octoprint's Gcode viewer.
Here is the same gcode after processing through
goskew
.You can clearly see the "hitches" in the second screenshot that are not supposed to be there. These are real - they do show up in the final print quite noticeably.
I'm not great at reading Gcode but I think you can see one of the hitches here:
That should be the top left part of a circle, so you would expect the X coordinate to decrease smoothly, but that one lines has a "X85" for some unknown reason.
I think this is the same section in an unprocessed file:
Perhaps there is an issue with integers being used instead of floating point? I don't know how
go
works with numerics.I suspect this is an easy fix - perhaps forcing a type on whatever reads the input.