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 76f317f
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: CHANGELOG.md
+10-2Lines changed: 10 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,15 @@
1
1
# Changelog
2
2
3
-
## 1.5.8 - 2026-09-19
4
-
3
+
## 1.5.8 - 2026-09-20
4
+
5
+
- Added persistent **Autodetect Arc Type** under `Settings -> Options -> CNC / Execution` for milling. Execution inspects the already parsed unresolved motion stream, skips R-only arcs while detecting, compares relative-IJK and absolute-center radius consistency against the configured arc tolerance, fixes one effective IJK mode for the whole run and falls back to the manually selected Arc Type when the program remains ambiguous. Turning and Arc Output export semantics are unchanged.
6
+
- Added persistent **Ignore Block Skip** under `Settings -> Options -> CNC / Execution`. When enabled, leading `/` blocks are excluded consistently from turning and milling execution, Macro B side effects and Expanded Execution export without modifying the source file; the existing execute-by-default behavior remains the default.
7
+
- Fixed the cancellable CNC execution dialog so it remains visible through actual plot publication instead of closing when only the worker portion finishes. Cancel now uses the same cooperative token during tool discovery, streaming source parsing, AST/index construction, kernel execution, trace sampling and GUI geometry publication.
8
+
- Removed whole-file `splitlines()` copies from kernel parsing and tool discovery, added bounded cancellation checkpoints to the previously non-cancellable passes and verified responsive cancellation with a 77 MB / 2.57 million-line milling program.
9
+
- Fixed the execution dialog's dark-theme client area and first-frame painting so Windows no longer exposes a blank white interior before the dialog contents are rendered.
10
+
- Improved the execution status bar with spacing between fields, explicit `Errors`/`Warnings` labels, diagnostic detail tooltips and compact second-based timing for long executions.
11
+
- Made the built-in FAQ a normal resizable/maximizable window, added document-aware heading/paragraph spacing without modifying `FAQ.md`, preserved anchor navigation and made the packaged `LICENSE.md` link open correctly.
12
+
- Reduced avoidable Turning Stock Removal overlay work and removed noisy slow-frame warnings when no actionable slowdown is present.
5
13
- Refactored `app/gcode/kernel` without adding new G-code functionality or intentionally changing CNC execution semantics; the change consolidates common mechanics left from the historically separate turning and milling implementations.
6
14
- Added shared machine/runtime state primitives for unit mode, active WCS/tool, feed mode/feed and spindle state, and removed the duplicate turning cycle-state synchronization path.
7
15
- Consolidated common program execution plumbing for Macro B evaluation/control flow, block evaluation/classification, execution guard/program counter, subprogram call stack and M98/M99/M2/M30 flow events.
Copy file name to clipboardExpand all lines: FAQ.md
+18-1Lines changed: 18 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -70,6 +70,14 @@ Use Shift+Click near the trajectory. The application selects the owning source b
70
70
71
71
Auto Update has a configurable sampled-segment limit. Large programs are left unchanged until an explicit Refresh so that typing remains responsive. Manual refresh displays staged progress for a large trace.
72
72
73
+
### What does Cancel stop during Refresh?
74
+
75
+
The execution dialog covers tool discovery, source parsing, CNC execution, trace sampling and final plot publication. **Cancel** remains active until the complete operation ends and cooperatively stops whichever stage is running. Very large sources are read incrementally so cancellation does not wait for a complete `splitlines()` copy or a full parser pass.
76
+
77
+
### Can the built-in FAQ be resized?
78
+
79
+
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
+
73
81
## Lathe mode
74
82
75
83
### Where are the Lathe controls?
@@ -221,6 +229,12 @@ The default millimetre/inch option initializes execution only until the program
221
229
222
230
Analytical arc center, radius, sweep, plane and direction are resolved once by the kernel. Rendering only samples the resulting geometry.
223
231
232
+
When **Autodetect Arc Type** is enabled under **Settings → Options → CNC / Execution**, the milling executor examines IJK arcs in occurrence order before geometry resolution. R-only arcs are ignored for detection. Relative and absolute-center interpretations are compared using Arc tolerance; the first unambiguous IJK arc fixes the mode for the whole execution. If all candidate arcs are ambiguous, the manually selected Arc Type is used as the fallback. Mixed R and IJK programs remain valid because each R block is still resolved from R. Turning is unaffected and always uses relative I/K.
233
+
234
+
### How do leading slash blocks work?
235
+
236
+
A source block beginning with `/` is an optional Block Skip block. With **Ignore Block Skip** enabled under **Settings → Options → CNC / Execution**, the complete block is excluded, including motion, Macro B assignments, signals and subprogram calls. With the option disabled, it executes normally. The setting applies to turning and milling, persists between launches and is also reflected in Expanded Execution export without rewriting the source file.
237
+
224
238
### Are full circles supported?
225
239
226
240
Yes. When exporting an R-format full circle, Expanded Execution emits two exact R semicircles because one R block cannot uniquely represent a full circle.
@@ -304,6 +318,8 @@ One or more motions lack a trustworthy physical feed rate. A common cause is fee
304
318
305
319
Expanded Execution follows actual occurrence order, including subprogram calls and generated cycle motions. It preserves relevant WCS, home returns, threading, dwell, spindle and coolant events.
306
320
321
+
When **Ignore Block Skip** is enabled, Expanded Execution consumes the already filtered execution result, so skipped `/` blocks are not emitted and the source is not executed a second time for export.
322
+
307
323
In Lathe mode, generated arcs use relative I/K and incremental coordinates use U/W. In Mill mode, coordinate and arc output representations are configurable.
308
324
309
325
DXF uses separate rapid and cutting layers. Turning uses plot-aligned Z/X entities; milling exports 3D line/arc/circle geometry where representable.
@@ -326,7 +342,8 @@ On Windows:
326
342
- UTF-8 or Windows-1251 document encoding.
327
343
- Default Text/ISO editor mode and default units.
328
344
- Application logging.
329
-
- G41/G42 correction and arc tolerance.
345
+
- G41/G42 correction, arc tolerance and milling Arc Type autodetection.
346
+
- Persistent optional-block control through `Ignore Block Skip`.
330
347
- Editor font and visual settings.
331
348
- Plot colors, line thickness, axes and grid.
332
349
-`Show Stock` immediately after `Show canvas grid`.
- Milling IJK arc-mode autodetection with manual Relative/Absolute fallback for ambiguous programs.
40
+
- Persistent optional-block execution control for leading `/` blocks without editing the NC source.
39
41
- ASCII/binary STL reference overlay with solid and feature-edge modes.
40
42
- Tokens diagnostics, toolpath statistics and millimetre/inch display.
41
43
- English and Russian user interface; the language is selected in `Settings → Options → General` and applied after restarting the application.
@@ -85,6 +87,16 @@ The application reports unsupported or ambiguous controller behavior explicitly
85
87
-**Language** — switch between **English** and **Russian**. The change is applied after restarting the application; kernel diagnostics, log messages and G-code comments intentionally stay in English.
86
88
-**Theme** — switch between the native **Light** look and a **Dark** theme that also adapts the editor, the plot canvas and the standard toolpath colors. Plot colors customized on the **Colors** tab are preserved when the theme changes.
87
89
90
+
## CNC execution options
91
+
92
+
`Settings → Options → CNC / Execution` contains execution settings shared by Refresh, playback analysis and export:
93
+
94
+
-**Autodetect Arc Type** applies to milling IJK arcs. It selects relative-to-start or absolute-center interpretation when only one satisfies Arc tolerance; ambiguous programs use the manually selected Arc Type. Turning keeps FANUC relative I/K semantics.
95
+
-**Ignore Block Skip** excludes source blocks beginning with `/` from execution without changing the open file. Leave it disabled to execute those blocks normally. Expanded Execution uses the same resolved result and therefore excludes the same blocks.
96
+
-**Correction (G41/G42)** and **Arc tolerance** retain their existing geometry behavior.
97
+
98
+
Long Refresh operations use one cancellable execution dialog for tool discovery, parsing, execution, sampling and plot publication. Cancel cooperatively stops the active stage instead of waiting for the whole source to finish.
99
+
88
100
## Tool Library
89
101
90
102
`Settings → Tool Library` is the single tool-management window for both Milling and Turning. Each tab separates **Current Program** T-slot assignments from the persistent **Saved Library** and provides an automatically fitted preview of the selected tool. Current Program tools are temporary: literal T selections are discovered from the open NC program, comments are used to infer descriptions/type/dimensions when possible, and operation context selects D10 Drill for G81-G83, D10 Tap for G84 and OD Thread for turning G32/G33/G76/G92. Otherwise discovery uses D10 Flat Mill or Diamond 80 OD. New/Open resets these temporary assignments.
0 commit comments