Hi! I've got a problem with cutter compensation. When I import a dxf file generated from Inkscape, the cutter compensation tool simply "ignore" some shapes, excluding them from the gcode. I did not find any turnaround but to manually write the missing gcode. You find attached an example file: as you see, one rectangle is missing in the bottom, and in the gcode two of them miss.
Thanks in advice!
Just checked the DXF and i also do get a failure while exporting the skipped shape. Locking on the geometry i can see that there are 2 small parts which are Arc's (See G2 and G3 below). I think the shape is not drawn precise enought. Try to make that area of the geometry more precise in order to enable the algorithm to find the intersection points.
Hope this help ...
( SHAPE Nr: 4 )
G0 X 141.898 Y 73.544
M3 M8
G0 Z 3.000
F150
G1 Z -4.100
F800
G1 X 143.671 Y 75.131
G1 X 144.870 Y 76.331
G3 X 144.873 Y 76.334 I -19.216 J 17.344
G2 X 144.876 Y 76.337 I 57.657 J -52.021
G1 X 144.979 Y 76.451
G1 X 163.515 Y 25.525
G1 X 163.005 Y 25.191
G1 X 160.126 Y 23.463
G1 X 141.898 Y 73.544
Mmmhh, strange. It could help surely, but doesn't solve the whole problem, it keeps making that error even with other masks. The circuit in Inkscape is closed, so shouldn't exixt gaps
Your right, the algorithm is not very stable in handling tolerances. This is something which i still have not been able to solve fully.
I hope it's still good enought to fit your purpose ...
Last edit: chrisko 2024-08-10