Hello Guest it is March 29, 2024, 07:32:58 AM

Author Topic: Tool Table Import?  (Read 1581 times)

0 Members and 1 Guest are viewing this topic.

Tool Table Import?
« on: January 05, 2017, 07:22:23 AM »
Hello,

my CAM can export its tool table as a .csv file. Is there a way to import this into Mach4? This could not only save a lot of typing but it also prevents from typing errors.

best regards from Germany
Klaus

Offline smurph

*
  • *
  •  1,544 1,544
  • "That there... that's an RV."
    • View Profile
Re: Tool Table Import?
« Reply #1 on: January 05, 2017, 03:38:40 PM »
G10.  Look at the Milling Manual in the docs folder to get the syntax.  Some CAM programs will export the tool table into a G code file that includes G10.  Then the G code program is simply run once to set the tool table. 

If your CAM program can only output the .CSV file, then you could write a "translator" in LUA script to go from the .CSV contents to G code with G10. 

The other way would be to read the .CSV file in a LUA script and use the API to modify the tool table. 

Steve
Re: Tool Table Import?
« Reply #2 on: January 06, 2017, 02:21:20 AM »
Hi Steve,

thank you for your reply. I'm using VisualCAM and besides it's native format it can only export to .csv so I will have to take a look at LUA.

best regards from Germany
Klaus