key_formats.c 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. #include "key_formats.h"
  2. // all lengths in inches since it's all American formats
  3. // angle is in degrees
  4. const KeyFormat all_formats[] = {
  5. {
  6. .format_name = "Kwikset",
  7. .format_short_name = "KW1",
  8. .format_link = "https://lsamichigan.org/Tech/Kwikset_KeySpecs.pdf",
  9. .first_pin_inch = 0.247,
  10. .last_pin_inch = 0.847,
  11. .pin_increment_inch = 0.15,
  12. .pin_num = 5,
  13. .pin_width_inch = 0.084,
  14. .drill_angle = 90,
  15. .uncut_depth_inch = 0.329,
  16. .deepest_depth_inch = 0.191,
  17. .depth_step_inch = 0.023,
  18. .min_depth_ind = 1,
  19. .max_depth_ind = 7,
  20. .macs = 4,
  21. .clearance = 3
  22. },
  23. {
  24. .format_name = "Schlage",
  25. .format_short_name = "SC4",
  26. .format_link = "https://lsamichigan.org/Tech/SCHLAGE_KeySpecs.pdf",
  27. .first_pin_inch = 0.231,
  28. .last_pin_inch = 1.012,
  29. .pin_increment_inch = 0.1562,
  30. .pin_num = 6,
  31. .pin_width_inch = 0.031,
  32. .drill_angle = 90, // This should actually be 100 but the current resolution will make 100 degrees very ugly and unsuable
  33. .uncut_depth_inch = 0.335,
  34. .deepest_depth_inch = 0.2,
  35. .depth_step_inch = 0.015,
  36. .min_depth_ind = 0,
  37. .max_depth_ind = 9,
  38. .macs = 7,
  39. .clearance = 8
  40. }
  41. };