There are no curves in an mesh which is sliced to create a gCode for the printer. This always results in jagged circles in for example a cylinder. The general solution is to increase the mesh density.
I want to create a function to find circular lines in the gCode and modify them to create a clean circle.
My current idea:
- search for lines and then in circles in this line
- search for circles in these lines
- replace the individual line statements with one circle
-- calculate the length difference to adjust the extrusion? Must likely not required and this would result on changing all further extrude values
There are no curves in an mesh which is sliced to create a gCode for the printer. This always results in jagged circles in for example a cylinder. The general solution is to increase the mesh density.
I want to create a function to find circular lines in the gCode and modify them to create a clean circle.
My current idea:
-- calculate the length difference to adjust the extrusion? Must likely not required and this would result on changing all further extrude values