Git Image To G Code
G-code instructs 3D printers and 2D plotters using simple "move to" commands with X and Y coordinates in 2D or 3D space.
Model source
- Kind
- Text model
- File size
- 674 MB
- Version
- vmodel
- Updated
- Oct 22, 2026
- Downloads
- 14
- Source
- Hugging Face
Source description
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
Sources
1 source
Sources
1 sourceVerified Oct 22
Model artifacts
1 artifact
Model artifacts
1 artifactSource excerpts
3 excerpts
Source excerpts
3 excerpts--- 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
Source context: 14 downloads · 6 likes · Pipeline image-text-to-text · Library transformers · Repo matthh/git-image-to-g-code
Source context: 32 downloads · 6 likes · Pipeline image-text-to-text · Library transformers · Repo matthh/git-image-to-g-code
