Code Monkey home page Code Monkey logo

ezgraver's People

Contributors

camrein avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ezgraver's Issues

Preview has wrong size !

Hello Christoph.
I have an relatively old NEJE engraver.
It works ok with windows and the native software from Neje.
EzGraver seems to work with protocol 1 or 2.
Now, I would realy like to use my NEJE with linux but when I switch from win native software to EzGraver, the PREVIEW works false !
Let me explain :

  • each time, it covers 512x512 pixels, whatever the image size is,
  • except when the image is much smaller (#50 to 100 pixels ...)
  • However, the burning is ok
    Do I do something wrong ?
    If anybody could help me :-)
    Thanks
    JYS

Can't launch on macOS

Hi,
I run macOS 10.12.4 (latest), and when I try to run EzGraver's last release (2.3.0), here's what I get:

dyld: Library not loaded: @executable_path/../Frameworks/libEzGraverCore.1.dylib
  Referenced from: /Applications/EzGraverUi.app/Contents/MacOS/EzGraverUi
  Reason: image not found

Any idea on how to solve this? I also tried to build it from source following the instructions with no luck.
Thanks!

Scaling and stretched images: Autoscale the longest side but not both

Hi great software I really like it. Thank you so much for making it! I was wondering if it is possible to have newly loaded images autoscale to their longest side. It seems like right now when I load an image it scales the x and y to 100% fill in the allotted area. This results in a sometimes stretched image if the original is not a square. Why not check if the y length is larger than the x and if it is, find the scale for the y to fill 100% of the area, and then apply that same scale to the x to keep the proportion constant. Otherwise do the same but using the x length.

It would also be great if we could change the scale of both simultaneously to make the picture uniformly smaller. I sometimes do this because I like to burn stamps out of art foam and my stamps are sometimes smaller than the max area.

Thanks for considering these issues!

Manual scaling once an image has been loaded

Could we have a button to scale a loaded image smaller (and larger perhaps) once it has been loaded into EzGraver. Here is a usage scenario: I load an image into EzGraver to use for burning a rubber stamp. The stamp handle is about 3cm x 3cm and I want to scale down my image a touch before burning it. I propose adding a button or a precise input box or slider that would let me scale the image uniformly to fit the item I wish to burn.

Keep up the great work, we all really appreciate the effort you have put into creating this program!

Builds for Linux? Promoting EzGraver for Pen Turners.

Will there be build made available for Linux? I'm wondering if an AppImage or Flatpak would be an option for those that have difficulties making the project.

I'd also like to be able to promote this project in a couple of Pen Turning groups I frequent in Facebook where a lot of the makers in there use a Laser Engraver to well, engrave pens and a few of them have asked about how they can use Linux to do so. I was hoping this project might be a good starting point for them, and some of them may even be able to help with the technical side or even report issues.

Suggestion: add keyboard movements

So now that it works on my Mac, I played with it and it's pretty great. The only thing missing to make it, for me, the killer app, is to be able to move the laser with keyboard arrows instead of clicking on “right”, “left”, “up” and “down”.
Also some buttons to rotate the image and flip it would be quite useful. =)

I've downloaded everything I possibly can for this and then I press start and it says connection break retrying...

Let me start by saying that i know absolutely nothing about coding, im just trying to use the neje laser engraver for projects at my job. ive followed every instruction i could possibly find, downloaded everything for it that i could possibly find to download. i followed this entire thread on the EZgraver and i finally at least got it to the point where i could send the image to the machine but then it says image downloaded and then i press start and it immediately says connection break retrying and then i get nothing! i just want to use the machine that i just spent 80 damn dollars on! please help a girl out!!!!!!

Moving commands don't work on DK-8-KZ

With NEJE DK-8-KZ Left, Right, Up and Down buttons do nothing.
I checked the code and found that it sends single byte (e.g. 0xf5) commands instead of (0xf5, 0x03) as native application does. The second byte is probably a number of pixels to move laser on.
It may be because of the difference between versions of software. But older (or different?) models of the printer could possible accept also two-byte commands.

UPDATE: After double-checking I found that in my version it uses the following commands to move the laser:
up: {0xf5, 0x01}
down: {0xf5, 0x02}
left: {0xf5, 0x03}
right: {0xf5, 0x04}
Not sure if can be fit in the same protocol.

EzgraverUI on 3.5 inch screen

Hi is it possible to get EzgraverUI on 3.5inch screen? tried to use cli version with my raspberry pi 3..it didn't seems to work Gui version is ok on full screen monitor however not on 3.5 inch screen due to interface non resizeable. I would like to make a portable engraver machine and need the app to run on 3.5inc screen.

New, bigger, laser engravers

Hello,

This is just for discussion. I ran across this 1 W engraver (there is also a 1.5 W black version) and it seems to be quite good, with a larger engraving area (80x80 mm) than NEJE's and you can put it above the objects you'd like to engrave.

I don't know the brand, nor the protocol and software used for these engravers, but if it is ever supported by EzGraver, that would be awesome!

Of course I know it's not the priority and it may be quite complicated to make EzGraver work with new engravers, but we never know what might happen in the future. If I get one I will seriously try to contribute to EzGraver's source to try to make it work.

NEJE engraver faulty printing

My engraver works but the printing is all faulty, doesn’t respect the initial image , only print messy lines everywhere

stop printing before the end

Hello ,
i have a problem when i'm using my neje. i am on window10 and i use the 4.0-beta.
when the patern go very close to the end of the picture i load, or i try to grave it to it s maximum size and the patern go up to the border . it print everything perfectly eccept the very end of my picture not a lot but it's annoying
IMG_20200615_175135

Suggestion: dimensioning helpers

To help prepare an engraving, first, a ruler in mm (maybe select between mm and inches) on the image's 4 sides would be nice.
Better, automatically calculate image size in pixels and convert it into millimeters. The result could be shown under the image. Here's an example with the dimensions randomly positioned (they should be outside the image) and the rectangle that “crops” to the image:

Dimensions

UI works but CLI doesn't with NEJE DK-8-KZ

Hello,
EzGraver 4.0.0-beta works nicely with my DK-8-KZ on Linux Mint 19 Cinnamon with the UI version; however, when I try to run the CLI version, it connects to the DK-8-KZ via ttyUSB0 but is unable to command it via the reset, home, or start commands. I notice that the terminal window feedback differs between the UI and CLI versions - e.g., when I run the reset command in the CLI version, I see the message "transmitting 1 bytes "f9"", whereas when I run the same command in the UI version I see the message "transmitting 4 bytes "ff040100""; this seems to correspond somehow to the corresponding functions in ezgraver.cpp versus ezgraver_v3.cpp. What should I do to get the CLI version working?
Thank you!

Nothing to be done for 'install'

Hello,

i have a beginner problem.
I will install EzGraver on my Linux Mint 19.3 Laptop.
When i type the command 'make install' i get the message: Nothing to be done for 'install'

Who can help ?

Your sincerly

Stephan

Need help downloading/building

Hi all. I really like the look of your software. I just bought a 1000w neje laser engraver and would like to run your burning software so I can engrave. I am on a MacBook pro running el captain and the software provided doesn't seem to work. It finds and connects to the engraver but doesn't engrave.

I'm realky not too tech savvy so would anyone be able to give me step by step instructions on how to add the drivers and where i can find them as well as simple instructions on how to build the software?

I've never engraved before and really don't know how to get the machine working from my mac. Any help is really appreciated.

Thanks heaps.

Bolsta

Support for other Language?

Hello,

What file contains the GUI labels?
I'd like to translate it into German.

Maybe it is possible to add a language selection just like in the original software.

Suggestion: progress indicator

Adding a progress bar and remaining time estimation while engraving and, if possible, coloring the image red as the laser engraves it. The original NEJE's software works that way, each pixel is changed from black to red when the laser burns it.

Linux Build on Mint (Ubuntu) is NOT working.

I just built the project after forking, and when trying to run ./EzGraver.pro (as the only file I could see that looks like to run), as a normal user, and with elevated privileges, I get back bash: ./EzGraver.pro: Permission denied in both instances.

I've asked this before, is there an already built package available for various distros?

Possible Feature?

Firstly, thank you very much for creating this software.

I was thinking it might be possible to do greyscale images by taking an image and splitting it into say 4 levels of grey. The 4 seperated images could then be burned in sequence at different power levels corresponding to the greyscales.

Trying to compile for fedora

I have finally figure out what files I needed to compile. I have not been able to execute the code. its giving me location issues missing .so.1 files etc... trying to compile for Fedora 29

laser master 2 not working on Linux

I compile software for Fedora.
Starting, write connecting but nothing happened. [connection sucessfuly]
I cant move header, not start, pause, home etc.

I use USB connector, neje laser master 2 2020 20W
I run as user and as root.

Where are linux driver ?

Hi all,
I have a Neje Master.
I really appreciate this project; it compiles, it starts but I am looking for Linux driver and can't find it.

Can anyone help me ?

Add a timer with elapsed time

Hi, this is an enhancement request to have a simple timer that shows the hours/minutes/seconds that a job is taking. I understand that a "time remaining" timer would be complex to calculate (correct me if I'm wrong) so having at least a way to know how long a job has been running (so you can "guesstimate" the remaining time yourself) would be handy.
Thank you in advance,
Lucas Vieites

Besides NEJE add GRBL

link

Linux needs an equivalent

root@debian:/home/live# /home/live/EzGraverUi/EzGraverUi
Qt: Session management error: Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed
instantiating EzGraver on port "ttyUSB0" with protocol version 1
received 12 bytes: "8c8e0d95d54648480ebccdcc"
moving up
transmitting 1 bytes: "f5"
moving down
transmitting 1 bytes: "f6"
moving left
transmitting 1 bytes: "f7"
moving right
transmitting 1 bytes: "f8"
moving to center
transmitting 1 bytes: "fb"
moving to home
transmitting 1 bytes: "f3"
EzGraver is being destroyed, closing serial port
instantiating EzGraver on port "ttyUSB0" with protocol version 2
received 12 bytes: "8c8e0d95d54648480ebccdcc"
moving up
transmitting 2 bytes: "f501"
moving down
transmitting 2 bytes: "f502"
received 12 bytes: "8c8e0d95d54648480ebccdcc"
moving left
transmitting 2 bytes: "f503"
moving right
transmitting 2 bytes: "f504"
moving to center
transmitting 1 bytes: "fb"
moving to home
transmitting 1 bytes: "f3"
EzGraver is being destroyed, closing serial port
instantiating EzGraver on port "ttyUSB0" with protocol version 3
received 12 bytes: "8c8e0d95d54648480ebccdcc"
moving up
transmitting 4 bytes: "ff030100"
moving down
transmitting 4 bytes: "ff030200"
received 12 bytes: "8c8e0d95d54648480ebccdcc"
moving left
transmitting 4 bytes: "ff030300"
moving right
transmitting 4 bytes: "ff030400"
moving to center
transmitting 4 bytes: "ff020100"
received 12 bytes: "8c8e0d95d54648480ebccdcc"
moving to home
transmitting 1 bytes: "f3"
EzGraver is being destroyed, closing serial port
root@debian:/home/live#

Suggestion: positioning rectangle

Sometime, when first positioning your image onto the object you would like to engrave, you can run out of bound with the laser head. That means the motor gets near a border, when you continue moving or start engraving, the motor stays stuck at the endpoint and the engraving is messed up.
It would be great to show something like a dotted rectangle, the size of the image, that moves when pressing arrow keys, to make sure (visually is enough, don't need to block the user from moving) that rectangle stays in the allowed engraving area.
Here's an image with a solid rectangle the size of the image. This is the rectangle that should moves when positioning the laser.
Positioning rectangle

new protocol? Neje DK-8-KZ

I just got the engraver a month or so ago. I can connect to it, but only the up/down/left/right buttons work. None of the other bottoms work, and I can not do any engraving..

The Windows app from the manufacturer says "Software Version 4.0" in the bottom left of there desktop app.
screen shot 2018-09-25 at 2 21 43 pm

Only getting test image on Mac

No matter what I seem to do and what image I load, I only get the test image to print when I hit "start". I'm connected with V3 and all other commands appear to work well. I have no doubt that I'm missing something simple, however I can't seem to figure out what it is. Thanks.

Comment and trouble similar as Issue #12 NEJE DK-8-KZ cant transfer data correctly

Hello Camrein,

I absolutely respect your effort and other peoples same mindmap about making the cheap NEJE laser engravers accessible to the Linux users. This is where this type of diy machines should originate.

So I only use linux, and saw this real cheap machine and had a look to see if I would be able to get it running and found some backwards engineering... some scripts and your perfect effort to actually get this machine running on my mint machine...

So I ordered my NEJE DK-8-KZ build by Trustfer hoping I would be able to get it to burn my idears.

And so far... It has burned the test butterfly that was preinstalled on its eprom many times...

I cant seem to get the data connection needed to actually send a new Image 512x512 px to the eprom.

Your EzGraver 3.2 software recognizes the serial connection of my NEJE DK-8-KZ perfectly.

So I try and connect.

connecting to port ttyUSB0 with protocol version 2
connection established successfully
loading image: /#####/####/Downloads/ezgraver source/EzGraver-3.2.0/screenshot.png
erasing EEPROM
uploading image to EEPROM
upload completed

So all seems ok up to this point.

The Engraver wakes up after uploading my image through your Gui or Cli..

It buzzes and relocates after a few seconds.

Then I try and start...

Nothing happens.

Not through the Gui nor Cli..

The up down left right reset start pause etc ... buttons have no effect.

When I press the red button on the machine... I starts printing from its eprom and gues what...

It again prints the preinstalled test butterfly NEJE put on the eprom.

I would love to help us out with pentesting and trying to figure out why I cant communicate with the machine. Maybe the protocol has changed.

I tried V1 and V2 of your protocol options that appear automaticly within EzGraver but untill now no result nor any change.

I truely hope you are still reading this and willing to help the diy people on a china budget out to get this working open source.

Sorry to cause this trouble... but hope it might be simple and just something I have overlooked.

I truly hope I will be able to engrave some nuts and autumn nature with poetry on a small scale this year ;-)

I love your work so far. Looks perfect. Hopefully I can get it to work for me.

EzGraver on Raspberry Pi 3 running raspbian

Hi all,
I have compiled and installed EzGraver on my Raspberry Pi 3 with raspian (same instructions as for Ubuntu) and am just one step away from engraving.
I have been able to connect to my DK-8-KZ and do all the motions: up, down, left, right, center. I can also upload an image successfully, but when I press the Start button it only does a "preview" round and then seems to send just 1 byte (I see a quick flare of more intense light at the beginning of the drawing) and stops.

Any idea of what can be happening?
Regards,
Lucas

DK-BL Support

EzGraver 3.2 & 4.0 beta does not seem to work with the newer DK-BL (bluetooth) model. It will connect, but will not respond to any commands after uploading image to DK-BL. I've confirmed this on both Windows 7 x64 and Ubuntu 16.04 x64 using protocols 1, 2 & 3. The NEJE app works fine on the Windows machine.
Any help would be appreciated.

Running on macOS 10.13.2

Hi! First of all, I would like to congratulate you for this amazing work! Despite the fact your software is the only one I can use to run this cheap engraver on Mac, it certainly is much better than the original windows only.

After digging with the drivers and protocol versions, I could engrave with my new DK-8-KZ.

Only things I miss so far is the engrave progress indication (absent from version 4.0.0 Beta, as indicated in release notes) and the directly text insert tool.

So, I would like to suggest you to include the option, on EzGraver (if not very difficult), to insert text on the image area, so for the times when all is needed is to engrave text, I can do it directly from EzGraver, instead of create the image of the text on another program and then import it to be burn.

Another suggestion is to include rulers on image area, to it's possible to get an approximate idea of the final size of the engrave job.

Thank you for your great work so far in this amazing piece of software!

Best regards,

Harlley

Ctrl+Z to Exit the CLI Application

Hi. I am using the EzGraverCli application with a NEJE DK-8-KZ 1000mW, on Ubuntu.

The CLI application engraved the "Works!" image when I gave it the 's' argument.

The engraving came out nice!

But the application did not run to completion; I had to issue ctrl+z for it to end.

Is this a known issue on Linux/Ubuntu?

Suggestion: Option to repeat burn x amount of times

Hi,

Great work on the software! Using V3_extended as it supports my variant of the engraver. Please add an option to repeat the engraving process x number of times - in my case increasing the burn time causes the heat to spread and "bleed" into the surround, I find repeating the burn a certain number of times produces a deeper etch without the bleed.

Compiling on OSX 10.13.6/Xcode 10.1/qt 5.12.0

I haven't had any luck with the latest release on my newish (2018.8) DK-8-KZ so I thought I'd try to build the latest on the unix_cli_fixes branch. I'm getting "./ezgraver.h:7:10: fatal error: 'QSerialPort' file not found." I tried changing the include line to QtSerialPort/QSerialPort since that header file is in a subdir of the include folder, but then I get a slew of errors:

In file included from ezgraver.cpp:1:
In file included from ./ezgraver.h:7:
In file included from /usr/local/include/QtSerialPort/QSerialPort:1:
/usr/local/include/QtSerialPort/qserialport.h:63:5: error: function-like macro 'QT_DEPRECATED_SINCE' is not defined
#if QT_DEPRECATED_SINCE(5, 2)
^
/usr/local/include/QtSerialPort/qserialport.h:69:5: error: function-like macro 'QT_DEPRECATED_SINCE' is not defined
#if QT_DEPRECATED_SINCE(5, 3)
^
/usr/local/include/QtSerialPort/qserialport.h:87:5: error: unknown type name 'Q_FLAG'
Q_FLAG(Direction)
^
/usr/local/include/QtSerialPort/qserialport.h:87:22: error: expected ';' at end of declaration list
Q_FLAG(Direction)

... etc etc, lots of the same sort of things. What are people running to lead to a successful build? I'd really like to see if the revisions since the 4.0.0-beta release will fix the non-operation of my engraver.

Thanks!

DK-8KZ not supported

DK-8KZ isn't working for me when I use Ubuntu/Linux. (I have just tried with Win7 and your program, can upload and start burning. with win7 laser engraving with DK-8KZ working fine, I did also install the driver that can be downloaded from the neje homepage)
. I was looking forward to be able to use my Linux laptop with your nice work :-)
I think the firmware is different for the DK-8KZ and 'other' Neje older laser engravers. I don't know how I can debug the USB/serial communication protocol.

I can notice that ttyUSB0 is being found when using EzgraverUI and it seems that I can connect. but DK-8KZ isn't moving, uploading or anything

Br
Brian

Suggestion: Screen Size

So far, I'm enjoying EzGraver (beta). After a bit of troubleshooting I've got it working quite well, I like the additional features over the release version. My suggestion is merely a screen size issue. I use the program on a laptop with a wide screen, but narrow top to bottom. The top and bottom of the app is getting cut off. I would only suggest that you resize a few items or rearrange the controls to fit a smaller screen better. Screenshot

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.