dechatter 0.1.0 → 0.2.0

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 ADDED
@@ -0,0 +1,103 @@
1
+ # Changelog
2
+
3
+ What changed for people who use the dechatter widget and command line. The format follows
4
+ [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and versions follow
5
+ [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
6
+
7
+ ## [Unreleased]
8
+
9
+ ## [0.2.0] - 2026-11-12
10
+
11
+ ### Changed
12
+
13
+ - **Breaking:** the spindle motor power is given in horsepower. `spindle_power_w` in
14
+ `[machine]` is now `spindle_power_hp` (1 hp = 745.7 W), and the wizard asks for hp.
15
+ - **Breaking:** sessions from 0.1.x do not load in 0.2.0, in the widget or the command line:
16
+ their setup, plans and results are in the older format. Start a new session for each
17
+ tool. dechatter refuses them with a message that says so: a 0.1.x setup (it has
18
+ `spindle_power_w`) is named as one, and a round in the older format says it was written
19
+ by an older dechatter. A round damaged otherwise is named with its file and the problem.
20
+ - **Breaking:** once a round has been cut (recorded or analysed), the setup can no longer
21
+ change in anything that shapes the cut or its sound: the machine's weight and spindle
22
+ control, the tool, the work material, depth, direction and chip load, the stock length,
23
+ the dwell and the coolant. The wizard and `dechatter plan` refuse such a change and say
24
+ which fields differ. Start a new session for the new setup.
25
+ - Programs are written in the machine's units: on a machine in G20 the program is in
26
+ inches, so a job never switches the machine's units, even one stopped part-way. Comments,
27
+ plans and results stay in millimetres. "Load into cncjs" waits until cncjs reports G20 or
28
+ G21; until it does, you can say which the machine is in.
29
+ - A round planned but not yet run is discarded when the setup changes its program, and the
30
+ widget says so. Plan it again. Program names now carry a short code, so a program loaded
31
+ into cncjs before such a change, or before a widget reload, is not taken for the new one:
32
+ load it again before running it.
33
+ - The machine's speed range and power, the cut's speed and width limits and shallower
34
+ depths, the machine's name, the safe height, clearance, plunge feed, truing width, stock
35
+ width and the planner's settings may change at any time. Cuts outside narrowed limits stay
36
+ in their round but are not recommended, nor are cuts over a lowered power cap, and the
37
+ chip-load sweep is offered only for a cut the power cap leaves room to sweep. A sweep's
38
+ result stays within the power cap as it is now. On the map, a stable cut wider than a narrowed
39
+ width limit counts as stable at the widest width searched; chatter that wide, and cuts at
40
+ speeds outside the limits, are left out. Cuts at the edges of the search, such as a width
41
+ the grid rounds just above the limit, or speeds a coarser speed step no longer reaches,
42
+ keep counting.
43
+ - The setup wizard shows on each step only what has to be answered about the machine, tool
44
+ and stock. Settings with a default or a computed value sit in a collapsed Advanced section,
45
+ showing what an empty entry becomes; a section holding a changed setting opens by itself.
46
+ - The setup cannot be saved while a job runs in cncjs or while a round is being recorded.
47
+
48
+ ### Added
49
+
50
+ - A chip-load sweep after convergence: the widget offers it, and `dechatter plan --sweep`
51
+ plans it. The best stable cut runs again at five chip loads, by default 0.6 to 1.7 times
52
+ the session's, lightest first and inside the power cap. The result, the highest chip load
53
+ that stayed stable with its feed, shows beside the best cuts, in `dechatter report` and in
54
+ the printed report. Its cuts do not change the stability map. The bounds are two new
55
+ planner settings, `chip_load_sweep_low` and `chip_load_sweep_high`.
56
+ - A printable report: one HTML page for Letter or A4 with the recommended cuts per depth
57
+ (feed, removal rate, spindle power), the stability map, every round's passes with
58
+ verdicts set by hand marked, and the setup. The widget offers it on convergence and beside
59
+ the best cuts, exports include it as `report.html`, and `dechatter report <session>
60
+ --html <file> [--units in]` writes it. An export still succeeds, without the report, if
61
+ the report cannot be made.
62
+ - An (i) button on every wizard field with a longer explanation: what it changes, its
63
+ default, and whether it may change after a cut.
64
+
65
+ ### Removed
66
+
67
+ - The "Use mm instead" button and the `G20` line at the end of programs: programs no longer
68
+ change the machine's units, so neither is needed.
69
+
70
+ ### Fixed
71
+
72
+ - A new session could plan round 1 from the example setup when the wizard was cancelled.
73
+ Planning now waits until the setup is filled in, and the widget points to the wizard.
74
+ - Saving a new setup after rounds existed kept rounds planned for the old one.
75
+
76
+ ## [0.1.1] - 2026-11-10
77
+
78
+ ### Changed
79
+
80
+ - No changes to the widget or the command line. The first release published by the release
81
+ workflow, with npm provenance.
82
+
83
+ ## [0.1.0] - 2026-11-10
84
+
85
+ ### Added
86
+
87
+ - Command line: `dechatter init`, `plan`, `analyze`, `report`, `materials` and `widget`.
88
+ Each round of test cuts is a G-code program; a recording of the run is split into passes
89
+ and each is classified as stable or chatter from its sound.
90
+ - A Bayesian stability map over spindle speed and radial width that chooses the next cuts,
91
+ and stops when no cut promises enough extra removal rate.
92
+ - Shallower depths to compare once the deepest one is settled.
93
+ - Manual spindle control: the program stops before each speed for you to set it.
94
+ - The cncjs widget: runs a whole session in the browser (Pyodide), records with the
95
+ browser's microphone while the job runs, loads programs into cncjs, and shows verdicts,
96
+ the stability map and the best cuts. A setup wizard follows the machine's G20/G21 units.
97
+ Sessions export to a zip the command line reads, and import in another browser.
98
+ - Published on npm as `dechatter`, with third-party notices for the bundled Pyodide.
99
+
100
+ [Unreleased]: https://github.com/pedropaulovc/dechatter/compare/v0.2.0...HEAD
101
+ [0.2.0]: https://github.com/pedropaulovc/dechatter/compare/v0.1.1...v0.2.0
102
+ [0.1.1]: https://github.com/pedropaulovc/dechatter/compare/v0.1.0...v0.1.1
103
+ [0.1.0]: https://github.com/pedropaulovc/dechatter/releases/tag/v0.1.0