Comments (11)
G code Optimisation:
In an example of a 50mm*50mm picture that has a 20mm wide figure in the middle and has 15mm of empty space the laser travels that empty space as well but does nothing. It would be better if it would skip these empty spaces and empty lines entirely.
White skipped the purpose / work transcends time and unnecessary abbreviations Movement
It would be good if it would skip the white parts during the work process to shorten the time and prevent useless movement.
Thank you.
from lasergrbl.
When it starts the burning the M3 instruction is omitted in the first line.
If so, it's a bug. I will investigate as soon as possible.
At the end of each line M5 switches off, then when it starts coming back M3 switches back on. Consecutively, both of them are unnecessary.
This is necessary and by design.
Take a look at this image, made line by line by horizontal strokes. The horizontal line must have the laser on, the vertical line exchange must ensure that the laser is switched off. Otherwise it would be marked a vertical line to the left and right edges of the image.
It's true that in cases where at the end of the line laser is already off (S0) this M5-M3 seems superfluous, but it is not true in all other cases.
from lasergrbl.
In an example of a 50mm*50mm picture that has a 20mm wide figure in the middle and has 15mm of empty space the laser travels that empty space as well but does nothing. It would be better if it would skip these empty spaces and empty lines entirely.
White skipped the purpose / work transcends time and unnecessary abbreviations Movement
It would be good if it would skip the white parts during the work process to shorten the time and prevent useless movement.
Yes, a lot of improvements can be made in this direction.
All leading / trailing white lines may be skipped. Also avoid arriving at the end of line but move directly to the next line. Something like this:
In the past I tried to insert optimizations such these, but the line generation algorithm became too complicated so i abandoned this way.
from lasergrbl.
It's true that in cases where at the end of the line laser is already off (S0) this M5-M3 seems superfluous, but it is not true in all other cases
Many other g code generator did not use the M3-M5 is anything but start and end. Use S0 instruction .The problem to quickly turn off and then turn the engine driver, and because the micro step is clapping, jumping and noisy. sometimes jumps one step it is a lot . (1 step = 64 micro step)
Im Isolating the engine driver enable input from the GRBL.
from lasergrbl.
M3 error.
G code first line:
G90
F400
G0 X0 Y0
M5 S255
G1 F350
G91
G0 F400 X2.6 S0
G1 F350 X.1 S255
G0 F400 X2.1 S0
G1 F350 X.1 S255
G0 F400 X.5 S0
G1 F350 X.1 S255
G0 F400 X2.3 S0
This is correct:
G90
F400
G0 X0 Y0
M5 S255
G1 F350
G91
M3<<<<<<It can not generate it
G0 F400 X2.6 S0
G1 F350 X.1 S255
G0 F400 X2.1 S0
G1 F350 X.1 S255
G0 F400 X.5 S0
G1 F350 X.1 S255
G0 F400 X2.3 S0
from lasergrbl.
If you are able to checkout sourcecode and compile, the last commit has a fix for this bug.
N.B. I have not had a chance to test it because I do not have laser engraver available at this time
from lasergrbl.
GCode optimization was added in development roadmap (when I have time...)
from lasergrbl.
Very clever man.
Thank you.
from lasergrbl.
Last commit contains GCode optimization (skip consecutive blank lines and move directly to next mark)
from lasergrbl.
About the problem you tell me about dithering, of sparse small dots
It not depends on a bug in the dithering alghoritm but it depends by the source image. If the source image has not a perfect white background (ie. for jpg compression artefacts) dithering try to represent this non pure white areas/points with small scattered dots.
If the image has a true white background this problem disappear
Maybe I could add some kind of "white thresholds" to clean dirty background in image preprocessing, for now I suggest you to preprocess images with Photoshop or similar to clean background.
from lasergrbl.
The G-code optimization has been very good.
This is a very nicely developing project.
Thank you.
from lasergrbl.
Related Issues (20)
- svg file spindle speed command contains trailing space when saved to a TF card HOT 2
- Vertical Engraving drops down HOT 1
- Polygon2D in version 4.3 not visible
- Wrong laser power and homing gcode
- Adding Direction Control to Line to Line Tracing Conversion
- Problems with BETWEEN THE AISLES
- homing machine without sensors on z axis (windows ) HOT 2
- problem downloading HOT 4
- v6.1.0 PWM
- Disconnecting in version 6.01 HOT 1
- beep on frame!
- Raspberry Pico - GRBL V1.1 running in laser mode - Support for LaserGRBL to access usb-com port from raspberry pico HOT 1
- Ooops Something went wrong
- grblhal + teensy 4.1 HOT 7
- LaserGRBL version 6.1.0 and 6.2.0 Cannot connect. HOT 1
- Images are being squashed HOT 3
- Cant use max power on my laser module HOT 3
- Version for the old NEJE MASTER
- lasergbrl download win 11 professional
- My first go as well.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lasergrbl.