sc89.fpd 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. /* MACHINE-GENERATED ! */
  2. frame pad {
  3. corner: vec @(-Px/2, -Py/2)
  4. x: vec .(Px, 0mm)
  5. y: vec corner(0mm, Py)
  6. pad "$pad" . x
  7. }
  8. frame pad_ne {
  9. set pad = 2
  10. _pad_ne_0: vec @(-Px/2, -Py/2)
  11. frame pad .
  12. }
  13. frame pad_nw {
  14. set pad = 1
  15. _pad_nw_0: vec @(Px/2, -Py/2)
  16. frame pad .
  17. }
  18. frame pad_sc {
  19. set pad = 3
  20. _pad_sc_0: vec @(0mm, Py/2)
  21. frame pad .
  22. }
  23. frame outline {
  24. top: vec @(0mm, Oy/2)
  25. bottom: vec @(0mm, -Oy/2)
  26. bot_right: vec .(Ox/2, 0mm)
  27. bot_left: vec bottom(-Ox/2, 0mm)
  28. line . bot_right 5mil
  29. top_right: vec top(Ow/2, 0mm)
  30. top_left: vec top(-Ow/2, 0mm)
  31. line . top_right 5mil
  32. middle: vec @(0mm, Oh)
  33. mid_rightmost: vec .(Ox/2, 0mm)
  34. line . bot_right 5mil
  35. mid_leftmost: vec middle(-Ox/2, 0mm)
  36. line . bot_left 5mil
  37. mid_right: vec middle(Ow/2, 0mm)
  38. line top_right . 5mil
  39. line . mid_rightmost 5mil
  40. mid_left: vec middle(-Ow/2, 0mm)
  41. line mid_leftmost . 5mil
  42. line top_left . 5mil
  43. }
  44. package "SC89"
  45. table
  46. { Px, Py, Gy, Wx }
  47. { 0.5mm, 0.6mm, 0.7mm, 1.5mm }
  48. table
  49. { Ox, Oy, Oh, Ow }
  50. { 2mm, 2.2mm, 0.6mm, 0.85mm }
  51. ref_up: vec @(0mm, Gy/2)
  52. frame pad_sc .
  53. ref_down_c: vec @(0mm, -Gy/2)
  54. ref_down_r: vec .(Wx/2, 0mm)
  55. frame pad_ne .
  56. ref_down_l: vec ref_down_c(-Wx/2, 0mm)
  57. frame pad_nw .
  58. dummy: vec @(0.2mm, 0mm)
  59. frame outline @
  60. measx pad.corner >> pad.x -0.6mm
  61. measy pad.corner >> pad.y 0.8mm
  62. measy ref_down_l >> pad.corner 0.5mm
  63. measx pad.corner -> pad.x -0.3mm
  64. measy pad.corner >> ref_down_l 0.5mm
  65. measy dummy >> outline.bot_right 1.1mm
  66. measy outline.mid_rightmost >> dummy 0.3mm
  67. measy outline.top_right >> outline.bot_right 1.2mm
  68. measx outline.top_left >> outline.top_right 0.3mm
  69. measx outline.bot_left >> outline.bot_right -0.8mm