aecad icon indicating copy to clipboard operation
aecad copied to clipboard

Properly order items by physical layer

Open ceremcem opened this issue 7 years ago • 2 comments

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 avatar Nov 22 '18 08:11 ceremcem

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

  • Labels are displayed correctly
  • Drill holes are printed correcty

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 avatar Mar 15 '19 22:03 ceremcem

This issue still persists for fabrication output:

image

ceremcem avatar Sep 29 '22 07:09 ceremcem