LayerSpy v1.3.0 - The Precision & IDE Update
This major update transforms the G-Code Explorer into a full-fledged IDE tree view and brings absolute, frame-perfect control to the playback simulator.
✨ New Features & Improvements
🌳 IDE-Style G-Code Explorer
- Tree-View Hierarchy: Folded sections (like
;LAYER:or;TYPE:) now visually indent all of their child commands perfectly. - Vertical Guide Lines: Added a continuous, faint vertical tree-line extending from the
+/-buttons down the entire block, exactly like modern code editors (e.g. VS Code). - Pixel-Perfect Alignment: The bookmark buttons (★) and G-code text of child lines are now mathematically aligned with their parent headers for a much cleaner layout.
- Smart Active Line Visibility: When a child line becomes active during playback, it receives a thick yellow left-border that highlights perfectly on the indented edge without breaking the tree structure.
- Smart Layer Jump: Jumping to a new layer now automatically highlights the very first command of that layer, rather than leaving the list blank.
🎥 Playback Speed Overhaul
- Absolute Speed Control: The playback speed has been completely decoupled from layer size. A layer with 15,000 paths no longer races through the list uncontrollably.
- Micro-Adjustments: Expanded the speed dropdown to give you absolute control:
0.1x(Extremely slow - perfect for debugging the nozzle path)0.25x0.5x1.0x(Default - exactly 30 lines per second)2.0x5.0x10.0x(Fast-forward mode)
- Continuous Tracking: The G-Code Explorer now automatically paginates and keeps the active line perfectly centered in your viewport while playing or scrubbing the slider.
🛠️ Bug Fixes & Under The Hood
- Auto-Pagination Loop Fix: Fixed a critical bug where the pagination engine would miscalculate the target page during playback, causing it to freeze or loop infinitely.
- Slider Rendering: Fixed a visual glitch where the playback slider's background track color (orange fill) wouldn't update programmatically during auto-playback.
- Contrast Improvements: Switched the playback speed dropdown to use the dark theme (
upload-btnclass) so the text is actually readable. - CSS Architecture: Migrated inline styles for the G-Code list into structured CSS classes (
.is-child) with robust cache busting (?v=2) to ensure styles load reliably.