@rulecad/rules 0.3.11 → 0.3.12
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.
- package/README.md +2 -0
- package/hexkey.json +12 -0
- package/package.json +1 -1
- package/packs.json +7 -0
package/README.md
CHANGED
|
@@ -31,6 +31,8 @@ it comes from and when it was checked, so a design built on it can be traced and
|
|
|
31
31
|
| `unc_4_40`, `unc_6_32`, `unc_8_32`, `unc_10_24`, `unf_10_32`, `unc_1_4_20`, `unc_5_16_18`, `unc_3_8_16` | Unified inch threads 4-40 to 3/8-16 to the same names, in millimetres, each rule's text giving its inch figure: ASME B1.1 threads, ASME B18.3 socket screws, with holes, nuts, washers and lengths | 39 to 49 each |
|
|
32
32
|
| `pt_k22`, `pt_k25`, `pt_k30`, `pt_k35`, `pt_k40`, `pt_k50` | Thread-forming screws for plastic (the PT type, WN 1412), 2.2 to 5 mm: thread, pan head with a Torx variant, and the maker's pilot, depth and boss for ABS. Community until measured in printed plastic | 11 each |
|
|
33
33
|
| `engagement` | How much thread a screw needs in what it screws into, in screw diameters: steel, aluminium, plastic | 3 |
|
|
34
|
+
| `hexkey` | Hex keys (ISO 2936): sizes, width across corners, long and short arms, how far a ball end tilts, and a socket's wall: what a key needs to reach a screw's head | 6 |
|
|
35
|
+
| `packs` | How small fixings are bought: the pack a shopping list rounds a count up to (an estimate) | 1 |
|
|
34
36
|
| `rp2040` | The RP2040 microcontroller: which package pins carry which GPIO | 2 |
|
|
35
37
|
| `dial-indicator` | A dial indicator with a plunger, for measuring small movements | 2 |
|
|
36
38
|
| `pla`, `petg` | Bambu Lab PLA Basic and PETG HF, printed, for analysis: stiffness and strength along the layers and across them | 6, 7 |
|
package/hexkey.json
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
{
|
|
2
|
+
"_doc": "Hexagon socket screw keys (L-shaped hex keys) and the tools that turn a fixing: what a key needs to reach a screw's head. Sizes by the key's width across its flats, each list in the same order as sizes. A fixing reads its key size from its thread's set (m3.head_key and the rest) and its reach from here. kind as in x1c.json.",
|
|
3
|
+
"name": "hexkey",
|
|
4
|
+
"rules": {
|
|
5
|
+
"sizes": { "value": [1.5, 2, 2.5, 3, 4, 5, 6, 8, 10, 12], "unit": "mm", "rule": "Hex key sizes, across the flats (s nominal), in the order of the lists below", "kind": "spec", "source": "ISO 2936:2001 (assembly tools for screws and nuts, hexagon socket screw keys), as tabulated at https://amesweb.info/Tools/Hexagon-Socket-Screw-Key-Chart.aspx", "checked": "2026-11-15" },
|
|
6
|
+
"corners": { "value": [1.63, 2.18, 2.75, 3.31, 4.44, 5.58, 6.71, 8.97, 11.23, 13.44], "unit": "mm", "rule": "A hex key's width across its corners, at least (e min), size by size: the round the key turns in, so the room a key needs across its axis", "kind": "spec", "source": "ISO 2936:2001 (assembly tools for screws and nuts, hexagon socket screw keys), as tabulated at https://amesweb.info/Tools/Hexagon-Socket-Screw-Key-Chart.aspx", "checked": "2026-11-15" },
|
|
7
|
+
"long_arm": { "value": [46.5, 52, 58.5, 66, 74, 85, 96, 108, 122, 137], "unit": "mm", "rule": "A standard hex key's long arm (l1), size by size: a key put in along the screw's axis by its long arm, turned by its short arm, needs this much clear over the head", "kind": "spec", "source": "ISO 2936:2001 (assembly tools for screws and nuts, hexagon socket screw keys), standard series, as tabulated at https://amesweb.info/Tools/Hexagon-Socket-Screw-Key-Chart.aspx", "checked": "2026-11-15" },
|
|
8
|
+
"short_arm": { "value": [15.5, 18, 20.5, 23, 29, 33, 38, 44, 50, 57], "unit": "mm", "rule": "A standard hex key's short arm (l2), size by size: the least a key can reach down to a head with, its long arm then swung round as the handle", "kind": "spec", "source": "ISO 2936:2001 (assembly tools for screws and nuts, hexagon socket screw keys), standard series, as tabulated at https://amesweb.info/Tools/Hexagon-Socket-Screw-Key-Chart.aspx", "checked": "2026-11-15" },
|
|
9
|
+
"ball_end_tilt": { "value": 25, "unit": "deg", "rule": "How far off a screw's axis a ball-end hex key still turns it: a head the straight line cannot reach may be reached tilted this far. A ball end takes less torque than a straight key, so a screw only a ball end reaches is said", "kind": "community", "source": "Bondhus Balldriver keys, a 25 degree working angle as the maker's figure is given in sellers' listings: https://marssupply.com/Product/BON26554 (2.5 mm), https://www.pelicansalessupply.com/products/bondhus-balldriver-l-wrench-keys-5-mm-4-7-in-long. No standard covers ball ends", "checked": "2026-11-15" },
|
|
10
|
+
"socket_wall": { "value": 2, "unit": "mm", "rule": "The wall of a socket or ring spanner round a hexagon head, taken for the room a hexagon head needs round its corners: an estimate, no standard was read for it", "kind": "estimate", "source": "A working figure of @rulecad/cad, to be measured on the sockets in use", "checked": "2026-11-15" }
|
|
11
|
+
}
|
|
12
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rulecad/rules",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.12",
|
|
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": {
|
package/packs.json
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"_doc": "How small fixings are bought: in packs, so a shopping list rounds a count up to whole packs and says how many are spare. kind as in x1c.json.",
|
|
3
|
+
"name": "packs",
|
|
4
|
+
"rules": {
|
|
5
|
+
"pack": { "value": 10, "unit": "", "rule": "Screws, nuts, washers and inserts up to M6 are bought in packs of 10: the shopping list rounds each count up to whole packs of this size and shows the spares. An estimate: sellers offer packs from 5 to 1000 (Spalding Fasteners lists 5, 10, 20, 50, 100 and more of an M3x8; Hi-Line and Zoro sell M3x8 cap screws by the 100), and 10 is a common small pack. Set your own where you buy", "kind": "estimate", "source": "Sellers' listings for M3x8 socket cap screws: https://www.spaldingfasteners.co.uk/PARENT744, https://hi-line.com/m3-50-x-8-mm-socket-head-cap-screw-stainless-steel/, https://www.zoro.com/titan-fasteners-m3-x-05-x-8mm-socket-head-cap-screw-304-stainless-steel-pkg-of-100-bsw03008/i/G408426669/", "checked": "2026-11-15" }
|
|
6
|
+
}
|
|
7
|
+
}
|