aecad
aecad copied to clipboard
Properly order items by physical layer
Currently F.Cu and B.Cu elements' "z-indexes" are "random" (according to the element creation order):

Moreover, Pad labels are shadowed by traces:

Related Stackoverflow question: here
Reproduction
- Go to aeCAD/sketcher
- Import the example file
- See the issue described in the screenshots
Mostly fixed by https://github.com/aktos-io/aecad/commit/83cdde81afac7e9981de0615c06467c1a16851b7
- Labels are displayed correctly
- Drill holes are printed correcty

Only problem is setting the "z-index" for Trace item's parts. However, it requires a design change:
https://github.com/aktos-io/aecad/blob/b0b3c9643d3c50fd861efac33889b29393454ee6/webapps/main/sketcher/gui/canvas/index.ls#L62-L69
This issue still persists for fabrication output:
