What problem does it solve?
Many G-code files encode letters and symbols only as movement commands rather than explicit text labels, making it difficult to know what will be printed or engraved without analyzing toolpath geometry. This Skill helps recover readable text and symbols by extracting, visualizing, and interpreting coordinate sequences that define letter shapes.
Core Features & Use Cases
- Coordinate extraction: Parse G0/G1/G2/G3 commands to get X/Y (and Z/E where relevant) sequences that trace letter outlines.
- Visualization: Produce plots or ASCII approximations of toolpaths so letters become visually recognizable.
- Clustering & interpretation: Group strokes by X-range or continuity to separate letters and compare shapes to known patterns for recognition.
- Use cases: Reverse-engineer engraved serials or labels from CNC/laser G-code, verify what a 3D printer will print, or recover hidden text from toolpaths in forensic or archival workflows.
Quick Start
Analyze the attached file print.gcode and extract any text or letters encoded in the toolpath coordinates using coordinate extraction and plotting.