From bc1faad9b4a993774526f1e68267b3d179e4e986 Mon Sep 17 00:00:00 2001 From: Stewart Allen Date: Fri, 18 Dec 2020 09:16:19 -0500 Subject: [PATCH] suppress ops in gcode header --- notes.md | 6 ++++++ src/mode/cam/export.js | 4 +++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/notes.md b/notes.md index cf38b1a2..e9265f50 100644 --- a/notes.md +++ b/notes.md @@ -61,6 +61,10 @@ * `B` outside cutting direction in roughing mode inverted * `B` top clearing operations should use linear, not offset, passes * `B` on rotation, tabs dissociate from parts whose center changes with rotation +* `B` strip "ops" from gcode comments + +* `F` split out facing. make it use linear passes +* `F` add linear clearing strategy option for roughing / pocket * `F` option to use part / STL coordinate space to determine X,Y origin * `F` validate muti-part layout and spacing exceeds largest outside tool diameter * `F` skip "thru" holes checkbox for roughing and outlining @@ -84,9 +88,11 @@ * `F` warn when part > stock or cuts go outside bed * `F` animation should clear the mesh in areas where the cuts go through the stock? * `F` support lathe mode / A-axis / rotary + * `P` detect render message backlog and pause or warn * `P` redo all path route / planning in prepare to account for terrain before camOut * `P` allow faster z movements when contouring (not plunging) +* `P` CSS align right menu tops # Laser diff --git a/src/mode/cam/export.js b/src/mode/cam/export.js index 8f8da5a5..0f335405 100644 --- a/src/mode/cam/export.js +++ b/src/mode/cam/export.js @@ -237,7 +237,9 @@ append(`; Target: ${settings.filter[settings.mode]}`); append("; --- process ---"); for (let pk in spro) { - append("; " + pk + " = " + spro[pk]); + if (pk !== "ops") { + append("; " + pk + " = " + spro[pk]); + } } }