MNR-series.fpd 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. /* MACHINE-GENERATED ! */
  2. frame inner_pin {
  3. __0: vec @(-E/2, -C/2)
  4. __1: vec @(E/2, C/2)
  5. pad "$n" . __0
  6. }
  7. frame outer_pin {
  8. __0: vec @(-B/2, -C/2)
  9. __1: vec @(B/2, C/2)
  10. pad "$n" . __0
  11. }
  12. frame inner_pins {
  13. set x = P1*(i-pins/4-1/2)
  14. set y = (A+C)/2*dy
  15. set n = a+f*(i-1)
  16. table
  17. { dy, f, a }
  18. { 1, -1, pins }
  19. { -1, 1, 1 }
  20. loop i = 2, pins/2-1
  21. __0: vec @(x, y)
  22. frame inner_pin .
  23. }
  24. frame outline {
  25. }
  26. frame outer_pins {
  27. set x = P1*(i-pins/4-1/2)+(P1-P2)*s
  28. set y = (A+C)/2*dy
  29. set n = a+f*(i-1)
  30. table
  31. { dy, f, a }
  32. { 1, -1, pins }
  33. { -1, 1, 1 }
  34. table
  35. { i, s }
  36. { 1, 1 }
  37. { pins/2, -1 }
  38. __0: vec @(x, y)
  39. frame outer_pin .
  40. }
  41. package "MNR-$variant"
  42. unit mm
  43. allow overlap
  44. table
  45. { pins, variant, A, B, C, D, E, P1, P2, outer_offset, L, W }
  46. { 4, "02", 0.5mm, 0.375mm, 0.5mm, 1.5mm, B, 0.675mm, P1, P1/2, 1mm, 1mm }
  47. { 4, "12", 1mm, 0.5mm, 0.75mm, 2.5mm, B, 0.8mm, P1, P1/2, 1.6mm, 1.6mm }
  48. { 8, "04", 0.5mm, 0.4mm, 0.5mm, 1.5mm, 0.3mm, 0.5mm, 0.525mm, P1/2, 2mm, 1mm }
  49. { 8, "14", 1mm, 0.5mm, 0.75mm, 2.5mm, 0.4mm, 0.8mm, 0.85mm, P1/2, 3.2mm, 1.6mm }
  50. { 10, "15", 1mm, 0.48mm, 0.75mm, 2.5mm, 0.32mm, 0.64mm, 0.72mm, 0mm, 3.2mm, 1.6mm }
  51. { 16, "18", 1mm, 0.3mm, 0.75mm, 2.5mm, B, 0.5mm, P1, P1/2, 4mm, 1.6mm }
  52. __0: vec @(-L/2, -W/2)
  53. __1: vec @(L/2, W/2)
  54. rect __0 . 0.1mm
  55. frame inner_pins @
  56. frame outer_pins @
  57. frame outline @
  58. measx outer_pins.__0 -> inner_pins.__0 -0.7mm
  59. measx inner_pins.__0 -> inner_pins.__0 -0.7mm
  60. measx inner_pins.__0 -> outer_pins.__0 -1mm
  61. measx outer_pins.__0 -> outer_pins.__0 -1.2mm
  62. measy outer_pins.__0 -> outer_pins.__0 0.5mm
  63. measy outer_pin.__0 >> inner_pin.__1 0.75mm
  64. measy outer_pin.__0 -> outer_pin.__1 1mm
  65. measx outer_pin.__0 -> outer_pin.__1 -1mm
  66. measx inner_pin.__0 -> inner_pin.__1 -1mm