gcode-to-text
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.
More from letta-ai/skills
extracting-pdf-text
Extract text from PDFs for LLM consumption. Use when processing PDFs for RAG, document analysis, or text extraction. Supports API services (Mistral OCR) and local tools (PyMuPDF, pdfplumber). Handles text-based PDFs, tables, and scanned documents with OCR.
257imessage
Send and read iMessages/SMS from macOS. Use for texting contacts, scheduling services, or automating message-based workflows. Triggers on queries about texting, messaging, SMS, iMessage, or contacting someone via text.
206video-processing
Guide for video analysis and frame-level event detection tasks using OpenCV and similar libraries. This skill should be used when detecting events in videos (jumps, movements, gestures), extracting frames, analyzing motion patterns, or implementing computer vision algorithms on video data. It provides verification strategies and helps avoid common pitfalls in video processing workflows.
189letta-api-client
Build applications with the Letta API — a model-agnostic, stateful API for building persistent agents with memory and long-term learning. Covers SDK patterns for Python and TypeScript. Includes 24 working code examples.
153google-workspace
Connect to Gmail and Google Calendar via OAuth 2.0. Use when users want to search/read emails, create drafts, search calendar events, check availability, or schedule meetings. Triggers on queries about email, inbox, calendar, schedule, or meetings.
127portfolio-optimization
Guidance for implementing high-performance portfolio optimization using Python C extensions. This skill applies when tasks require optimizing financial computations (matrix operations, covariance calculations, portfolio risk metrics) by implementing C extensions for Python. Use when performance speedup requirements exist (e.g., 1.2x or greater) and the task involves numerical computations on large datasets (thousands of assets).
101