Skip to content

Commit 898befa

Browse files
Add A/B indexed kinematics and C-table X/C plotting
1 parent b67c7b4 commit 898befa

57 files changed

Lines changed: 16145 additions & 5803 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎.github/workflows/release.yml‎

Lines changed: 25 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -84,10 +84,7 @@ jobs:
8484
run: bash scripts/sh/build.sh --skip-tests
8585

8686
- name: Smoke test packaged CLI
87-
run: |
88-
./dist/easy_gcode_plot_cli --help
89-
bash scripts/sh/batch/batch_mill.sh
90-
bash scripts/sh/batch/batch_turn.sh
87+
run: ./dist/easy_gcode_plot_cli --help
9188

9289
- name: Package Linux executables
9390
run: |
@@ -117,11 +114,9 @@ jobs:
117114

118115
steps:
119116
- name: Check out repository
120-
# actions/checkout v7.0.1
121117
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
122118

123119
- name: Install uv and Python
124-
# astral-sh/setup-uv v9.0.0
125120
uses: astral-sh/setup-uv@c771a70e6277c0a99b617c7a806ffedaca235ff9
126121
with:
127122
version: "0.12.9"
@@ -196,7 +191,6 @@ jobs:
196191

197192
steps:
198193
- name: Check out repository
199-
# actions/checkout v7.0.1
200194
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
201195

202196
- name: Download executable artifact
@@ -219,11 +213,27 @@ jobs:
219213
$tag = "${{ github.ref_name }}"
220214
$guiAsset = @(Get-ChildItem dist/Easy-G-Code-Plot-*-Windows-x64.exe -File -ErrorAction Stop)
221215
if ($guiAsset.Count -ne 1) { throw "Expected exactly one GUI executable." }
222-
$assets = @($guiAsset[0].FullName, (Resolve-Path dist/easy_gcode_plot_cli.exe).Path)
216+
217+
$assets = @(
218+
$guiAsset[0].FullName,
219+
(Resolve-Path dist/easy_gcode_plot_cli.exe).Path
220+
)
221+
223222
$checksum = (Resolve-Path dist/SHA256SUMS.txt).Path
224-
$linuxAsset = @(Get-ChildItem dist/linux/Easy-G-Code-Plot-*-Linux-x64.tar.gz -File -ErrorAction Stop)
225-
if ($linuxAsset.Count -ne 1) { throw "Expected exactly one Linux archive." }
226-
$linuxChecksum = (Resolve-Path "$($linuxAsset[0].FullName).sha256").Path
223+
224+
$linuxAsset = @(
225+
Get-ChildItem dist/linux/Easy-G-Code-Plot-*-Linux-x64.tar.gz `
226+
-File -ErrorAction Stop
227+
)
228+
229+
if ($linuxAsset.Count -ne 1) {
230+
throw "Expected exactly one Linux archive."
231+
}
232+
233+
$linuxChecksum = (
234+
Resolve-Path "$($linuxAsset[0].FullName).sha256"
235+
).Path
236+
227237
$assets += $linuxAsset[0].FullName
228238
$assets += $checksum
229239
$assets += $linuxChecksum
@@ -232,7 +242,9 @@ jobs:
232242
gh release upload $tag @assets --clobber
233243
} else {
234244
gh release create $tag @assets `
235-
--verify-tag --generate-notes --title "Easy G-Code Plot $tag"
245+
--verify-tag `
246+
--generate-notes `
247+
--title "Easy G-Code Plot $tag"
236248
}
237249
238-
gh release edit $tag --draft=false --latest
250+
gh release edit $tag --draft=false --latest

‎CHANGELOG.md‎

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,22 @@
11
# Changelog
22

3+
## 1.6.7 - 2026-09-27
4+
5+
- Added deterministic indexed 3+1 milling for the verified `4ax_table_a` (vertical mill) and `4ax_table_b` (horizontal mill) profiles. Programmed G90/G91 A/B indexing transforms subsequent tool-tip trajectories, arcs and milling cycles while WCS axes remain fixed; playback rotates the tool preview.
6+
- Corrected A/B rotation signs and repeated G28/G53 machine-axis returns after indexing. Removed false plot segments joining positions across a rotary index.
7+
- G40/G41/G42 now calculate cutter compensation in the local working plane before the completed geometry is transformed by A/B, including arc centers and normals. Missing tools or unsupported contours produce warnings without stopping execution; unknown M-codes also remain non-blocking warnings.
8+
- Added an `enabled` flag to every rotary profile. Only the verified table A/B/C profiles appear in the GUI; **None** is the default. Other profiles remain in the JSON catalog, disabled pending reference programs. G68.2 and 5-axis behavior are outside the verified 1.6.7 scope.
9+
- Enabled `4ax_table_c` for the checked planar X/C program: concurrent X/C and C-only blocks map tool-tip points into fixed XY WCS. The resulting contour overlays the equivalent XY contour in `indexed_table_c.nc` within 0.05 mm at sampled endpoints.
10+
- Disabled G41/G42 cutter compensation for `4ax_table_c`. Programs continue with the programmed, uncompensated X/C tool-tip path and an explicit warning; G40 still cancels the modal request. The correction approach in `tmp/indexed_table_c_correction.nc` is not treated as verified compensation.
11+
- Matched CAD-style mouse navigation to CNCEditor: left drag pans, middle drag orbits around the cursor. Corrected the table B 3D/ISO camera so +Y points vertically up, +X runs upward-right and +Z downward-right; table A retains the vertical mill view.
12+
- Fixed **New** so an accepted new-document action removes the imported STL model and disables **Clear STL**. Canceling the action preserves the model.
13+
- Refreshed the FAQ and License dialogs with larger, resizable reading windows, clearer heading and paragraph spacing, padded code blocks, and theme-aware syntax colors for fenced examples. Preserved FAQ anchor and License links.
14+
- Refined FAQ/License contrast: muted light-theme links, clearer headings, and continuous code-block backgrounds in both themes with a lighter dark-theme code surface. Added the CNC icon to Rotary kinematics and a blue WCS action icon for visibility in light and dark themes.
15+
- Fixed the embedded FAQ table of contents: Qt cannot parse Markdown links nested inside the source file's HTML `<details>` block, so the dialog displays that block as a regular heading and list while the source FAQ keeps its collapsible form. Restored readable links in both themes and pale blue section headings in the dark theme.
16+
- Refactored only the dark FAQ styling to follow the selected application theme instead of guessing from the native widget palette. Dark headings, links, and code blocks now use explicit contrasting colors, including after a live theme switch; the light FAQ styling stays unchanged.
17+
- Added FAQ search below the document with a result count, icon buttons for Previous/Next, wraparound, Enter for the next match, and Ctrl+F focus. Search remains usable after switching the application theme.
18+
- Updated README and FAQ and added regression checks for the A/B/C fixtures, rotation direction, G90/G91, G28/G53, local-plane compensation, camera behavior and STL cleanup. The reference NC fixtures were not changed.
19+
320
## 1.6.6 - 2026-09-26
421

522
- Refactored single-file CLI export and added `batch-export` around one shared execution, validation and NC/DXF export pipeline.

0 commit comments

Comments
 (0)