Skip to content

LayerSpy v1.3.0 - The Precision & IDE Update

Choose a tag to compare

@Exulizer Exulizer released this 22 Aug 13:34
· 10 commits to main since this release
2f735bd

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.25x
    • 0.5x
    • 1.0x (Default - exactly 30 lines per second)
    • 2.0x
    • 5.0x
    • 10.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-btn class) 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.