@rulecad/rules 0.3.14 → 0.3.15
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/CHANGELOG.md +33 -0
- package/README.md +7 -1
- package/package.json +2 -1
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
# Changelog: @rulecad/rules
|
|
2
|
+
|
|
3
|
+
What changed in each release, for someone upgrading a workspace. A rule set's **values** are the figures designs
|
|
4
|
+
read (`m3.clearance`, `x1c.hole_comp`). Each release says whether any value changed, and why.
|
|
5
|
+
|
|
6
|
+
## 0.3.15: old thread names kept and checked (Fixings 3)
|
|
7
|
+
|
|
8
|
+
### What reads fixings now
|
|
9
|
+
|
|
10
|
+
This package holds data only and reads nothing. Its thread sets (`m1_6` to `m12`, `unc_4_40` to `unc_3_8_16`) are what
|
|
11
|
+
`@rulecad/fixings` reads for every screw in the kit, so through fixings they now size every screw hole in cad's
|
|
12
|
+
designs (`v.fixings`), motors' mounts and pcb's board holes.
|
|
13
|
+
|
|
14
|
+
### Changed
|
|
15
|
+
|
|
16
|
+
- A test holds that every thread name a design in the repository reads (its examples, the create-rulecad templates
|
|
17
|
+
and machines, and cad's worked examples) is in the kit's set, that each old name is the vocabulary's own name for
|
|
18
|
+
its figure, and that each alias a set lists in `"interface"` (`screw_clearance` is `clearance`) names a vocabulary
|
|
19
|
+
field and a rule the set has.
|
|
20
|
+
- The README says which names designs read stay, and what happens to a workspace's own copy of a set after an
|
|
21
|
+
upgrade: it is read as it is, and `cad rules check m3` lists what the kit's set has that the copy lacks.
|
|
22
|
+
|
|
23
|
+
### Values that changed
|
|
24
|
+
|
|
25
|
+
None. No rule's value, unit or kind changed in this release.
|
|
26
|
+
|
|
27
|
+
### What a workspace should change
|
|
28
|
+
|
|
29
|
+
- A workspace that keeps its own copy of a thread set (`rules/m3.json`, made before the sets were widened) keeps
|
|
30
|
+
working, and reads its copy first. Run `npx cad rules check` to see what the kit's set has that the copy lacks (a
|
|
31
|
+
pilot, nut flats, insert hole, sold lengths): copy those across, or delete the copy to read the kit's. A copy that
|
|
32
|
+
holds only some figures makes a design read its clearances from the copy and its pilots and lengths from the kit,
|
|
33
|
+
so a later kit release could move a printed part without the copy changing.
|
package/README.md
CHANGED
|
@@ -122,7 +122,13 @@ the same names whatever the size, so `m3.clearance`, `m8.clearance` and `unc_1_4
|
|
|
122
122
|
|
|
123
123
|
A size carries only what its standard makes in that size: there is no M2 button head in ISO 7380-1, so `m2` has no
|
|
124
124
|
`button_head`. The names designs have read since the first release keep their values: `clearance` is the ISO 273
|
|
125
|
-
normal hole, `head` and `head_height` the ISO 4762 head, `nut_flats` and `nut_height` the ISO 4032 nut
|
|
125
|
+
normal hole, `head` and `head_height` the ISO 4762 head, `nut_flats` and `nut_height` the ISO 4032 nut, `insert_hole`
|
|
126
|
+
and `insert_length` the insert. Each is the vocabulary's own name for its figure, so nothing is renamed. Three are also
|
|
127
|
+
read under the vocabulary's shared names for the screw a part mounts by, which a motor's mount reads: each thread set
|
|
128
|
+
lists them as aliases in `"interface"` (`screw_clearance` is `clearance`, `screw_head` is `head`, `screw_head_height`
|
|
129
|
+
is `head_height`), and `cad rules check` says so as a note, never a failure. A workspace keeps its own copy of a set
|
|
130
|
+
it has used (`rules/m3.json`), and the copy is read as it is after an upgrade: `cad rules check m3` lists what the
|
|
131
|
+
kit's set has that the copy lacks, to copy across, or the copy can be deleted to read the kit's. Where an older
|
|
126
132
|
DIN and the current ISO disagree (a 16 mm M10 nut where DIN 934 made it 17), the set holds the ISO figure and its rule
|
|
127
133
|
says so: measure the nuts you have before cutting a pocket for them.
|
|
128
134
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rulecad/rules",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.15",
|
|
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",
|