Skip to content
2D Plotter

2D Plotter

Precision drawing using automated 2D plotting

Created on 5th April 2026

•

2D Plotter

2D Plotter

Precision drawing using automated 2D plotting

The problem 2D Plotter solves

We have successfully designed and developed a 2-D (two-dimensional) Pen Plotter system along with an integrated web-based application that simplifies the entire process of converting images into machine-readable formats i.e. G-Code (Geometrical code). Our project focuses on eliminating the traditionally complex workflow involved in preparing designs for plotting or printing.

The core innovation of our system lies in the custom-built webpage that directly converts an input image into sliced G-code (Geometric Code) or STL file format. Unlike conventional methods, where users must manually trace paths, vectorize images, and then process them through separate slicing software, our platform combines all these steps into a single streamlined process. Once an image is uploaded, the system automatically processes, optimizes, and compiles the data, generating accurate output files ready for execution without requiring additional user intervention.

From a hardware perspective, the pen plotter is built using multiple stepper motors that control precise movement along the X and Y axes. These motors are interfaced with a microcontroller, which acts as the brain of the system, interpreting the generated G-code and coordinating motion accordingly. Motor drivers are used to ensure smooth and controlled operation of the stepper motors, enabling high accuracy and repeatability in drawing.

A key modification in our design is the replacement of the traditional 3D printer extruder with a custom-designed 2D extrusion mechanism. Instead of extruding filament, this mechanism securely holds a pen, allowing the machine to draw or sketch directly into a surface. This transformation effectively converts a 3D printing framework into a 2D plotting device, making it more suitable for applications such as artwork reproduction, technical drawings and complex circuit or cad-cam files.

Challenges we ran into

The core innovation of our system lies in the custom-built webpage that directly converts an input image into sliced G-code (Geometric Code) or STL file format. Unlike conventional methods, where users must manually trace paths, vectorize images, and then process them through separate slicing software, our platform combines all these steps into a single streamlined process. Once an image is uploaded, the system automatically processes, optimizes, and compiles the data, generating accurate output files ready for execution without requiring additional user intervention.

From a hardware perspective, the pen plotter is built using multiple stepper motors that control precise movement along the X and Y axes. These motors are interfaced with a microcontroller, which acts as the brain of the system, interpreting the generated G-code and coordinating motion accordingly. Motor drivers are used to ensure smooth and controlled operation of the stepper motors, enabling high accuracy and repeatability in drawing.

A key modification in our design is the replacement of the traditional 3D printer extruder with a custom-designed 2D extrusion mechanism. Instead of extruding filament, this mechanism securely holds a pen, allowing the machine to draw or sketch directly into a surface. This transformation effectively converts a 3D printing framework into a 2D plotting device, making it more suitable for applications such as artwork reproduction, technical drawings and complex circuit or cad-cam files.

Discussion

Builders also viewed

See more projects on Devfolio