Skip to content

feat: add multi-axis (A, B, C) support for rotary axes#4

Merged
bwees merged 2 commits into
prodfrom
claude/add-multi-axis-support-XF5JU
Apr 6, 2026
Merged

feat: add multi-axis (A, B, C) support for rotary axes#4
bwees merged 2 commits into
prodfrom
claude/add-multi-axis-support-XF5JU

Conversation

@bwees
Copy link
Copy Markdown
Member

@bwees bwees commented Apr 6, 2026

Detect additional axes from Grbl status reports and conditionally show their controls in the UI. The server-side parsers already support up to 6 axes (X, Y, Z, A, B, C) - this change extends the frontend to display DRO readouts, jog controls, and zeroing for any extra axes reported.

  • Extend position types to include optional a, b, c fields
  • Add selectAvailableAxes selector that detects axes from controller data
  • Update DROPanel to dynamically render rows for all reported axes
  • Add rotary axis jog controls (left/right + go-to-zero) in JogPanel
  • Widen gcode utility signatures to accept any axis combination
  • Color-code rotary axes: A=orange, B=purple, C=cyan

https://claude.ai/code/session_0179tbHfgf12RHaDZvuyn6TJ

claude added 2 commits April 6, 2026 18:07
Detect additional axes from Grbl status reports and conditionally show
their controls in the UI. The server-side parsers already support up to
6 axes (X, Y, Z, A, B, C) - this change extends the frontend to display
DRO readouts, jog controls, and zeroing for any extra axes reported.

- Extend position types to include optional a, b, c fields
- Add selectAvailableAxes selector that detects axes from controller data
- Update DROPanel to dynamically render rows for all reported axes
- Add rotary axis jog controls (left/right + go-to-zero) in JogPanel
- Widen gcode utility signatures to accept any axis combination
- Color-code rotary axes: A=orange, B=purple, C=cyan

https://claude.ai/code/session_0179tbHfgf12RHaDZvuyn6TJ
Update ProgressPanel (Monitor) to dynamically render axis position
readouts based on availableAxes instead of hardcoded X/Y/Z. Update
CurrentStatsPanel to show per-axis distance for all available axes.
Refactor Stats route to use dynamic distanceByAxis record instead of
separate distanceX/Y/Z fields, rendering axis distances dynamically
with proper color coding.

https://claude.ai/code/session_0179tbHfgf12RHaDZvuyn6TJ
@bwees bwees force-pushed the claude/add-multi-axis-support-XF5JU branch from fe2c6bd to 2aa0232 Compare April 6, 2026 23:08
@bwees bwees changed the base branch from main to prod April 6, 2026 23:41
@bwees bwees merged commit a5c13c3 into prod Apr 6, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants