Machsupport Forum
Mach Discussion => Mach Screens => Finished Screens => Topic started by: tgirard on March 30, 2026, 05:41:13 PM
-
I just wanted to show what One person, working with ChatGPT could accomplish.
The Problem: The customer has a Laser Engraving system but the aperture is small. They lave large graphics and need a way to move the laser into multiple positions and execute the laser program. Each position may need tweaking and or Laser power and speed setting changes. [/img]
The Solution: Using AI and Lua I was able to create a solution whereby you create a .csv file that has all the picture names and settings you want. You then place the images in the bitmaps folder I created at the root level of the Mach4 folder. Then you simply open the csv and the images show up on the screen, You can click on each image and the individual parameters show up. You and set things automatically and then generate the actual GCode that will move the table to the center of each image and send the Laser commands via the Lasers API. I could have NEVER done this on my own. however with ChatGPT helping me every step of the way, I was able to build this out, Have the code completely commented, Have everything about the project organized in Git for future updates and All within a very reasonable amount of time. I still have a bunch to do but it's really been much easier with the AI helping. I Know I'm probably helping with the destruction of the developemnt industry and that sucks but I feel like I'm a way better LUA programmer now and that's gotta count for something. Let me know if you have any questions