How to Use ChatGPT for 3D Printing: From Prompt to G-Code or STL File

Use ChatGPT for 3D Printing
(Image credit: Tom's Hardware)

ChatGPT has become a sensation online since its emergence a few months ago. In addition to helping generate answers to simple queries, the chatbot can prepare files for 3D printing. With ChatGPT, you can create ready-to-print STL files, code for 3D models that can be opened using scripting-based 3D modeling software such as OpensCAD or create Gcode files without a 3D slicer. 

Below, we’ll explore each of these strategies in detail. Remember that ChatGPT is only as good as the prompts you give it and you may have to try several different wordings to get what you want.

Latest Videos FromTom's Hardware
Contributor

Sammy Ekaran is a freelancer writer for Tom's Hardware. He specializes in writing about 3D printing tutorials and guides. You can find more of his work on various publications, including Makeuseof, All3dp, and 3Dsourced.

  • neoculture
    All I keep getting are variations on "I'm afraid I can't do that, Dave". Generally of the "...as a text-based AI model, I cannot directly generate or provide 3D models..." variety.
    Reply
  • mscir
    I asked openai's chat gpt if it could generate the g-code or stl for a roughly 1 foot long t-rex skull. It said yes. I asked it to do so, it generated a few dozen lines of code before the chat window stopped showing it. I told it the file was too large for the chat window, it apologized, I asked if it could generate the file and make it available for download, it said yes, I asked it to do so and send me the download link, it sent me a link to a gmail account that didn't exist. I was already logged into my gmail account in another tab on the same browser, so I asked it how we could proceed, it apologized and said it was not possible to create the file since it might be a copyright violation of some sort, and it said it didn't have access to an account where I could download the file even if it was able to post one. So it wasted a lot of time being quite stupid.
    Reply
  • Pi-Plates
    chatGPT seems to have very limited capabilities of creating anything other than cubes. Case in point: "Generate a 3D Model of a skeleton using ASCII STL format" produced an STL file of a 4 sided cube with the disclaimer "This is a very basic and abstract representation of a skeleton using ASCII STL format. It defines a simple cube, which can be interpreted as a basic representation of a skeleton's structure. A more detailed and recognizable representation of a skeleton would require complex 3D modeling software."
    Reply