I bought a Neje DK-8-KZ laser engraver (Gearbest). It’s not bad at all but does not have any Linux Software. Luckily the communication protocol is pretty basic so understanding it was pretty easy.
The working principle is pretty easy: The machines accept a 512×512 bit matrix in form of a 1 bit depth BMP.
I made a linux bash script to send the matrix to the Neje DK-8-KZ laser engraver (Link to github in the bottom). The image sent must be 512×512 1 bit depth andò vertically flipped. The image mono.bmp is an example and, any image should be of the same dimension.
Best way to use is with gimp. Create a 512×512 image, flip it vertically then save as BMP. Then open it and do Image -> Mode -> Indexed -> 1 bit depth.
In this way you can manually write the dot matrix.
A more automatic way is using the python script to control the New laser engraver. This script has limited automation and works with any image (Current version still stretch non square images).
Right now the workflow is like this:
* Convert image
* Check converted.bmp for the result (It will be vertically flipped)
* Load image to new laser engraver
* Set burning time (Or default will be used)
It has some python dependencies because I used a couple of fast prototyping libraries.
Why the hell did I make a python script?
Simple! The python script is theoretically able to use the New laser carve to print complex images by dividing it by luminosity and printing overlapped images.
Project Gthub: https://github.com/AxelTB/nejePrint