From GPT to 3D Print in Minutes

Dhaval Nagar / CEO

Few days back a colleague shared a video where the guy built a Voice to (3D) Print automation using ChatGPT, Python, Rhino 3D, and Grasshopper - and it was absolutely amazing. You can watch the original video here.

I knew someone would do that eventually but his implementation was perfect. I tried to build a small prototype of Instructions to G-Code (Geometric Code) in the past but that never really worked. I guess, G-Code is too low-level and I now realize I should have tried at a higher level language like Python. My experience is still very limited in terms of 3D printing automation and tools, I mostly use TinkerCAD and OnShape, as those are free.

After seeing his video, I decided to give it another shot, within few hours, I have the first model working and printed 😅. Yes, it does very basic things as of now, but the whole reason why this is very exciting is because I have no prior experience in Rhino 3D or the rhinoscriptsyntax python library but I could build and print this.

First Print from GPT

How it works

  • Configured a Custom ChatGPT RhinoPythonGPT with specific instruction set and knowledgebase of rhinoscriptsyntax and additional scripts.
  • Start interacting with the GPT to generate the object scripts.
  • Copy the script to a Python file and load the script into Rhino 3D.
  • Export the object into STL file.
  • Load the STL into BambuLab Studio, slice and send to the Device. I have BambuLab A1 Mini.
  • Start Printing...

Here is the whole sequence in a short video.

Happy Experimenting 🚀

More articles

Running Ollama, Llava-Phi3 on a small AWS EC2 Instance for Image Analysis

Ollma is a great way to run models locally, better privacy, performance, and cost utilization. In this post we will are using a small EC2 instance to do Image analysis with the custom Llava-Phi3 model.

Read more

AI for Everyone: The Surge of Large Language Models and Accessible Tools

Artificial intelligence (AI) isn't some far-off, futuristic concept anymore. It's already part of our day-to-day life, rapidly evolving, and becoming more accessible than ever before. The driving forces behind this momentum shift are the incredible advancements in Large Language Models (LLMs) and the rise of powerful, user-friendly AI tools.

Read more

Tell us about your project

Our office

  • 408-409, SNS Platina
    Opp Shrenik Residecy
    Vesu, Surat, India
    Google Map