Duet3D Logo Duet3D
    • Tags
    • Documentation
    • Order
    • Register
    • Login

    Ideas for laser raster engraving

    Scheduled Pinned Locked Moved
    Firmware wishlist
    1
    1
    136
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • frank26080115undefined
      frank26080115
      last edited by

      I recently got a FLUX Beamo laser cutter. It's got a Raspberry Pi and a STM32 inside. The software ecosystem is pretty closed up, no G-code in or out. However, the Pi's microSD card is easily accessible and FLUX left some old outdated source code on there, outdated but enough for me to be able to convert their "FLUX Task" files into G-code. (not the other way around, no G-code to FLUX-Task, but I conjured up "human readable F-code" with some Javascript converter I wrote and I can edit FLUX-Task files now)

      I found something interesting: The way they send over monochrome data to the STM32 not as a series of G-code, but instead, for example, [0xFF, 0xFF, 0xFF, 0xFF] would represent 32 pixels (4 bytes, 8 bits each). At 0.1mm per pixel resolution, that is a black line 3.2mm long. If you do [0xAA 0xAA 0xAA 0xAA], it would be a dithered line 3.2mm long. Of course more bytes can be sent for longer lines. After a line is done, it shifts 0.1mm down the Y axis and starts another line.

      Anyways, I thought that was pretty cool. Maybe you guys want to implement something like that? How do other systems do it?

      Hmm... My Duet WiFi has a microSD card, and BMP files are pretty easy to parse. It might be even easier if you just allowed the user to engrave a BMP file directly, given pixel resolution and starting coordinates.

      1 Reply Last reply Reply Quote 0
      • First post
        Last post
      Unless otherwise noted, all forum content is licensed under CC-BY-SA