|
--- |
|
license: mit |
|
language: |
|
- en |
|
--- |
|
|
|
# learning_to_draw_02 |
|
|
|
## G-Code Generation with AI |
|
|
|
G-code instructs 3D printers and 2D plotters using simple "move to" commands with X and Y coordinates in 2D or 3D space. |
|
|
|
Inspired by my interest in machine drawing, this project uses the latest open-source AI models to create a Large Language Model (LLM) that generates G-code from images. |
|
|
|
The dataset, generated procedurally, includes both images and corresponding G-code. I developed the Python code for this project with the help of ChatGPT for quick suggestions and Claude.ai for debugging and refinement. |
|
|
|
This project demonstrates the innovative use of AI in automating G-code generation for creative and practical applications. |
|
|
|
|
|
### Transformer based gcode instruction generator |