aktos-io / aecad

Open Source Circuit Board Design Software that runs on the browser and desktop
https://aktos.io/aecad
54 stars 10 forks source link

Properly order items by physical layer #9

Open ceremcem opened 5 years ago

ceremcem commented 5 years ago

Currently F.Cu and B.Cu elements' "z-indexes" are "random" (according to the element creation order):

image

Moreover, Pad labels are shadowed by traces:

image

Related Stackoverflow question: here

Reproduction

  1. Go to aeCAD/sketcher
  2. Import the example file
  3. See the issue described in the screenshots
ceremcem commented 5 years ago

Mostly fixed by https://github.com/aktos-io/aecad/commit/83cdde81afac7e9981de0615c06467c1a16851b7

image

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

ceremcem commented 1 year ago

This issue still persists for fabrication output:

image