The Privacy-First, 100% Client-Side 3D Print G-Code Analyzer & Simulator
Website: https://layerspy.de
Your files and data NEVER leave your computer.
Unlike cloud-based slicers or online converters, LayerSpy processes, analyzes, and renders everything 100% client-side inside your web browser:
- 🛡️ Zero Server Uploads: When you open or drag & drop a
.gcodefile, it is parsed directly in memory on your device using a multi-threaded Web Worker. - 💻 Client-Side WebGL Rendering: 2D and 3D toolpaths are rendered locally on your GPU using Three.js and hardware-accelerated shaders.
- 💾 Local Settings Storage: User preferences and language selections are stored strictly in your browser's local storage (
localStorage). No telemetry, analytics tracking of file contents, or external database queries. - 🚀 Confidential & NDA Ready: Safe for proprietary engineering prototypes, commercial 3D designs, and confidential G-Code.
- 🔌 PWA & Offline Capable: Installable as a Progressive Web App (PWA) and fully operational without an internet connection.
-
🚀 Next-Gen Toolpath Visualizer (2D & 3D):
- High-performance WebGL rendering with support for both lightweight line rendering and volumetric solid tubes.
- Multi-threaded streaming parser supporting large multi-hundred-megabyte G-Code files seamlessly.
-
🎛️ Dynamic Zen Mode & Multi-Screen Workspace:
- One-click sidebar collapse (Zen Mode ⛶) to maximize your 3D viewport.
- Fully responsive HUD toolbar and auto-compact layout for laptops and small monitors.
-
📐 Overhang Angle Radar & Bridge Detection:
- Color-coded overhang analysis (<45° Safe, 45–60° Moderate, 60–75° Steep, >75° Critical, Bridges).
-
🎯 Pressure Advance (PA) & Corner Bulge Auditor:
- Detects melt-zone pressure spikes and high deceleration points (
$\Delta v > 60\text{ mm/s}$ ). - Live simulator with direct Klipper (
SET_PRESSURE_ADVANCE) and Marlin (M900) code embedding.
- Detects melt-zone pressure spikes and high deceleration points (
-
📡 VFA & Resonance Radar:
- Identifies motor vibration zones and surface ripple risks on outer walls.
-
🏎️ Real Kinematics Simulation (Klipper / Marlin):
- Forward/backward trapezoid motion planner calculating realistic print times based on acceleration, jerk, and square corner velocity.
-
🌐 100% Bilingual Localization:
- Instant toggle between English and German across all inspection panels, diagnostic linter alerts, and tooltips.
- Frontend: Vanilla JavaScript (ES6+), HTML5 Canvas, WebGL, CSS Custom Properties
- 3D Engine: Three.js & OrbitControls
- Streaming Engine: Web Workers with
ReadableStreamchunked binary parsing &Float32Arraybuffers - PWA: Service Worker caching for instant offline availability
Distributed under the MIT License. See LICENSE.md for more details.