-
-
Notifications
You must be signed in to change notification settings - Fork 19
Description
Hello,
after update cartographer-klipper (old plugin) to cartographer3d-plugin (new plugin) and display to v0.0.0-147-gfc843263-inferred during scanning display freezing in scanning view.
Log:
Mar 02 20:45:53 znp-k1 python[1919]: 2026-03-02 20:45:53,464 - INFO - Creating new thread pool
Mar 02 20:45:53 znp-k1 python[1919]: 2026-03-02 20:45:53,509 - INFO - Thumbnail parsing completed
Mar 02 20:45:53 znp-k1 python[1919]: 2026-03-02 20:45:53,510 - INFO - Displaying the thumbnail
Mar 02 20:45:53 znp-k1 python[1919]: 2026-03-02 20:45:53,895 - DEBUG - Thumbnail sent to display
Mar 02 20:45:54 znp-k1 python[1919]: 2026-03-02 20:45:54,074 - INFO - Thumbnail displayed successfully
Mar 02 20:54:14 znp-k1 python[1919]: 2026-03-02 20:54:14,855 - INFO - Rapid scan mode detected - using simplified visualization
Mar 02 20:54:15 znp-k1 python[1919]: 2026-03-02 20:54:15,255 - DEBUG - Navigating to printing_kamp
Mar 02 21:02:52 znp-k1 python[1919]: 2026-03-02 21:02:52,744 - INFO - Status Update: complete
Mar 02 21:02:52 znp-k1 python[1919]: 2026-03-02 21:02:52,745 - INFO - Preventing navigation during bed leveling
With AI help I changed a few lines of code in the display.py file:
Oryginal:
elif "Beginning rapid surface scan" in response or "Touch home at" in response:
# Rapid scan mode (Eddy/Cartographer/Beacon) - these probes don't send
# "Adapted mesh bounds" or "probe: at" messages, so we handle everything here
self._rapid_scan_mode = True
self.bed_leveling_probed_count = 0
self.bed_leveling_last_position = None
self._bed_leveling_complete = False
# Reset leveling_mode for KAMP during printing
if self.current_state in ("printing", "paused"):
self.leveling_mode = None
logger.info("Rapid scan mode detected - using simplified visualization")
current_page = await self._get_current_page()
if current_page != PAGE_PRINTING_KAMP:
self._loop.create_task(self._navigate_to_page(PAGE_PRINTING_KAMP, clear_history=True))
self._loop.create_task(
self.display.update_kamp_text("Scanning bed surface...")
)
Changed:
elif "Beginning rapid surface scan" in response or "Touch home at" in response:
self._bed_leveling_complete = True
self._rapid_scan_mode = True
return
Now display don't freeze during scanning.
There is probably some error in the display.py file