spacer.fpd 784 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. /* MACHINE-GENERATED ! */
  2. frame copper {
  3. loop if = 1, copper
  4. __2: vec @(disc/2, -disc/2)
  5. __3: vec @(-disc/2, disc/2)
  6. rpad "1" . __2 bare
  7. }
  8. package "SPACER-$nominal-$disc-$keepout$type"
  9. unit auto
  10. table
  11. { nominal }
  12. { 3mm }
  13. { 4mm }
  14. table
  15. { type, copper }
  16. { "", 1 }
  17. { "-BARE", 0 }
  18. set hole = nominal+0.2mm
  19. table
  20. { disc }
  21. { 7mm }
  22. { 8mm }
  23. { 9mm }
  24. set area = 10mm
  25. table
  26. { keepout }
  27. { 7.5mm }
  28. { 9.5mm }
  29. { 10mm }
  30. set w = 5mil
  31. loop if = 0.01, (keepout-disc)/10mm
  32. __0: vec @(hole/2, hole/2)
  33. __1: vec @(-hole/2, -hole/2)
  34. hole . __0
  35. __4: vec @(0mm, -keepout/2)
  36. __3: vec @(0mm, keepout/2)
  37. circ @ . w
  38. frame copper @
  39. measy __1 >> __0 keepout/2+1mm
  40. measy copper.__2 >> copper.__3 disc+keepout/2+0.5mm
  41. meas __4 >> __3 keepout+1mm