[WIP] Clean up and port MEGA P laser feature from TFT #540

Draft
stklcode wants to merge 2 commits from stklcode/feature/anycubic-laser into master
stklcode commented 2024-06-27 11:05:37 -05:00 (Migrated from github.com)

Description

Clean up the more or less neglected code snippets from the original Anycubic MEGA P laser feature.

Remove the KNUTWURST_MEGA_P_LASER switch and make all logic available with KNUTWURST_MEGA_P.
(we might discuss this, maybe someone might like to disable it to save some memory)

Additionally, we patch the cardreader module to not ignore .bmp files on these machines.

+++ WORK IN PROGRESS+++

current status:

  • BMP files are detected listed on SD card
  • BMP files are correctly analyzed in terms of dimensions
  • indicator (laser moves around the image border with low intensity) works
  • actual laser engraving hangs after the first move, have to investigate why.

Requirements

Anycubic MEGA P with laser module

Benefits

The feature is not really useful imho, but it should finally work.

Configurations

--

--

### Description Clean up the more or less neglected code snippets from the original Anycubic MEGA P laser feature. Remove the `KNUTWURST_MEGA_P_LASER` switch and make all logic available with `KNUTWURST_MEGA_P`. (we might discuss this, maybe someone might like to disable it to save some memory) Additionally, we patch the cardreader module to not ignore _.bmp_ files on these machines. **+++ WORK IN PROGRESS+++** current status: * BMP files are detected listed on SD card * BMP files are correctly analyzed in terms of dimensions * indicator (laser moves around the image border with low intensity) works * actual laser engraving hangs after the first move, have to investigate why. ### Requirements Anycubic MEGA P with laser module ### Benefits The feature is not really useful imho, but it should finally work. ### Configurations -- ### Related Issues --
This pull request is marked as a work in progress.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin stklcode/feature/anycubic-laser:stklcode/feature/anycubic-laser
git checkout stklcode/feature/anycubic-laser
Sign in to join this conversation.
No description provided.