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