gcode-to-text

Installation
SKILL.md

GCODE Text Extraction

This skill provides strategies for extracting text content that is geometrically encoded within GCODE files. GCODE files contain movement coordinates that define toolpaths for 3D printers and CNC machines. When text is embossed, engraved, or printed, the letter shapes are encoded in the X/Y coordinate movements, not in human-readable metadata.

Core Principle

Text in GCODE is encoded geometrically, not as metadata. The shapes of letters exist in the coordinate data of G0/G1 movement commands. Searching for comments, M117 display messages, or filename hints will rarely reveal the actual text content.

Recommended Approach

Phase 1: Quick Metadata Check (Do Not Linger)

Perform a brief check for explicit text indicators, but do not spend excessive time here:

  • Check for M117 (LCD message) commands: grep "M117" file.gcode
  • Check file header comments for explicit text labels
  • Look for slicer metadata that might name objects

If metadata search yields no results within 2-3 attempts, immediately proceed to Phase 2. Do not repeat similar metadata searches.

Related skills

More from letta-ai/skills

Installs
37
Repository
letta-ai/skills
GitHub Stars
97
First Seen
Jan 24, 2026