JohnAtl/pcbgcode

sporadically erratic sorting of etching pathes on double sided boards

Closed this issue · 1 comments

Hi John,
this is not a real issue, since I cannot reproduce it... Or better, I can reproduce it, but only with a given, relatively complex, double sided design.
When I tried to reproduce the effect with a stripped down part of this very design, the effect doesn't appear.
So treat this only as a reminder to some strange happening from now and then.

I realized in the past and now again, that sometimes pcb-gcode behaves a little bit strange when etching the bottom side of double sided boards.
Normally the milling pathes (I will refer to the milling pathes as mtraces from now on) are sorted ascending from in to out, regarding the distance away from the signal trace.
As far as I realized it, when the "issue" occurs, it happens on the bottom layer of double sided boards.
The "issue" is, the first mtrace is along the outer circumference of the trench. That is NOT normal.
The second mtrace is the "normally first" mtrace around the signal trace.
The third mtrace is adjacent to the first mtrace.
The fourth mtrace is adjacent to the second mtrace.
...and so on, until the mtraces remove the last stripe of copper in the middle of the trench between signal trace and remaining copper-clad.

I posted a video of the above described action on vimeo.

grafik

The signal trace in the video is part of this design:

grafik

I tried to reproduce the effect by stripping the design down to only consist of the two signal traces on the top and bottom layer, respectively:

grafik

But to no avail. This "design" is etched as expected.
....
On writing this I have an idea...
Ok, a short test later...
When I add a ground plane to the bottom side of the board, the mtraces are executed as described above.

grafik

So I assume, the ground plane is treated as signal "trace" and so, as the outer rim of the isolating trench around the actual signal trace (the blue connection in the picture above) is nearer than the circumference of this blue signal trace, this outer rim is etched first.

All in all it's no bug, it's a feature and based on mathematics only :)
Having investigated and written on that , I leave it here for you to close...

Harald

Thanks for reporting this, and following up with an investigation!
As you discovered, to pcbgcode, everything is a polygon, with no distinction between signals, ground planes, etc.