winder / Universal-G-Code-Sender

A cross-platform G-Code sender for GRBL, Smoothieware, TinyG and G2core.
http://winder.github.io/ugs_website/
GNU General Public License v3.0
1.84k stars 758 forks source link

Universal g-code sender doesn't want to open .gcode files and crashes when saving clipart #2513

Closed wmoscon1 closed 1 month ago

wmoscon1 commented 1 month ago

Version

2.1.6

Hardware / Firmware

GRBL 1.1

What happened

Hello.. when trying to open .gcode or .ngc files, the program cannot load the files and closes the tab and does not load, in relation to the clipart, the moment I go to save it, it crashes the entire system, thanks. Note: sorry for my English, I'm Brazilian

How to reproduce

image

Operating System

Windowns 10

Anything else

No response

breiler commented 1 month ago

Can you share your log file? Go to the menu "Tools > Open log directory" and attach the messages.log here.

wmoscon1 commented 1 month ago

follows..

messages.log

wmoscon1 commented 1 month ago

If you want me to delete it and generate it again, just let me know.

Another thing... by chance it doesn't generate cache, maybe it would just be me cleaning it, because it worked on the other machine, but on the one I'm on it doesn't open. grateful

wmoscon1 commented 1 month ago

image

wmoscon1 commented 1 month ago

I managed to solve the problem, however, on the two machines I installed, the gcode clipart is not generated correctly. grateful!!

breiler commented 1 month ago

What do you mean that the gcode clipart is not generated? Can you post a screenshot with the error?

wmoscon1 commented 1 month ago

When I create clipart, for example, I place an ant, when I send it to the machine it asks to save what was done and then generates a gcode without positions.

image

image

Or of course, it could be me who doesn't have much experience with the application yet.

grateful

breiler commented 1 month ago

Ah, select the ant shape and set the cut type and the target depth. Then press save and you should see it in the 3D visualiser.

wmoscon1 commented 1 month ago

Thank you very much, it worked!

wmoscon1 commented 1 month ago

One more question, how do I increase the memory consumed by the application? Why does the app crash a lot when manipulating it!

breiler commented 1 month ago

Can I have a fresh log file?

wmoscon1 commented 1 month ago

Of course, follow..

messages.log

breiler commented 1 month ago

I don't think that memory is an issue, from the log I can see that it will use up to 8Gb which is more than enough to be able to run UGS. Next time it crashes, post the latest log file from the directory C:\Users\wmosc\AppData\Roaming\ugsplatform\var\log\

wmoscon1 commented 1 month ago

I had to close it now through the task manager because it didn't respond, here's the most recent generated file...

messages.log

wmoscon1 commented 1 month ago

The moment I resize the image it stops responding

wmoscon1 commented 1 month ago

Here it got stuck right when the image was being resized, it was shrinking the image.

image

wmoscon1 commented 1 month ago

The application stops responding.

image

breiler commented 1 month ago

Did you import a DXF or SVG file? May I have the source? It looks like it contains a lot of points which could explain this problem.

wmoscon1 commented 1 month ago

I imported a png, an image, this would be the one below.

monica-01

wmoscon1 commented 1 month ago

the site won't let me load the file that ugs saves.

wmoscon1 commented 1 month ago

image

image

breiler commented 1 month ago

I understand, the settings you were using will create very many small tiny objects which UGS will have problems applying the scaling operation to.

I think that if you wanted to carve this it will take a loooong time. So the key is to simplify.

With these settings I get somewhat more usable vector graphics: image image

wmoscon1 commented 1 month ago

Perfect... thank you very much for your help.

wmoscon1 commented 1 month ago

For some reason it was unable to generate the design when passed to the machine, it was lost.

IMG_20240509_173557

wmoscon1 commented 1 month ago

ok.. now he draws correctly.

IMG_20240509_205210

breiler commented 1 month ago

I am closing this as it seems that you are up and running.