Remove small Voronoi artifacts from output#748
Remove small Voronoi artifacts from output#748thomergil wants to merge 1 commit intopcb2gcode:masterfrom
Conversation
|
Did you try the |
eyal0
left a comment
There was a problem hiding this comment.
Please check if the --optimise feature is doing a good enough job for this.
|
|
|
Thanks for that research. By jumps, you mean that the CNC will go down, etch a very tiny segment, then come up and do it again? And it's doing lots of these tiny ones? That is surprising to me because I have used voronoi many times and it has not done that for me. Can you provide test gerberfiles and a millproject file that I can run and look at? I do not own a CNC, I am examining the output with the bCNC software. The voronoi algorithm should create continuous lines. Even if they have many segments, the segments should be connected to one another so it should be a continuous path without too much lifting. If many of the paths join each other at vertices with odd number then the eulerian path optimizer might create many little jumps. But the backtrack optimizer should be able to fix this. The backtrack optimizer is the one that decides that it is better to etch a path twice than to lift and lower. It is controlled by your preference for CNC milling time versus wear on the milling tool. I am currently on holiday so I can't investigate this right now. In the meantime:
I will be able to look at your issue in January. Thanks for your patience. |
|
When I rebase this code on to the latest Can you test again after you rebase this code on to |
|
I don't understand what you are asking me. Which test should/would have caught the hundreds of tiny artifacts? And if it had no effect, are you saying the tests didn't catch those artifacts in the first place? |
1bf8c07 to
6b59f44
Compare
|
I'll explain. In the testing for I modified this PR to set ( However, your PR is based on code that is 4 weeks ago and that code is known to have a problem. I have since fixed that problem. I tested this PR in the same way on the the latest code. So that you can compare, I have done it in my own filter_voronoi_artifacts branch. If you look at the code change there, you will see it is the same as this one. And also there, I have set the default So for that reason, I would ask you to please perform the same testing as you did before but this time use your If you still find that I'm wrong, though, then please send me a gerber file for which |
|
Got it! Awesome, thank you @eyal0. Will do. |
|
I still have the problem with today's compiled version of |
6b59f44 to
444f68c
Compare
|
Can you share the Gerber file? I'm curious to see what those small lines are? I worry that removing tiny lines can cause incorrect outputs! |
Without this option, there are (quite literally) hundreds of tiny artifacts (even on a relatively small board) that cause a CNC machine to jump up and down during milling endlessly. By using
--min-path-length=0.1, these are removed, speeding up the milling process -- and making it less restless and jumpy.