vlachoudis / bCNC

GRBL CNC command sender, autoleveler and g-code editor
GNU General Public License v2.0
1.54k stars 528 forks source link

Dragknife M5 after every path #1887

Open ddllpp opened 1 month ago

ddllpp commented 1 month ago

re:bCNC v0.9.15 (win32 python 3.12.3) running on a Windows 10 64-bit PC

Using the dragknife plugin, with multiple objects in a DXF file, the first object will be cut successfully, and it will continue going through the motions of the remaining objects without bringing the knife back down. Looking at the gcode, after every path or block there's an '(exit)' and M5 command and no M3 at the start of the next block. Looking at the dragknife.py script online, there is no explicit "M5" line, so I don't know where it's coming from. The only resolution I could find was to save the file and edit it manually to remove all M5 lines except the one in the footer, then opening the file again in bCNC.