# Introduction

**MIDILLI G-Code Generator** is a free and versatile command-line tool for creating [G-Codes](https://en.wikipedia.org/wiki/G-code) files to prepare box-shaped parts. It supports circular drill holes, rectangular cutouts, and precise dimensions in metric units. The generated G-code files are compatible with [CNC routers](https://en.wikipedia.org/wiki/CNC_router) supporting [GRBL](https://github.com/grbl/grbl), ensuring seamless design preparation.

![image.png](https://docs.midilli.tech/uploads/images/gallery/2025-11/scaled-1680-/Vn4image.png)*Slightly changed version of the example project, with screws, screw heads, recesses, and component rotations.*

Derived from the in-house MIDILLI Tech Automation Suite, this tool is a simplified yet robust solution.

It is offered free for non-commercial use. You can find the full license details [here](https://midilli.tech/software-license/).

<p class="callout danger">Warning: Operating CNC routers requires a safe environment to prevent exposure to dust, debris, and high-speed moving parts. Never place your hands near moving parts. Always ensure proper ventilation, wear safety goggles, and use hearing protection. Additionally, perform a simulation to ensure the final G-code does not attempt to drill or move into restricted and/or dangerous sections.</p>

Please choose a topic from left to read.