@rulecad/rules 0.3.14 → 0.3.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,140 @@
1
+ {
2
+ "_doc": "Motedis' light hinge for 20 mm profiles (H-20x20-L): two black polyamide leaves, 39 x 30 mm open, on a 3 mm pin, each fixed by two M4 screws through 4.5 mm holes 14 mm apart. Sizes from Motedis' drawing, the price from its shop page.",
3
+ "name": "fitting-motedis-hinge-20",
4
+ "part": "fitting",
5
+ "rules": {
6
+ "fitting_kind": {
7
+ "value": "hinge",
8
+ "rule": "A hinge: a leaf on each side of its pin",
9
+ "kind": "spec",
10
+ "source": "Motedis, Scharnier 20x20 leicht (H-20x20-L), product page https://www.motedis.com/de/Scharnier-20x20-leicht",
11
+ "checked": "2026-11-17"
12
+ },
13
+ "series": {
14
+ "value": 20,
15
+ "unit": "mm",
16
+ "rule": "For 20 x 20 profiles",
17
+ "kind": "spec",
18
+ "source": "Motedis, Scharnier 20x20 leicht (H-20x20-L), product page https://www.motedis.com/de/Scharnier-20x20-leicht",
19
+ "checked": "2026-11-17"
20
+ },
21
+ "material": {
22
+ "value": "polyamide (PA), black",
23
+ "rule": "As the shop page names it",
24
+ "kind": "spec",
25
+ "source": "Motedis, Scharnier 20x20 leicht (H-20x20-L), product page https://www.motedis.com/de/Scharnier-20x20-leicht",
26
+ "checked": "2026-11-17"
27
+ },
28
+ "thread": {
29
+ "value": "M4",
30
+ "rule": "The 4.5 mm holes take M4 screws (the shop lists no fixing set): a clearance hole for M4",
31
+ "kind": "estimate",
32
+ "source": "Motedis, Scharnier 20x20 leicht (H-20x20-L), drawing https://www.motedis.com/shop/products_files/Motedis_H-20x20-L-Drawing.pdf",
33
+ "checked": "2026-11-17"
34
+ },
35
+ "screw_form": {
36
+ "value": "button",
37
+ "rule": "Button heads: the shop lists no fixing set for this hinge, so this is the kit's choice for a thin leaf, an estimate until you choose your own",
38
+ "kind": "estimate",
39
+ "source": "Motedis, Scharnier 20x20 leicht (H-20x20-L), product page https://www.motedis.com/de/Scharnier-20x20-leicht",
40
+ "checked": "2026-11-17"
41
+ },
42
+ "nut_kind": {
43
+ "value": "hammer",
44
+ "rule": "Hammer nuts in the slot, as for Motedis' other fittings: the shop names none for this hinge",
45
+ "kind": "estimate",
46
+ "source": "Motedis, Scharnier 20x20 leicht (H-20x20-L), product page https://www.motedis.com/de/Scharnier-20x20-leicht",
47
+ "checked": "2026-11-17"
48
+ },
49
+ "screw_count": {
50
+ "value": 4,
51
+ "unit": "",
52
+ "rule": "Four holes, two in each leaf",
53
+ "kind": "spec",
54
+ "source": "Motedis, Scharnier 20x20 leicht (H-20x20-L), drawing https://www.motedis.com/shop/products_files/Motedis_H-20x20-L-Drawing.pdf",
55
+ "checked": "2026-11-17"
56
+ },
57
+ "width": {
58
+ "value": 39,
59
+ "unit": "mm",
60
+ "rule": "Both leaves open: 39 mm",
61
+ "kind": "spec",
62
+ "source": "Motedis, Scharnier 20x20 leicht (H-20x20-L), drawing https://www.motedis.com/shop/products_files/Motedis_H-20x20-L-Drawing.pdf",
63
+ "checked": "2026-11-17"
64
+ },
65
+ "leg": {
66
+ "value": 30,
67
+ "unit": "mm",
68
+ "rule": "Along the pin: 30 mm",
69
+ "kind": "spec",
70
+ "source": "Motedis, Scharnier 20x20 leicht (H-20x20-L), drawing https://www.motedis.com/shop/products_files/Motedis_H-20x20-L-Drawing.pdf",
71
+ "checked": "2026-11-17"
72
+ },
73
+ "thickness": {
74
+ "value": 4.8,
75
+ "unit": "mm",
76
+ "rule": "Each leaf 4.8 mm (5.5 mm at the knuckle)",
77
+ "kind": "spec",
78
+ "source": "Motedis, Scharnier 20x20 leicht (H-20x20-L), drawing https://www.motedis.com/shop/products_files/Motedis_H-20x20-L-Drawing.pdf",
79
+ "checked": "2026-11-17"
80
+ },
81
+ "mount_hole_diameter": {
82
+ "value": 4.5,
83
+ "unit": "mm",
84
+ "rule": "4.5 mm, dimensioned on the drawing",
85
+ "kind": "spec",
86
+ "source": "Motedis, Scharnier 20x20 leicht (H-20x20-L), drawing https://www.motedis.com/shop/products_files/Motedis_H-20x20-L-Drawing.pdf",
87
+ "checked": "2026-11-17"
88
+ },
89
+ "holes_b": {
90
+ "value": [
91
+ 11.5,
92
+ -7,
93
+ 11.5,
94
+ 7
95
+ ],
96
+ "unit": "mm",
97
+ "rule": "The frame leaf's holes, from the pin: 11.5 mm out (23 across the pin), 14 mm apart along it",
98
+ "kind": "spec",
99
+ "source": "Motedis, Scharnier 20x20 leicht (H-20x20-L), drawing https://www.motedis.com/shop/products_files/Motedis_H-20x20-L-Drawing.pdf",
100
+ "checked": "2026-11-17"
101
+ },
102
+ "holes_a": {
103
+ "value": [
104
+ 11.5,
105
+ -7,
106
+ 11.5,
107
+ 7
108
+ ],
109
+ "unit": "mm",
110
+ "rule": "The door leaf's, the same",
111
+ "kind": "spec",
112
+ "source": "Motedis, Scharnier 20x20 leicht (H-20x20-L), drawing https://www.motedis.com/shop/products_files/Motedis_H-20x20-L-Drawing.pdf",
113
+ "checked": "2026-11-17"
114
+ },
115
+ "pin_diameter": {
116
+ "value": 3,
117
+ "unit": "mm",
118
+ "rule": "The pin, 3 mm across",
119
+ "kind": "spec",
120
+ "source": "Motedis, Scharnier 20x20 leicht (H-20x20-L), drawing https://www.motedis.com/shop/products_files/Motedis_H-20x20-L-Drawing.pdf",
121
+ "checked": "2026-11-17"
122
+ },
123
+ "knuckle_diameter": {
124
+ "value": 8,
125
+ "unit": "mm",
126
+ "rule": "The knuckle, 8 mm across",
127
+ "kind": "spec",
128
+ "source": "Motedis, Scharnier 20x20 leicht (H-20x20-L), drawing https://www.motedis.com/shop/products_files/Motedis_H-20x20-L-Drawing.pdf",
129
+ "checked": "2026-11-17"
130
+ },
131
+ "cost": {
132
+ "value": 0.87,
133
+ "unit": "EUR",
134
+ "rule": "One hinge in a pack of 10: 8.67 EUR the pack with 20% VAT (7.22 EUR without), on the date checked; screws and nuts apart",
135
+ "kind": "spec",
136
+ "source": "Motedis, Scharnier 20x20 leicht (H-20x20-L), product page https://www.motedis.com/de/Scharnier-20x20-leicht",
137
+ "checked": "2026-11-17"
138
+ }
139
+ }
140
+ }
@@ -0,0 +1,144 @@
1
+ {
2
+ "_doc": "Motedis' Innenwinkel 20 B-Typ Nut 6 M5 (S6BIBM5): a zinc die-cast inner connector that lies hidden in the slots of two 20 mm B-type profiles where they meet, clamped by an M5x6 grub screw in each leg. No machining. Sizes from Motedis' drawing, the price from its shop page.",
3
+ "name": "fitting-motedis-inner-20-b6",
4
+ "part": "fitting",
5
+ "rules": {
6
+ "fitting_kind": {
7
+ "value": "inner-connector",
8
+ "rule": "An inner angle that lies in the slots of both beams, out of sight",
9
+ "kind": "spec",
10
+ "source": "Motedis, Innenwinkel 20 B-Typ Nut 6 M5 (S6BIBM5), product page https://www.motedis.com/de/Innenwinkel-20-B-Typ-Nut-6-M5",
11
+ "checked": "2026-11-17"
12
+ },
13
+ "series": {
14
+ "value": 20,
15
+ "unit": "mm",
16
+ "rule": "Made for 20 mm profiles of B type",
17
+ "kind": "spec",
18
+ "source": "Motedis, Innenwinkel 20 B-Typ Nut 6 M5 (S6BIBM5), product page https://www.motedis.com/de/Innenwinkel-20-B-Typ-Nut-6-M5",
19
+ "checked": "2026-11-17"
20
+ },
21
+ "slot": {
22
+ "value": "slot-6-motedis",
23
+ "rule": "Made for the 6 mm B-type slot: 6 mm wide where it stands in the opening, 9.5 mm under the lips",
24
+ "kind": "spec",
25
+ "source": "Motedis, Innenwinkel 20 B-Typ Nut 6 M5 (S6BIBM5), product page https://www.motedis.com/de/Innenwinkel-20-B-Typ-Nut-6-M5; Motedis, Innenwinkel 20 B-Typ Nut 6 M5 (S6BIBM5), drawing https://www.motedis.com/shop/products_files/Motedis_S6BIBM5-Drawing_2.pdf",
26
+ "checked": "2026-11-17"
27
+ },
28
+ "material": {
29
+ "value": "zinc die cast, zinc plated (Zinkdruckguss verzinkt)",
30
+ "rule": "As the shop page names it; its screws are zinc-plated steel",
31
+ "kind": "spec",
32
+ "source": "Motedis, Innenwinkel 20 B-Typ Nut 6 M5 (S6BIBM5), product page https://www.motedis.com/de/Innenwinkel-20-B-Typ-Nut-6-M5",
33
+ "checked": "2026-11-17"
34
+ },
35
+ "thread": {
36
+ "value": "M5",
37
+ "rule": "Its grub screws: M5x6",
38
+ "kind": "spec",
39
+ "source": "Motedis, Innenwinkel 20 B-Typ Nut 6 M5 (S6BIBM5), product page https://www.motedis.com/de/Innenwinkel-20-B-Typ-Nut-6-M5; Motedis, Innenwinkel 20 B-Typ Nut 6 M5 (S6BIBM5), drawing https://www.motedis.com/shop/products_files/Motedis_S6BIBM5-Drawing_2.pdf",
40
+ "checked": "2026-11-17"
41
+ },
42
+ "screw_form": {
43
+ "value": "set",
44
+ "rule": "DIN 913 grub screws (set screws), in the connector, pressing on the slot",
45
+ "kind": "spec",
46
+ "source": "Motedis, Innenwinkel 20 B-Typ Nut 6 M5 (S6BIBM5), drawing https://www.motedis.com/shop/products_files/Motedis_S6BIBM5-Drawing_2.pdf",
47
+ "checked": "2026-11-17"
48
+ },
49
+ "screw_length": {
50
+ "value": 6,
51
+ "unit": "mm",
52
+ "rule": "M5x6, as the drawing names them",
53
+ "kind": "spec",
54
+ "source": "Motedis, Innenwinkel 20 B-Typ Nut 6 M5 (S6BIBM5), drawing https://www.motedis.com/shop/products_files/Motedis_S6BIBM5-Drawing_2.pdf",
55
+ "checked": "2026-11-17"
56
+ },
57
+ "screw_count": {
58
+ "value": 2,
59
+ "unit": "",
60
+ "rule": "One in each leg, part of the connector as sold",
61
+ "kind": "spec",
62
+ "source": "Motedis, Innenwinkel 20 B-Typ Nut 6 M5 (S6BIBM5), drawing https://www.motedis.com/shop/products_files/Motedis_S6BIBM5-Drawing_2.pdf",
63
+ "checked": "2026-11-17"
64
+ },
65
+ "leg": {
66
+ "value": 25.5,
67
+ "unit": "mm",
68
+ "rule": "The leg in b's slot, 25.5 mm from the outside of its corner",
69
+ "kind": "spec",
70
+ "source": "Motedis, Innenwinkel 20 B-Typ Nut 6 M5 (S6BIBM5), drawing https://www.motedis.com/shop/products_files/Motedis_S6BIBM5-Drawing_2.pdf",
71
+ "checked": "2026-11-17"
72
+ },
73
+ "leg_a": {
74
+ "value": 24.85,
75
+ "unit": "mm",
76
+ "rule": "The leg in a's slot, 24.85 mm",
77
+ "kind": "spec",
78
+ "source": "Motedis, Innenwinkel 20 B-Typ Nut 6 M5 (S6BIBM5), drawing https://www.motedis.com/shop/products_files/Motedis_S6BIBM5-Drawing_2.pdf",
79
+ "checked": "2026-11-17"
80
+ },
81
+ "width": {
82
+ "value": 9.5,
83
+ "unit": "mm",
84
+ "rule": "Across, under the lips: 9.5 mm (6 mm where it stands in the opening)",
85
+ "kind": "spec",
86
+ "source": "Motedis, Innenwinkel 20 B-Typ Nut 6 M5 (S6BIBM5), drawing https://www.motedis.com/shop/products_files/Motedis_S6BIBM5-Drawing_2.pdf",
87
+ "checked": "2026-11-17"
88
+ },
89
+ "thickness": {
90
+ "value": 4.4,
91
+ "unit": "mm",
92
+ "rule": "Each leg 4.4 mm deep into the slot",
93
+ "kind": "spec",
94
+ "source": "Motedis, Innenwinkel 20 B-Typ Nut 6 M5 (S6BIBM5), drawing https://www.motedis.com/shop/products_files/Motedis_S6BIBM5-Drawing_2.pdf",
95
+ "checked": "2026-11-17"
96
+ },
97
+ "holes_b": {
98
+ "value": [
99
+ 19.5,
100
+ 0
101
+ ],
102
+ "unit": "mm",
103
+ "rule": "The grub screw in b's leg, 6 mm from its end (25.5 - 6 from the corner)",
104
+ "kind": "spec",
105
+ "source": "Motedis, Innenwinkel 20 B-Typ Nut 6 M5 (S6BIBM5), drawing https://www.motedis.com/shop/products_files/Motedis_S6BIBM5-Drawing_2.pdf",
106
+ "checked": "2026-11-17"
107
+ },
108
+ "holes_a": {
109
+ "value": [
110
+ 17.85,
111
+ 0
112
+ ],
113
+ "unit": "mm",
114
+ "rule": "The grub screw in a's leg, 7 mm from its end (24.85 - 7 from the corner)",
115
+ "kind": "spec",
116
+ "source": "Motedis, Innenwinkel 20 B-Typ Nut 6 M5 (S6BIBM5), drawing https://www.motedis.com/shop/products_files/Motedis_S6BIBM5-Drawing_2.pdf",
117
+ "checked": "2026-11-17"
118
+ },
119
+ "cost": {
120
+ "value": 0.65,
121
+ "unit": "EUR",
122
+ "rule": "One in a pack of 10: 6.53 EUR the pack with 20% VAT (5.44 EUR without), on the date checked, its grub screws in",
123
+ "kind": "spec",
124
+ "source": "Motedis, Innenwinkel 20 B-Typ Nut 6 M5 (S6BIBM5), product page https://www.motedis.com/de/Innenwinkel-20-B-Typ-Nut-6-M5",
125
+ "checked": "2026-11-17"
126
+ },
127
+ "bending_stiffness": {
128
+ "value": 1500000.0,
129
+ "unit": "N mm/rad",
130
+ "rule": "How stiffly this inner connector, its grub screws tight, holds a beam's end against turning across its axis, its screws tight. The maker gives no figure, so this is frames' working guess for this kind of join (JOIN_STIFFNESS.hidden): the same figure a join with \"fitting\": \"bought\" gets, so choosing this set changes no stiffness until the joint rig measures it",
131
+ "kind": "estimate",
132
+ "source": "A working guess of @rulecad/frames, with no measurement or published figure behind it: the joint rig (issue 264) measures it and cad measured replaces it",
133
+ "checked": "2026-11-17"
134
+ },
135
+ "twist_stiffness": {
136
+ "value": 500000.0,
137
+ "unit": "N mm/rad",
138
+ "rule": "How stiffly this inner connector, its grub screws tight, holds a beam's end against twisting about its own axis. The maker gives no figure, so this is frames' working guess (JOIN_STIFFNESS.hidden): the same figure a join with \"fitting\": \"bought\" gets, so choosing this set changes no stiffness until the joint rig measures it",
139
+ "kind": "estimate",
140
+ "source": "A working guess of @rulecad/frames, with no measurement or published figure behind it: the joint rig (issue 264) measures it and cad measured replaces it",
141
+ "checked": "2026-11-17"
142
+ }
143
+ }
144
+ }
@@ -0,0 +1,164 @@
1
+ {
2
+ "_doc": "Motedis' laser-cut aluminium T plate for 20 mm profiles, 58 x 58 x 3 mm with five 5.5 mm holes on a 20 mm pitch: three along the bar (b) and two up the stem (a). Fixed with M5x8 cap screws into hammer nuts in a 6 mm B-type slot. Sizes from Motedis' drawing, the price from its shop page.",
3
+ "name": "fitting-motedis-plate-t-20",
4
+ "part": "fitting",
5
+ "rules": {
6
+ "fitting_kind": {
7
+ "value": "joining-plate",
8
+ "rule": "A flat joining plate over a join, on the faces of both beams",
9
+ "kind": "spec",
10
+ "source": "Motedis, Verbinderplatte Alu gelasert 58x58x3 -T- 5-loch 20er, product page https://www.motedis.com/de/Verbinderplatte-Alu-gelasert-58x58x3-T-5-loch-20er",
11
+ "checked": "2026-11-17"
12
+ },
13
+ "plate_shape": {
14
+ "value": "T",
15
+ "rule": "A T: its bar along b, its stem along a",
16
+ "kind": "spec",
17
+ "source": "Motedis, Verbinderplatte Alu gelasert 58x58x3 -T- 5-loch 20er, product page https://www.motedis.com/de/Verbinderplatte-Alu-gelasert-58x58x3-T-5-loch-20er; Motedis, Verbinderplatte 58x58x3 -T- 5-loch 20er, drawing https://www.motedis.com/shop/products_files/Motedis_LP20111.pdf",
18
+ "checked": "2026-11-17"
19
+ },
20
+ "series": {
21
+ "value": 20,
22
+ "unit": "mm",
23
+ "rule": "Made for 20 mm profiles (\"20er\"): holes on a 20 mm pitch",
24
+ "kind": "spec",
25
+ "source": "Motedis, Verbinderplatte Alu gelasert 58x58x3 -T- 5-loch 20er, product page https://www.motedis.com/de/Verbinderplatte-Alu-gelasert-58x58x3-T-5-loch-20er; Motedis, Verbinderplatte 58x58x3 -T- 5-loch 20er, drawing https://www.motedis.com/shop/products_files/Motedis_LP20111.pdf",
26
+ "checked": "2026-11-17"
27
+ },
28
+ "slot": {
29
+ "value": "slot-6-motedis",
30
+ "rule": "Motedis sells its fixing set for B-type slot 6 (and another for I-type slot 5)",
31
+ "kind": "spec",
32
+ "source": "Motedis, Verbinderplatte Alu gelasert 58x58x3 -T- 5-loch 20er, product page https://www.motedis.com/de/Verbinderplatte-Alu-gelasert-58x58x3-T-5-loch-20er",
33
+ "checked": "2026-11-17"
34
+ },
35
+ "material": {
36
+ "value": "aluminium AlMg3 (EN AW-5754 H111), laser cut",
37
+ "rule": "As the shop page names it (it writes 5457)",
38
+ "kind": "spec",
39
+ "source": "Motedis, Verbinderplatte Alu gelasert 58x58x3 -T- 5-loch 20er, product page https://www.motedis.com/de/Verbinderplatte-Alu-gelasert-58x58x3-T-5-loch-20er",
40
+ "checked": "2026-11-17"
41
+ },
42
+ "thread": {
43
+ "value": "M5",
44
+ "rule": "The fixing set for B-type slot 6: 5 x DIN 912 M5x8 and 5 x hammer nut B-type slot 6 [M5]",
45
+ "kind": "spec",
46
+ "source": "Motedis, Verbinderplatte Alu gelasert 58x58x3 -T- 5-loch 20er, product page https://www.motedis.com/de/Verbinderplatte-Alu-gelasert-58x58x3-T-5-loch-20er",
47
+ "checked": "2026-11-17"
48
+ },
49
+ "screw_form": {
50
+ "value": "cap",
51
+ "rule": "DIN 912 socket head cap screws",
52
+ "kind": "spec",
53
+ "source": "Motedis, Verbinderplatte Alu gelasert 58x58x3 -T- 5-loch 20er, product page https://www.motedis.com/de/Verbinderplatte-Alu-gelasert-58x58x3-T-5-loch-20er",
54
+ "checked": "2026-11-17"
55
+ },
56
+ "screw_length": {
57
+ "value": 8,
58
+ "unit": "mm",
59
+ "rule": "M5x8, as the fixing set lists",
60
+ "kind": "spec",
61
+ "source": "Motedis, Verbinderplatte Alu gelasert 58x58x3 -T- 5-loch 20er, product page https://www.motedis.com/de/Verbinderplatte-Alu-gelasert-58x58x3-T-5-loch-20er",
62
+ "checked": "2026-11-17"
63
+ },
64
+ "screw_count": {
65
+ "value": 5,
66
+ "unit": "",
67
+ "rule": "Five holes, a screw in each",
68
+ "kind": "spec",
69
+ "source": "Motedis, Verbinderplatte Alu gelasert 58x58x3 -T- 5-loch 20er, product page https://www.motedis.com/de/Verbinderplatte-Alu-gelasert-58x58x3-T-5-loch-20er; Motedis, Verbinderplatte 58x58x3 -T- 5-loch 20er, drawing https://www.motedis.com/shop/products_files/Motedis_LP20111.pdf",
70
+ "checked": "2026-11-17"
71
+ },
72
+ "nut_kind": {
73
+ "value": "hammer",
74
+ "rule": "Hammer nuts (Hammermutter)",
75
+ "kind": "spec",
76
+ "source": "Motedis, Verbinderplatte Alu gelasert 58x58x3 -T- 5-loch 20er, product page https://www.motedis.com/de/Verbinderplatte-Alu-gelasert-58x58x3-T-5-loch-20er",
77
+ "checked": "2026-11-17"
78
+ },
79
+ "width": {
80
+ "value": 58,
81
+ "unit": "mm",
82
+ "rule": "Across the bar: 58 mm, dimensioned on the drawing",
83
+ "kind": "spec",
84
+ "source": "Motedis, Verbinderplatte 58x58x3 -T- 5-loch 20er, drawing https://www.motedis.com/shop/products_files/Motedis_LP20111.pdf",
85
+ "checked": "2026-11-17"
86
+ },
87
+ "leg": {
88
+ "value": 58,
89
+ "unit": "mm",
90
+ "rule": "Bar and stem each 58 mm overall, dimensioned on the drawing",
91
+ "kind": "spec",
92
+ "source": "Motedis, Verbinderplatte 58x58x3 -T- 5-loch 20er, drawing https://www.motedis.com/shop/products_files/Motedis_LP20111.pdf",
93
+ "checked": "2026-11-17"
94
+ },
95
+ "thickness": {
96
+ "value": 3,
97
+ "unit": "mm",
98
+ "rule": "3 mm, dimensioned on the drawing",
99
+ "kind": "spec",
100
+ "source": "Motedis, Verbinderplatte 58x58x3 -T- 5-loch 20er, drawing https://www.motedis.com/shop/products_files/Motedis_LP20111.pdf",
101
+ "checked": "2026-11-17"
102
+ },
103
+ "mount_hole_diameter": {
104
+ "value": 5.5,
105
+ "unit": "mm",
106
+ "rule": "5.5 mm, dimensioned on the drawing",
107
+ "kind": "spec",
108
+ "source": "Motedis, Verbinderplatte 58x58x3 -T- 5-loch 20er, drawing https://www.motedis.com/shop/products_files/Motedis_LP20111.pdf",
109
+ "checked": "2026-11-17"
110
+ },
111
+ "holes_b": {
112
+ "value": [
113
+ -20,
114
+ 0,
115
+ 0,
116
+ 0,
117
+ 20,
118
+ 0
119
+ ],
120
+ "unit": "mm",
121
+ "rule": "The bar's three holes, from its middle: 20 mm apart, 9 mm in from each side (dimensioned), on b's face's middle line",
122
+ "kind": "spec",
123
+ "source": "Motedis, Verbinderplatte 58x58x3 -T- 5-loch 20er, drawing https://www.motedis.com/shop/products_files/Motedis_LP20111.pdf",
124
+ "checked": "2026-11-17"
125
+ },
126
+ "holes_a": {
127
+ "value": [
128
+ 20,
129
+ 0,
130
+ 40,
131
+ 0
132
+ ],
133
+ "unit": "mm",
134
+ "rule": "The stem's two holes, 20 and 40 mm from the bar's middle hole (the 20 is dimensioned; the second sits 9 mm from the stem's end as the bar's do)",
135
+ "kind": "spec",
136
+ "source": "Motedis, Verbinderplatte 58x58x3 -T- 5-loch 20er, drawing https://www.motedis.com/shop/products_files/Motedis_LP20111.pdf",
137
+ "checked": "2026-11-17"
138
+ },
139
+ "cost": {
140
+ "value": 1.21,
141
+ "unit": "EUR",
142
+ "rule": "One plate in a pack of 10: 12.09 EUR the pack with 20% VAT (10.07 EUR without), on the date checked; screws and nuts apart",
143
+ "kind": "spec",
144
+ "source": "Motedis, Verbinderplatte Alu gelasert 58x58x3 -T- 5-loch 20er, product page https://www.motedis.com/de/Verbinderplatte-Alu-gelasert-58x58x3-T-5-loch-20er",
145
+ "checked": "2026-11-17"
146
+ },
147
+ "bending_stiffness": {
148
+ "value": 6000000.0,
149
+ "unit": "N mm/rad",
150
+ "rule": "How stiffly this plate, its five screws tight, holds a beam's end against turning across its axis, its screws tight. The maker gives no figure, so this is frames' working guess for this kind of join (JOIN_STIFFNESS.gusset): the same figure a join with \"fitting\": \"bought\" gets, so choosing this set changes no stiffness until the joint rig measures it",
151
+ "kind": "estimate",
152
+ "source": "A working guess of @rulecad/frames, with no measurement or published figure behind it: the joint rig (issue 264) measures it and cad measured replaces it",
153
+ "checked": "2026-11-17"
154
+ },
155
+ "twist_stiffness": {
156
+ "value": 3000000.0,
157
+ "unit": "N mm/rad",
158
+ "rule": "How stiffly this plate, its five screws tight, holds a beam's end against twisting about its own axis. The maker gives no figure, so this is frames' working guess (JOIN_STIFFNESS.gusset): the same figure a join with \"fitting\": \"bought\" gets, so choosing this set changes no stiffness until the joint rig measures it",
159
+ "kind": "estimate",
160
+ "source": "A working guess of @rulecad/frames, with no measurement or published figure behind it: the joint rig (issue 264) measures it and cad measured replaces it",
161
+ "checked": "2026-11-17"
162
+ }
163
+ }
164
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rulecad/rules",
3
- "version": "0.3.14",
3
+ "version": "0.3.16",
4
4
  "description": "Researched rule sets as open data: a Bambu Lab X1C, Cherry MX switches, OEM keycaps, M2 inserts, the Raspberry Pi Pico, motors and servos, materials for analysis (printed PLA and PETG, aluminium, steel, titanium) and more, each value with its source.",
5
5
  "type": "module",
6
6
  "exports": {
@@ -11,6 +11,7 @@
11
11
  "outlines/*.json",
12
12
  "drawings/*.svg",
13
13
  "README.md",
14
+ "CHANGELOG.md",
14
15
  "LICENSE"
15
16
  ],
16
17
  "license": "CC0-1.0",
package/petg.json CHANGED
@@ -8,6 +8,7 @@
8
8
  "strength_z": {"value": 23, "unit": "MPa", "rule": "Tensile strength across the layers (z), ± 4", "kind": "spec", "source": "Bambu Lab PETG HF technical data sheet V1.0 (ISO 527)", "checked": "2026-10-27"},
9
9
  "poisson": {"value": 0.38, "rule": "Poisson's ratio (Bambu publish none)", "kind": "estimate", "source": "Typical for PETG; printed parts vary", "checked": "2026-10-27"},
10
10
  "density": {"value": 1.27, "unit": "g/cm³", "rule": "Density of PETG", "kind": "estimate", "source": "Typical for PETG (1.23 to 1.29 g/cm³ across makers' data sheets)", "checked": "2026-10-27"},
11
- "softening": { "value": 69, "unit": "°C", "rule": "Heat deflection temperature, ISO 75 at 0.45 MPa: where a part under a little load starts to creep", "kind": "spec", "source": "Bambu PETG HF technical data, ISO 75 at 0.45 MPa, https://bambulab.com/hu/filament/guide", "checked": "2026-11-08" }
11
+ "softening": { "value": 69, "unit": "°C", "rule": "Heat deflection temperature, ISO 75 at 0.45 MPa: where a part under a little load starts to creep", "kind": "spec", "source": "Bambu PETG HF technical data, ISO 75 at 0.45 MPa, https://bambulab.com/hu/filament/guide", "checked": "2026-11-08" },
12
+ "cost": {"value": 12.99, "unit": "EUR/kg", "rule": "What a kilogram of it costs, so a printed part's cost can stand beside a bought one's: Bambu Lab PETG Basic as a 1 kg refill, 12.99 EUR with VAT on its EU store on the date checked (a spool with it costs 3 EUR more). Another maker's or shop's will differ: set your own", "kind": "spec", "source": "Bambu Lab EU store, PETG Basic filament page, https://eu.store.bambulab.com/products/petg-basic", "checked": "2026-11-17"}
12
13
  }
13
14
  }
package/pla.json CHANGED
@@ -7,6 +7,7 @@
7
7
  "strength": {"value": 39, "unit": "MPa", "rule": "Tensile strength along the layers (x-y), ± 2", "kind": "community", "source": "Bambu Lab PLA Basic technical data sheet V2.0 (ISO 527), as quoted by resellers: check the current sheet", "checked": "2026-10-27"},
8
8
  "poisson": {"value": 0.36, "rule": "Poisson's ratio (Bambu publish none)", "kind": "estimate", "source": "Typical for PLA; Farah, Anderson, Langer (2016), Physical and mechanical properties of PLA, Advanced Drug Delivery Reviews 107", "checked": "2026-10-27"},
9
9
  "density": {"value": 1.26, "unit": "g/cm³", "rule": "Density of the filament", "kind": "spec", "source": "Bambu Lab PLA Basic technical data sheet V2.0", "checked": "2026-10-27"},
10
- "softening": { "value": 57, "unit": "°C", "rule": "Heat deflection temperature, ISO 75 at 0.45 MPa: where a part under a little load starts to creep", "kind": "spec", "source": "Bambu PLA Basic Technical Data Sheet, ISO 75 at 0.45 MPa, https://cdn.shopify.com/s/files/1/0380/5149/files/Bambu_PLA_Basic_Technical_Data_Sheet.pdf", "checked": "2026-11-08" }
10
+ "softening": { "value": 57, "unit": "°C", "rule": "Heat deflection temperature, ISO 75 at 0.45 MPa: where a part under a little load starts to creep", "kind": "spec", "source": "Bambu PLA Basic Technical Data Sheet, ISO 75 at 0.45 MPa, https://cdn.shopify.com/s/files/1/0380/5149/files/Bambu_PLA_Basic_Technical_Data_Sheet.pdf", "checked": "2026-11-08" },
11
+ "cost": {"value": 13.99, "unit": "EUR/kg", "rule": "What a kilogram of it costs, so a printed part's cost can stand beside a bought one's: Bambu Lab PLA Basic as a 1 kg refill, 13.99 EUR with VAT on its EU store on the date checked (a spool with it costs 3 EUR more). Another maker's or shop's will differ: set your own", "kind": "spec", "source": "Bambu Lab EU store, PLA Basic filament page, https://eu.store.bambulab.com/products/pla-basic-filament", "checked": "2026-11-17"}
11
12
  }
12
13
  }
@@ -0,0 +1,41 @@
1
+ {
2
+ "_doc": "HIWIN MGN12 miniature linear guide: the rail, and its standard carriage (MGN12C) in the rules, its long carriage (MGN12H) as a variant. Figures from HIWIN's MG Series catalogue. Rail along x, its base on the face it is screwed to; the carriage rides over it. Other makers' MGN12 rails share the rail's size and hole pitch; their carriages' ratings differ: give a variant with their figures.",
3
+ "name": "rail-mgn12",
4
+ "part": "rail",
5
+ "variants": {
6
+ "MGN12C": {"kind": "spec", "source": "HIWIN MG Series catalogue 2025 (G99TE24-2410), section 2-4, the MGN dimension table: https://s3.amazonaws.com/www.motionusa.com/hiwin/2025/MG%20Series-2025.pdf", "values": {}},
7
+ "MGN12H": {"kind": "spec", "source": "HIWIN MG Series catalogue 2025 (G99TE24-2410), section 2-4, the MGN dimension table: https://s3.amazonaws.com/www.motionusa.com/hiwin/2025/MG%20Series-2025.pdf", "values": {"carriage_length": 45.4, "carriage_length_max": 45.8, "carriage_body_length": 32.4, "carriage_hole_x": 20, "carriage_mass": 0.054, "dynamic_rating": 3720, "static_rating": 5880, "moment_roll": 38.22, "moment_pitch": 36.26, "moment_yaw": 36.26, "carriage_stiffness": 105000}}
8
+ },
9
+ "rules": {
10
+ "rail_width": {"value": 12, "unit": "mm", "rule": "The rail's width across (WR)", "kind": "spec", "source": "HIWIN MG Series catalogue 2025 (G99TE24-2410), section 2-4, the MGN dimension table: https://s3.amazonaws.com/www.motionusa.com/hiwin/2025/MG%20Series-2025.pdf", "checked": "2026-11-17"},
11
+ "rail_height": {"value": 8, "unit": "mm", "rule": "The rail's height from the face it is screwed to (HR)", "kind": "spec", "source": "HIWIN MG Series catalogue 2025 (G99TE24-2410), section 2-4, the MGN dimension table: https://s3.amazonaws.com/www.motionusa.com/hiwin/2025/MG%20Series-2025.pdf", "checked": "2026-11-17"},
12
+ "rail_hole_pitch": {"value": 25, "unit": "mm", "rule": "Between the rail's mounting holes along it (P)", "kind": "spec", "source": "HIWIN MG Series catalogue 2025 (G99TE24-2410), section 2-4, the MGN dimension table: https://s3.amazonaws.com/www.motionusa.com/hiwin/2025/MG%20Series-2025.pdf", "checked": "2026-11-17"},
13
+ "rail_hole_end": {"value": 10, "unit": "mm", "rule": "The standard distance from the rail's end to its last hole's centre (E). A rail cut to another length is best cut so E is no more than half the pitch", "kind": "spec", "source": "HIWIN MG Series catalogue 2025 (G99TE24-2410), section 2-4, the MGN dimension table: https://s3.amazonaws.com/www.motionusa.com/hiwin/2025/MG%20Series-2025.pdf; and HIWIN MG Series catalogue 2025 (G99TE24-2410), section 2-4, 2-4-17 standard and maximum lengths of rail: https://s3.amazonaws.com/www.motionusa.com/hiwin/2025/MG%20Series-2025.pdf", "checked": "2026-11-17"},
14
+ "rail_hole_diameter": {"value": 3.5, "unit": "mm", "rule": "The rail's mounting hole through it, under the counterbore (d)", "kind": "spec", "source": "HIWIN MG Series catalogue 2025 (G99TE24-2410), section 2-4, the MGN dimension table: https://s3.amazonaws.com/www.motionusa.com/hiwin/2025/MG%20Series-2025.pdf", "checked": "2026-11-17"},
15
+ "rail_counterbore_diameter": {"value": 6, "unit": "mm", "rule": "The counterbore for the screw's head (D)", "kind": "spec", "source": "HIWIN MG Series catalogue 2025 (G99TE24-2410), section 2-4, the MGN dimension table: https://s3.amazonaws.com/www.motionusa.com/hiwin/2025/MG%20Series-2025.pdf", "checked": "2026-11-17"},
16
+ "rail_counterbore_depth": {"value": 4.5, "unit": "mm", "rule": "The counterbore's depth from the rail's top (h)", "kind": "spec", "source": "HIWIN MG Series catalogue 2025 (G99TE24-2410), section 2-4, the MGN dimension table: https://s3.amazonaws.com/www.motionusa.com/hiwin/2025/MG%20Series-2025.pdf", "checked": "2026-11-17"},
17
+ "rail_thread": {"value": "M3", "rule": "The thread of the rail's screws", "kind": "spec", "source": "HIWIN MG Series catalogue 2025 (G99TE24-2410), section 2-4, the MGN dimension table: https://s3.amazonaws.com/www.motionusa.com/hiwin/2025/MG%20Series-2025.pdf; and HIWIN MG Series catalogue 2025 (G99TE24-2410), section 2-4, table 2-4-14 rail mounting bolts: https://s3.amazonaws.com/www.motionusa.com/hiwin/2025/MG%20Series-2025.pdf", "checked": "2026-11-17"},
18
+ "rail_screw_length": {"value": 8, "unit": "mm", "rule": "The rail screw HIWIN lists, M3x8, into a tapped face; into a slot nut the length is the fasten check's to choose", "kind": "spec", "source": "HIWIN MG Series catalogue 2025 (G99TE24-2410), section 2-4, table 2-4-14 rail mounting bolts: https://s3.amazonaws.com/www.motionusa.com/hiwin/2025/MG%20Series-2025.pdf", "checked": "2026-11-17"},
19
+ "rail_mass": {"value": 0.65, "unit": "kg/m", "rule": "The rail's mass per metre", "kind": "spec", "source": "HIWIN MG Series catalogue 2025 (G99TE24-2410), section 2-4, the MGN dimension table: https://s3.amazonaws.com/www.motionusa.com/hiwin/2025/MG%20Series-2025.pdf", "checked": "2026-11-17"},
20
+ "rail_length_max": {"value": 2000, "unit": "mm", "rule": "The longest rail sold in one piece", "kind": "spec", "source": "HIWIN MG Series catalogue 2025 (G99TE24-2410), section 2-4, 2-4-17 standard and maximum lengths of rail: https://s3.amazonaws.com/www.motionusa.com/hiwin/2025/MG%20Series-2025.pdf", "checked": "2026-11-17"},
21
+ "rail_parallelism": {"value": [125, 0.014, 200, 0.015, 250, 0.016, 315, 0.017, 400, 0.018, 500, 0.019, 630, 0.02, 800, 0.022, 1000, 0.023, 1200, 0.025, 1300, 0.025, 1400, 0.026, 1500, 0.027, 1600, 0.028, 1700, 0.029, 1800, 0.03, 1900, 0.03, 2000, 0.031], "unit": "mm", "rule": "Running parallelism of the carriage to the rail's base, normal class (C): the rail's length up to which it holds, then the tolerance. A rail shorter than 125 mm takes the 100 to 125 mm row's figure, the largest of the short rows, as the text of the first rows could not be read cleanly", "kind": "spec", "source": "HIWIN MG Series catalogue 2025 (G99TE24-2410), section 2-4, table 2-4-5 accuracy of running parallelism, normal class (C): https://s3.amazonaws.com/www.motionusa.com/hiwin/2025/MG%20Series-2025.pdf", "checked": "2026-11-17"},
22
+ "carriage_length": {"value": 34.7, "unit": "mm", "rule": "The standard carriage's length along the rail with its end seals (L)", "kind": "spec", "source": "HIWIN MG Series catalogue 2025 (G99TE24-2410), section 2-4, the MGN dimension table: https://s3.amazonaws.com/www.motionusa.com/hiwin/2025/MG%20Series-2025.pdf", "checked": "2026-11-17"},
23
+ "carriage_length_max": {"value": 35.1, "unit": "mm", "rule": "The standard carriage's greatest length with its seal lips and screws (L max): the travel is counted from this", "kind": "spec", "source": "HIWIN MG Series catalogue 2025 (G99TE24-2410), section 2-4, the MGN dimension table: https://s3.amazonaws.com/www.motionusa.com/hiwin/2025/MG%20Series-2025.pdf", "checked": "2026-11-17"},
24
+ "carriage_body_length": {"value": 21.7, "unit": "mm", "rule": "The standard carriage's steel body, without its end caps (L1)", "kind": "spec", "source": "HIWIN MG Series catalogue 2025 (G99TE24-2410), section 2-4, the MGN dimension table: https://s3.amazonaws.com/www.motionusa.com/hiwin/2025/MG%20Series-2025.pdf", "checked": "2026-11-17"},
25
+ "carriage_hole_x": {"value": 15, "unit": "mm", "rule": "Between the standard carriage's tapped holes along the rail (C)", "kind": "spec", "source": "HIWIN MG Series catalogue 2025 (G99TE24-2410), section 2-4, the MGN dimension table: https://s3.amazonaws.com/www.motionusa.com/hiwin/2025/MG%20Series-2025.pdf", "checked": "2026-11-17"},
26
+ "carriage_mass": {"value": 0.034, "unit": "kg", "rule": "The standard carriage's mass", "kind": "spec", "source": "HIWIN MG Series catalogue 2025 (G99TE24-2410), section 2-4, the MGN dimension table: https://s3.amazonaws.com/www.motionusa.com/hiwin/2025/MG%20Series-2025.pdf", "checked": "2026-11-17"},
27
+ "dynamic_rating": {"value": 2840, "unit": "N", "rule": "The standard carriage's basic dynamic load rating C, 2.84 kN", "kind": "spec", "source": "HIWIN MG Series catalogue 2025 (G99TE24-2410), section 2-4, the MGN dimension table: https://s3.amazonaws.com/www.motionusa.com/hiwin/2025/MG%20Series-2025.pdf", "checked": "2026-11-17"},
28
+ "static_rating": {"value": 3920, "unit": "N", "rule": "The standard carriage's basic static load rating C0, 3.92 kN, square to the rail's face", "kind": "spec", "source": "HIWIN MG Series catalogue 2025 (G99TE24-2410), section 2-4, the MGN dimension table: https://s3.amazonaws.com/www.motionusa.com/hiwin/2025/MG%20Series-2025.pdf", "checked": "2026-11-17"},
29
+ "moment_roll": {"value": 25.48, "unit": "N m", "rule": "The standard carriage's static rated moment about the rail's axis (MR)", "kind": "spec", "source": "HIWIN MG Series catalogue 2025 (G99TE24-2410), section 2-4, the MGN dimension table: https://s3.amazonaws.com/www.motionusa.com/hiwin/2025/MG%20Series-2025.pdf", "checked": "2026-11-17"},
30
+ "moment_pitch": {"value": 13.72, "unit": "N m", "rule": "The standard carriage's static rated moment tipping it end over end (MP)", "kind": "spec", "source": "HIWIN MG Series catalogue 2025 (G99TE24-2410), section 2-4, the MGN dimension table: https://s3.amazonaws.com/www.motionusa.com/hiwin/2025/MG%20Series-2025.pdf", "checked": "2026-11-17"},
31
+ "moment_yaw": {"value": 13.72, "unit": "N m", "rule": "The standard carriage's static rated moment turning it across the rail (MY)", "kind": "spec", "source": "HIWIN MG Series catalogue 2025 (G99TE24-2410), section 2-4, the MGN dimension table: https://s3.amazonaws.com/www.motionusa.com/hiwin/2025/MG%20Series-2025.pdf", "checked": "2026-11-17"},
32
+ "carriage_stiffness": {"value": 67000, "unit": "N/mm", "rule": "The standard carriage's radial stiffness at very light preload (Z0), 67 N/µm. A light clearance (ZF) carriage is softer; HIWIN gives no figure for it", "kind": "spec", "source": "HIWIN MG Series catalogue 2025 (G99TE24-2410), section 2-4, table 2-4-7 radial stiffness: https://s3.amazonaws.com/www.motionusa.com/hiwin/2025/MG%20Series-2025.pdf", "checked": "2026-11-17"},
33
+ "carriage_width": {"value": 27, "unit": "mm", "rule": "The carriage's width across the rail (W)", "kind": "spec", "source": "HIWIN MG Series catalogue 2025 (G99TE24-2410), section 2-4, the MGN dimension table: https://s3.amazonaws.com/www.motionusa.com/hiwin/2025/MG%20Series-2025.pdf", "checked": "2026-11-17"},
34
+ "carriage_height": {"value": 13, "unit": "mm", "rule": "The carriage's top over the face the rail is screwed to (H)", "kind": "spec", "source": "HIWIN MG Series catalogue 2025 (G99TE24-2410), section 2-4, the MGN dimension table: https://s3.amazonaws.com/www.motionusa.com/hiwin/2025/MG%20Series-2025.pdf", "checked": "2026-11-17"},
35
+ "carriage_clearance": {"value": 3, "unit": "mm", "rule": "The gap under the carriage over that face (H1)", "kind": "spec", "source": "HIWIN MG Series catalogue 2025 (G99TE24-2410), section 2-4, the MGN dimension table: https://s3.amazonaws.com/www.motionusa.com/hiwin/2025/MG%20Series-2025.pdf; and HIWIN MG Series catalogue 2025 (G99TE24-2410), section 2-4, table 2-4-13 shoulder heights and fillets: https://s3.amazonaws.com/www.motionusa.com/hiwin/2025/MG%20Series-2025.pdf", "checked": "2026-11-17"},
36
+ "carriage_hole_y": {"value": 20, "unit": "mm", "rule": "Between the carriage's tapped holes across the rail (B)", "kind": "spec", "source": "HIWIN MG Series catalogue 2025 (G99TE24-2410), section 2-4, the MGN dimension table: https://s3.amazonaws.com/www.motionusa.com/hiwin/2025/MG%20Series-2025.pdf", "checked": "2026-11-17"},
37
+ "carriage_thread": {"value": "M3", "rule": "The thread of the carriage's four tapped holes", "kind": "spec", "source": "HIWIN MG Series catalogue 2025 (G99TE24-2410), section 2-4, the MGN dimension table: https://s3.amazonaws.com/www.motionusa.com/hiwin/2025/MG%20Series-2025.pdf", "checked": "2026-11-17"},
38
+ "carriage_thread_depth": {"value": 3.5, "unit": "mm", "rule": "How deep the carriage's tapped holes go (from Mxl)", "kind": "spec", "source": "HIWIN MG Series catalogue 2025 (G99TE24-2410), section 2-4, the MGN dimension table: https://s3.amazonaws.com/www.motionusa.com/hiwin/2025/MG%20Series-2025.pdf", "checked": "2026-11-17"},
39
+ "carriage_play": {"value": 0.01, "unit": "mm", "rule": "The most the carriage moves across its rail with no load, light clearance (ZF): 4 to 10 µm, the class most often sold. Very light preload (Z0) is 0 to 3 µm", "kind": "spec", "source": "HIWIN MG Series catalogue 2025 (G99TE24-2410), section 2-4, table 2-4-6 preload classes: https://s3.amazonaws.com/www.motionusa.com/hiwin/2025/MG%20Series-2025.pdf", "checked": "2026-11-17"}
40
+ }
41
+ }