key_formats.c 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  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. {.manufacturer = "Kwikset",
  6. .format_name = "KW1",
  7. .format_link = "https://lsamichigan.org/Tech/Kwikset_KeySpecs.pdf",
  8. .first_pin_inch = 0.247,
  9. .last_pin_inch = 0.847,
  10. .pin_increment_inch = 0.15,
  11. .pin_num = 5,
  12. .pin_width_inch = 0.084,
  13. .elbow_inch = 0.15,
  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. {.manufacturer = "Schlage",
  23. .format_name = "SC4",
  24. .format_link = "https://lsamichigan.org/Tech/SCHLAGE_KeySpecs.pdf",
  25. .first_pin_inch = 0.231,
  26. .last_pin_inch = 1.012,
  27. .pin_increment_inch = 0.1562,
  28. .pin_num = 6,
  29. .pin_width_inch = 0.031,
  30. .elbow_inch = 0.1,
  31. .drill_angle =
  32. 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}};