Can ChatGPT Program Your CNC Machines?

104,419
0
Published 2022-12-22
ChatGPTs, or chat-based generative pre-trained transformers, are a type of artificial intelligence that can be used in the field of gcode and machining for a variety of applications. In particular, chatGPTs are particularly useful for CNC (computer numerical control) and CAM (computer-aided manufacturing) applications, as they can help to automate and streamline the process of creating gcode and other machining instructions.

One of the key benefits of using chatGPTs in gcode and machining is that they can help to reduce the time and effort required to generate complex instructions. This is because chatGPTs are trained on a large dataset of machining instructions and can quickly generate accurate and detailed gcode and other instructions based on input from the user. This can be especially useful in CNC and CAM applications, where time is of the essence and accurate instructions are critical to the success of the machining process.

Another benefit of chatGPTs is that they can help to improve the accuracy and precision of machining instructions. This is because chatGPTs are able to analyze and interpret complex machining data and generate instructions that are tailored to the specific needs of the machining process. This can help to reduce the risk of errors and improve the overall quality of the finished product.

In addition to their use in gcode and machining, chatGPTs can also be used in other areas of manufacturing and production. For example, chatGPTs can be used to generate instructions for 3D printing or to assist with the design and development of new products. Overall, chatGPTs are a powerful tool that can help to streamline and improve the efficiency of manufacturing processes, ultimately leading to cost savings and improved quality.

And the most amazing part...ChatGPT wrote all the text for this.

0:00 What is ChatGPT, OpenAI, DALL-E
1:01 ChatGPT for answering questions
2:20 Using ChatGPT to create G-Code
5:37 Using ChatGPT to create MacroB programs
6:50 Using ChatGPT to create a VBA program for Excel
7:55 The future of OpenAI, Point-E

See other blog posts
blog.caminstructor.com/

Check out our website
caminstructor.com/

#Mastercam #LearnCNC

All Comments (21)
  • @MrMartinSchou
    It's worth keeping in mind that we're at the very infancy of this type of technology. If you'd asked a logistics expert if they would use heavier than air machines to deliver packages on December 20th, 1903, the answer would be absolutely not, they are unreliable, too slow and have absolutely no usable range. If you had asked them what they think the role of these machines would be 15 years down the road, it is unlikely they would answer "delivering mail", even though that first happened on May 15, 1918.
  • @moki123g
    The fact that it can do anything AT ALL with gcode is amazing. We are just getting started.
  • @kw2519
    I don’t think people fully comprehend how much of a game changer this is….this could be the next generation of Conversational controls.
  • @jamesg2382
    Thank you, that was really helpful. Well explained.
  • @TonyRios
    I've been using it make basic macros in PowerMill to automate toolpath naming. The syntax chatgpt outputs is wrong but the logic is correct and I can use the overall instructions to write the program accurately. It's like a cheat sheet.
  • @testi2025
    Nice video! I tried to write some basic Mastercam post modifications with it, but of course it didn’t know much about the language. With the paid API, I believe it could be possible to tech it enough about the subject. Would be a great learning tool although there are probably less than couple of hundred people writing them.
  • this is clearly revolutionary and there is great potential for it as it is for neural networks AI in general, I’ m just surprised it can understand so easily that it is asked to do and formulates an appropriate answer most of the time
  • @JayVon_Ro
    now imagine if Fusion 360 / Mastercam implements a feature that uses this in a conversational style of programming. Mind blowing. This will make its way over to multi-axis machining.
  • I've been thinking about whether it can be used in this field for weeks!
  • Use the power to type your work holding for a workpart. Visualyze the clamps positions less tim than it take to go get the right clamps in your hands.
  • @shrimpinpat
    It wrote me an awesome script for adobe illustrator. I laid out parameters and it took a little back and forth but its actually a semi complex script.
  • It's entirely possible someone develops an AI solely for CNC programming...feeding it information like metallurgy theory, manufacturer's tooling recommendations, existing CNC programs, and everything else a human learns throughout their career could yield a very powerful tool to be able to at the very least optimize CNC programs for specific situations/materials/machines/tooling...if it gets to the point where you can give it a solid model or a blueprint and it writes a program specifically for your machine using your preferred tooling, it could benefit the industry a LOT with optimizing tooling life, cycle times, part finishes, reducing scrap rates, etc...I think we're a long way from that, but it's a definite possibility if someone were to put the effort into focusing on that...
  • @therealtony
    This is fantastic! I'm wondering if the ai will globally learn from the corrections and suggestions you've made.
  • What makes AI so great is we no longer have to waste endless hours of our lives learning some proprietary process to do things. Whether gcode or python matters not. If you can explain what you want well then the AI can do all the minutia work for you. I just had chatGPT write a Python app and it turned out better than I could have done.
  • @herpderp728
    I'm a PhD student who explicitly studies using AI techniques for generating better toolpaths, but even I recognize I likely won't completely replace machinists from the workshop floor. Regardless of what the hype men tell at some startups, the tech just isn't there. Furthermore, my methods are VASTLY different from ChatGPT, as one cannot generate guarantees on correctness using ChatGPT.
  • The issue is not GPT being poorly trained in "gcode", the issue is GPT fundamentally isn't trained in a 3D space. I'm sure it will be soon, and then things will get wild.
  • @zachmoyer1849
    there is now an extension in the chromstore called web chatgpt that allows chatgpt to search the internet ive noticed a massive increase in the accuracy of answers