gcode-to-text

Analyze G-code toolpath geometry to extract encoded text content.

Updated Feb 24, 2026
One-click install
npx skills add https://github.com/Zurybr/lefarma-skills --skill gcode-to-text-zurybr
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gcode-to-text
Source: https://github.com/Zurybr/lefarma-skills/tree/main/letta/benchmarks/trajectory-only/gcode-to-text
Command: npx skills add https://github.com/Zurybr/lefarma-skills --skill gcode-to-text-zurybr

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill decodes text that has been encoded as geometric toolpaths within G-code files, allowing you to recover or interpret text content from 3D prints, CNC engravings, or laser cut designs.

Core Features & Use Cases

  • Geometric Text Interpretation: Analyzes G-code coordinates to reconstruct visible text shapes.
  • Reverse Engineering: Useful for identifying text on objects where only the G-code is available.
  • Use Case: You have a 3D print file (G-code) for a custom part that has a small logo or text embossed on it. This Skill can analyze the toolpath to tell you what the text says.

Quick Start

Use the gcode-to-text skill to analyze the file 'logo_engrave.gcode' and identify any text patterns.

Frequently Asked Questions about gcode-to-text

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I extract text from G-code toolpaths in a 3D print or CNC file?

You can decode text from G-code toolpaths by analyzing coordinate patterns from movement commands like G0 and G1 to reconstruct visible text shapes. This geometric interpretation reveals hidden or embossed textual information in 3D prints and CNC engravings.

What is G-code geometry analysis and how does it identify printed text?

G-code geometry analysis is a technique that interprets coordinate data from toolpaths to reconstruct visible shapes. It identifies printed or engraved text by mapping geometric movement patterns back to their corresponding textual characters.

Can I reverse engineer embossed text from a G-code file without the original 3D model?

Yes, you can reverse engineer embossed text solely from a G-code file without the original 3D model. Analyzing the toolpath coordinates and movement commands reconstructs the geometric shapes to identify the encoded text.

Does this G-code text extraction work with both 3D printing and CNC laser cutting files?

Yes, G-code text extraction works for both 3D printing and CNC laser cutting files. It analyzes standard movement commands and coordinate data to interpret toolpath geometry and identify text across these manufacturing formats.

What are the limitations of decoding text from G-code coordinate patterns?

A limitation of decoding text from G-code coordinate patterns is the reliance on analyzing movement commands like G0 and G1, which may struggle to accurately interpret complex, overlapping, or highly abstract toolpath geometries.