Commit Graph

508 Commits

Author SHA1 Message Date
1afb51098e UI: A axis surface (DRO row, jog, Home A, settings page)
Front-end side of the gplan-integrated A axis (B3).

- a-axis-view.{js,pug}: dedicated settings page that mounts the
  AAxisSettings Svelte component and lives at #a-axis in the V09
  settings rail.
- AAxisSettings.svelte: aux.json-backed form (axis letter, port,
  homing direction, soft limits, ATC pin map, etc.) with master
  Save integration via 'onefin:save-all'.
- main.ts + SettingsView.svelte: register AAxisSettings in the
  Svelte component map; SettingsView no longer embeds the W axis
  fieldset.
- settings-shell-view: 'A Axis' rail entry; route to a-axis-view.
- app.js: extend settings family to include 'a-axis'; broadcast
  onefin:save-all from the master Save button.
- control-view: Home All button waits for the gantry cycle to
  finish before firing Home A on a non-virtual setup; A jog
  buttons; aux_jog/aux_home/aux_jog_incr methods.
- control-view.pug: A row in the DRO (with set-position + zero +
  home actions), A- / A+ tiles in the jog grid (gated on
  w.enabled || a.enabled), legacy W row kept for installs that
  haven't migrated to the gplan integration.
- style.styl: dro-axis.axis-w color.
2026-05-03 14:19:05 +02:00
6dbc7e6d04 ExternalAxis: virtual A axis through gplan, mirrored on the ESP
ExternalAxis exposes the auxcnc-driven ESP stepper as motor 4 (a
synthetic, host-only motor that gplan sees but the AVR doesn't). The
result is a virtual A axis that is fully integrated with the planner:
G1 A25 F1500 schedules a coordinated S-curve and the ESP runs the
exact same 7-segment trajectory the AVR would have run if A were a
real motor.

- ExternalAxis.py: synthetic-motor state, S-curve LINE block forward
  to the ESP, soft-limit enforcement, option-(b) homing (user A=0
  at the home limit).
- State: walk motors 0..4 in find_motor; clear both homed and h on
  reset; expose synthetic motor vars.
- axis-vars.js: motor-4 guard so the JS computed axis bindings don't
  throw when motor 4 has no entry in config.motors; resolve motor_id
  for the synthetic axis by scanning state['4an'].
- Ctrl: instantiate ExternalAxis after AuxAxis, share the axis_letter
  setting, wire AuxAxis state observer.
- Web: route /api/aux/{home,jog,move} through ExternalAxis when it
  is enabled so the DRO and synthetic-motor flags stay in sync.
2026-05-03 14:17:46 +02:00
94072253d4 ui: V09 redesign - Control/Program/Console/Settings shell
Replaces the legacy side-menu chrome with a 4-tab top header.

- index.pug: tablet/kiosk fit-to-viewport script, header tab nav,
  estop/state badges in header.
- app.js: route hash to (control|program|console|<settings-family>),
  multi-section settings shell.
- control-view: header DRO, jog grid, MDI/probe/macros panels.
- program-view + program-mixin: file browser + toolpath preview +
  run/pause/stop, replaces the legacy 'macros' tab content.
- console-view: MDI shell, message log, indicators.
- settings-shell-view: rail-driven inner pages (Display & Units,
  Probing, G-code & Motion, Macros, Network, etc.).
- settings-view: filter Svelte SettingsView to one rail section.
- SettingsView.svelte: tag every section with data-sec=… so the
  filter above can hide non-matching ones.
- style.styl: ~2700 lines of V09 layout, DRO, jog grid, status
  strip, and tablet/kiosk variants.

No A-axis / auxiliary-axis content lives on this branch.
2026-05-03 14:11:29 +02:00
c10f5c053a ui: assorted polish - Vue async fix, OrbitControls passive listeners, path-viewer + motor-view + indicators
- main.js: disable Vue async batching so reactive writes from
  hashchange listeners propagate synchronously (matches Vue 1's older
  default; avoids dropped DRO updates).
- orbit.js: pass {passive:false} to wheel/touch listeners so
  OrbitControls.preventDefault() actually suppresses page panning.
- path-viewer: opaque dark canvas (no flash from page background),
  zero-size guard, ResizeObserver cleanup on destroy.
- motor-view: stop clobbering user edits with controller state.
- estop/indicators/tool-view/path-viewer pug: rename FA4 icons to FA6,
  add viewBox to estop SVG, fix tool-view trailing newline.
2026-05-03 14:07:35 +02:00
b9e880448e ui: upgrade to FontAwesome 6, harden burger-menu shim
- Drop FA4 font files and font-awesome.min.css.
- Ship FA6 webfonts (solid, regular, brands) and fa6.min.css.
- io-indicator: use FA6 names (fa-circle-plus / -minus / -exclamation).
- static/js/ui.js: no-op the legacy side-menu click handler when menu
  links are not present (V09 chrome removes them) so the Settings tab
  no longer logs 'cannot set properties of null'.
2026-05-03 14:07:06 +02:00
0b5ab2ff3b diag: add startup-timing trace and /api/diag/timing endpoint
bbctrl.Trace records monotonic-anchored events from process start.
Ctrl, Comm, the Web layer and __init__ are instrumented so a single
GET /api/diag/timing returns a full timeline of import, controller
init, AVR connection, first websocket, and first GET /. The
restart-timing.js client posts performance.now() marks back so the
browser side can be aligned in the same view.

Used to drive the cold-boot optimisations that reduce listen latency
on the Pi by ~8s.
2026-05-03 14:06:17 +02:00
sanjayk03-dev
44b85bad5a v1.6.7 2025-09-21 01:57:17 +05:30
sanjayk03-dev
fda579d765 making easy-adapter reactive 2025-09-21 01:45:20 +05:30
sanjayk03-dev
9b72d7c5cc debuging with logs 2025-09-21 01:37:52 +05:30
sanjayk03-dev
31fae30546 made label reactive 2025-09-21 01:31:55 +05:30
bsaravanan783
a0ebced79a changed easy adapter to true 2025-09-21 00:53:01 +05:30
sanjayk03-dev
1b18f2e4ba fixed cond 2025-09-21 00:02:29 +05:30
sanjayk03-dev
6192afd532 added metadata 2025-09-20 23:02:36 +05:30
sanjayk03-dev
344b3ff259 removed unused logs 2025-09-20 18:08:48 +05:30
bsaravanan783
8d7c23cfd7 moved the toolList down the unsupported 2025-09-17 22:46:33 +05:30
sanjayk03-dev
f68f2e5c88 making component reactive 2025-09-07 00:53:51 +05:30
sanjayk03-dev
0cc48eb845 added more loggers 2025-09-07 00:46:25 +05:30
sanjayk03-dev
b20ab8bdd6 updated sync function 2025-09-07 00:40:02 +05:30
sanjayk03-dev
e18b0089fa added logs 2025-09-07 00:29:02 +05:30
sanjayk03-dev
5c46806c05 bugfix for v1.6.0 2025-09-07 00:14:57 +05:30
sanjayk03-dev
25897f0a67 added state handler 2025-08-31 18:21:35 +05:30
sanjayk03-dev
91f8860320 removed logs 2025-08-31 17:53:08 +05:30
sanjayk03-dev
7e0739eea3 trying to fix microsteps fix 2025-08-31 17:35:38 +05:30
sanjayk03-dev
6b151d1fc6 added attached to refresh settings page on each visit 2025-08-31 17:12:03 +05:30
sanjayk03-dev
14cae2a0e0 reactive motor configs 2025-07-21 23:13:55 +05:30
sanjayk03-dev
747230cf9b removed changes 2025-06-05 00:36:57 +05:30
bsaravanan783
6e02a73eb6 uncommented the state update 2025-06-03 14:41:05 +05:30
bsaravanan783
667e55fcef added loggers 2025-06-02 23:23:59 +05:30
sanjayk03-dev
6b9e8fef97 reverting frontend cond 2025-05-23 19:17:18 +05:30
sanjayk03-dev
19f362c2f8 add conditional checks 2025-05-23 19:11:25 +05:30
sanjayk03-dev
e17a30d19d toggling min and max soft limit on switching rotary 2025-01-19 23:57:26 +05:30
sanjayk03-dev
bebdd2b98a refactored probing rotary 2024-12-25 14:27:49 +05:30
sanjayk03-dev
6f35612f33 refactored condition 2024-12-25 14:06:39 +05:30
sanjayk03-dev
749d63ec6d updating motors-view data while switching rotary mode 2024-12-20 01:12:45 +05:30
sanjayk03-dev
e6c9d1c46f preventing a from homing 2024-12-12 01:21:10 +05:30
sanjayk03-dev
a271360d1c fixing edgecase 2024-12-05 16:07:17 +05:30
sanjayk03-dev
eb389cb1dd updating control view using state 2024-12-05 15:42:44 +05:30
sanjayk03-dev
1ad8bb6cbc moving the toggle_rotary to backend 2024-12-04 14:24:29 +05:30
sanjayk03-dev
a935bf3824 removed load_position 2024-12-03 14:53:10 +05:30
sanjayk03-dev
804a3aa0e9 minor fixes 2024-11-29 13:25:33 +05:30
sanjayk03-dev
4d37731cbb dialog to switch between rotary modes 2024-11-29 13:13:14 +05:30
sanjayk03-dev
628c7cac46 removed PwnCNC and added EM60 and Redline VFD 2024-11-06 00:56:59 +05:30
sanjayk03-dev
135ae7fa5d max-velocity changed, ui cond. rendering fixed 2024-11-04 21:52:03 +05:30
sanjayk03-dev
4c52c56449 modifying max-velocity 2024-11-04 19:16:08 +05:30
sanjayk03-dev
7c7faf3d92 disabling button 2024-10-14 12:49:41 +05:30
sanjayk03-dev
eb08613530 rotary button style 2024-10-14 11:50:25 +05:30
sanjayk03-dev
59fef72a84 changed from 1.5.0 to 1.6.0, added rotary feature 2024-10-13 23:32:26 +05:30
sanjayk03-dev
f12e7fbe69 universal time to local time 2024-09-10 00:23:37 +05:30
sanjayk03-dev
7319618390 update time 2024-09-09 19:27:09 +05:30
sanjayk03-dev
ee9fa4749a minor fixes 2024-09-09 19:23:23 +05:30