Hello Guest it is May 10, 2021, 08:50:55 PM

Author Topic: check gcode file before run  (Read 302 times)

0 Members and 1 Guest are viewing this topic.

check gcode file before run
« on: September 19, 2019, 08:51:45 PM »
i have reqwest from several clients that ask me to add script that will run over the gcode file before start ,and if there some dangerous steps(like z in minus more then....) will stop or give alarm...
is that can be done inside mach with lua ? or i must close the file load it on external app(like c#) check and then open again the file in mach if all ok

Offline smurph

  • *
  •  1,400 1,400
  • "That there... that's an RV."
    • View Profile
Re: check gcode file before run
« Reply #1 on: September 20, 2019, 09:46:43 PM »
The Module Works plugin will do collision detection, etc...  You might be able to write a LUA wizard or script that uses the MachAPI to do what you want to do.  But the Module Works was designed with this kind of task in mind.  However, you and your clients will have to learn to use the tool as you need to do a lot of tool table setups to more fully describe the tools, etc...