From e264a430dc4936db4c718b06b61e544a05aad1ce Mon Sep 17 00:00:00 2001
From: Neil Gershenfeld <gersh@cba.mit.edu>
Date: Sun, 9 Jan 2022 17:06:26 -0500
Subject: [PATCH] wip

---
 modules/path/formats/g-code | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/modules/path/formats/g-code b/modules/path/formats/g-code
index 545766a..70d170a 100644
--- a/modules/path/formats/g-code
+++ b/modules/path/formats/g-code
@@ -37,8 +37,8 @@ var name = 'path to G-code'
 // initialization
 //
 var init = function() {
-   mod.cutspeed.value = '2.5'
-   mod.plungespeed.value = '2.5'
+   mod.cutspeed.value = '1'
+   mod.plungespeed.value = '1'
    mod.jogheight.value = '2'
    mod.spindlespeed.value = '10000'
    mod.tool.value = '1'
@@ -224,7 +224,7 @@ function make_path() {
    str += "G80\n" // cancel canned cycles
    str += "G90\n" // absolute coordinates
    str += "G94\n" // feed/minute units
-   str += "T"+tool+"M06\n" // tool selection, tool change
+   //str += "T"+tool+"M06\n" // tool selection, tool change // some interpreters have trouble with this
    str += "F"+cut_speed.toFixed(4)+"\n" // feed rate
    str += "S"+spindle_speed+"\n" // spindle speed
    if (mod.coolanton.checked)
-- 
GitLab