From 1feef69ff870673897eb0a3ea4e33b6253a9abfe Mon Sep 17 00:00:00 2001 From: David Carley Date: Sat, 6 Mar 2021 08:53:04 -0800 Subject: [PATCH] Disable G61, G61.1, G64 --- scripts/gplan-build.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/scripts/gplan-build.sh b/scripts/gplan-build.sh index f294014..ab4ad7f 100755 --- a/scripts/gplan-build.sh +++ b/scripts/gplan-build.sh @@ -3,4 +3,9 @@ cd /mnt/host scons -j 8 -C cbang disable_local="re2 libevent" export CBANG_HOME="/mnt/host/cbang" + +perl -i -0pe 's/case 610: setPathMode.*;/case 610: implemented = false; break;/gm' /mnt/host/camotics/src/gcode/ControllerImpl.cpp +perl -i -0pe 's/case 611: setPathMode.*;/case 611: implemented = false; break;/gm' /mnt/host/camotics/src/gcode/ControllerImpl.cpp +perl -i -0pe 's/case 640: {[^}]+}/case 640: implemented = false; break;/gm' /mnt/host/camotics/src/gcode/ControllerImpl.cpp + scons -j 8 -C camotics gplan.so with_gui=0 with_tpl=0