key_formats.c 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  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. .manufacturer = "Kwikset",
  7. .format_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. .elbow_inch = 0.15,
  15. .drill_angle = 90,
  16. .uncut_depth_inch = 0.329,
  17. .deepest_depth_inch = 0.191,
  18. .depth_step_inch = 0.023,
  19. .min_depth_ind = 1,
  20. .max_depth_ind = 7,
  21. .macs = 4,
  22. .clearance = 3
  23. },
  24. {
  25. .manufacturer = "Schlage",
  26. .format_name = "SC4",
  27. .format_link = "https://lsamichigan.org/Tech/SCHLAGE_KeySpecs.pdf",
  28. .first_pin_inch = 0.231,
  29. .last_pin_inch = 1.012,
  30. .pin_increment_inch = 0.1562,
  31. .pin_num = 6,
  32. .pin_width_inch = 0.031,
  33. .elbow_inch = 0.1,
  34. .drill_angle = 90, // This should actually be 100 but the current resolution will make 100 degrees very ugly and unsuable
  35. .uncut_depth_inch = 0.335,
  36. .deepest_depth_inch = 0.2,
  37. .depth_step_inch = 0.015,
  38. .min_depth_ind = 0,
  39. .max_depth_ind = 9,
  40. .macs = 7,
  41. .clearance = 8
  42. }
  43. };