You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 7f04405
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: CHANGELOG.md
+5Lines changed: 5 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,10 @@
1
1
# Changelog
2
2
3
+
## 1.6.3 - 2026-09-23
4
+
5
+
- Fixed milling 3D camera jumps during automatic refresh after pasting or dropping G-code. Ordinary updates preserve the camera center and zoom; a newly inserted path is fitted only when it grows or moves substantially and would otherwise extend beyond the current view. Turning camera behavior is unchanged.
6
+
- Added Hole Calculator, Pocket Calculator and Snippets dialogs ported from CNCEditor, including circular/grid hole coordinates, circular/rectangular pocket G-code, helical-entry and compensation options, persistent editable snippets, insertion at the editor caret, and the original CNCEditor toolbar icons. Calculator windows are now compact/resizable with live painter-based XY previews, use a simple Insert action, place pocket-option checkboxes in the first column, and are disabled in Lathe mode; rectangular Spiral generates a real interior clearing path plus the final contour. Snippets uses a SQLite library, imports the former text-file store once without deleting it, protects unsaved edits when selection/closing changes and persists manual Up/Down ordering.
7
+
3
8
## 1.6.2 - 2026-09-23
4
9
5
10
- Added a machine-neutral cycle execution contract while preserving machine-specific expansion models. Milling canned cycles now return geometry, signals, modal updates and position updates as one atomic outcome built against temporary state; the existing turning expansion pipeline is connected through an adapter without rewriting G70-G76 semantics. Cycle implementations now live under canonical `turning/cycles` and `milling/cycles` packages, with historical import paths retained as aliases.
Yes. **Help → FAQ** opens a normal resizable window with Minimize, Maximize and Close controls. Contents links navigate within the document; the License link opens the packaged `LICENSE.md` document.
80
81
82
+
## CNC editing assistants
83
+
84
+
### Where are Hole Calculator, Pocket Calculator and Snippets?
85
+
86
+
All three tools are available from **CNC Functions** and from their toolbar icons. Hole Calculator and Pocket Calculator are milling-only, so they are disabled in Lathe mode; Snippets remains available. Generated text is inserted at the current editor caret, replacing the current selection when one exists. Since the calculators already show a live preview, their final action is simply **Insert**. The source remains editable, and the toolpath is updated through the normal Auto Update or Refresh workflow.
87
+
88
+
### What does Hole Calculator generate?
89
+
90
+
The **Circular** tab distributes the requested number of XY coordinates evenly around a diameter, starting at the specified angle and moving clockwise or counterclockwise. The **Grid** tab creates an XY rectangular pattern and alternates the X direction on each row to produce a serpentine traversal.
91
+
92
+
Only coordinate blocks are inserted. Add the required drilling cycle, safe moves, feeds and controller-specific commands around them in the CNC program.
93
+
94
+
### What does Pocket Calculator generate?
95
+
96
+
Pocket Calculator inserts a milling fragment for either a circular or rectangular pocket. Tool and pocket dimensions, center, stepover, safe/reference Z, start/end depth, depth step, stock and feed are configurable. Optional controls select clockwise/counterclockwise cutting, spiral clearing, helical entry and a finish pass on the calculated tool-center contour. The finish pass removes the configured XY stock without emitting G41/G42. A live XY preview updates while parameters change; rectangular Spiral clears continuously from the interior and then runs the final outer contour. The calculator rejects unsafe Z ordering and paths above 20,000 estimated points.
97
+
98
+
The calculator uses a compact resizable multi-column layout rather than enforcing a tall fixed minimum height. The generated fragment is a starting point for the active program, not a complete safety-validated machine program. Verify tool data, compensation register, work offset, spindle/coolant state, clearances and controller compatibility before machining.
99
+
100
+
### Where are snippets stored?
101
+
102
+
Snippets are stored in a SQLite database beside the per-user application configuration. On Windows this is normally:
103
+
104
+
```text
105
+
%LOCALAPPDATA%\easy-gcode-plot\snippets.db
106
+
```
107
+
108
+
When upgrading from the earlier text-file implementation, existing UTF-8 files from the adjacent `snippets` directory are imported once. The original `.txt` files are retained as a backup and are no longer used for subsequent edits.
109
+
110
+
Use **Add** to create a fragment, edit its text and press **Save**. If the current text has unsaved changes, changing the selected snippet or closing the dialog asks whether to Save, Discard or Cancel instead of replacing the editor contents silently. **Rename**, **Delete**, **Up** and **Down** manage the list; manual Up/Down order is persisted across launches. **Insert** places the selected fragment into the CNC editor.
- G-code editor with highlighting, line numbers, search, replace and cleanup tools.
31
+
- CNC editing assistants for circular/grid hole patterns, circular/rectangular pockets and reusable persistent snippets.
31
32
- Interactive OpenGL toolpath, logical-motion playback and source-line synchronization.
32
33
- Toolpath statistics and CIMCO-style UTF-8 Tool List export from the resolved trace and configured tools.
33
34
- Cutter-aware turning Stock Removal, including thread profiles.
@@ -69,8 +70,20 @@ uv run --no-dev python main.py
69
70
3. Configure WCS, machine home and tools when required.
70
71
4. Refresh and inspect the resolved toolpath.
71
72
5. Use playback, Tokens/Macro Variables and Statistics to inspect execution. The Macro Variables tab shows the actual Macro B state captured at the current logical playback step.
72
-
6. Optionally import an STL reference model.
73
-
7. Export the required program or trajectory representation.
73
+
6. Use **CNC Functions → Hole Calculator**, **Pocket Calculator** or **Snippets** to generate and insert frequently used code at the editor caret.
74
+
7. Optionally import an STL reference model.
75
+
8. Export the required program or trajectory representation.
76
+
77
+
## CNC editing assistants
78
+
79
+
The **CNC Functions** menu and toolbar provide three editor tools:
80
+
81
+
-**Hole Calculator** inserts coordinates for holes distributed around a circle or over a serpentine rectangular grid and shows a live XY preview.
82
+
-**Pocket Calculator** generates a milling fragment for circular or rectangular pockets. It supports clockwise/counterclockwise cutting, multiple Z depths, XY/Z stock, conventional or spiral clearing, helical entry and an optional finish pass along the calculated tool-center contour. Its compact resizable layout includes a live XY preview; rectangular Spiral generates interior clearing before the final contour.
83
+
- Hole and Pocket calculators are milling-only assistants: their actions and Insert buttons are disabled in Lathe mode. Because calculation is already reflected by the live preview, the final action is simply **Insert**.
84
+
-**Snippets** manages reusable G-code fragments. Snippets can be added, edited, renamed, reordered, deleted and inserted at the current editor caret. They are stored in the per-user SQLite database `snippets.db`; legacy UTF-8 files from the adjacent `snippets` directory are imported once and retained as a backup. Unsaved edits are protected by a Save/Discard/Cancel prompt when selection or dialog state would otherwise replace them, and manual ordering is persisted.
85
+
86
+
The calculators insert code into the editor; they do not execute or export it automatically. Refresh the toolpath after reviewing the generated block.
74
87
75
88
Unsupported or ambiguous controller behavior is reported explicitly instead of being converted into guessed geometry.
0 commit comments