Commit Graph

30 Commits

Author SHA1 Message Date
db29ae625f 按关节槽位驱动 13 个五轴案例的三维模型
关节契约扩为槽位制:以 LinuxCNC 联合号标识关节,轴字母降为槽位属性,
重复轴(bridge-mill 的两个 Y)、并联杆长(hexapod/pentapod)和被动槽位
(max5 第 6 关节)都能表达。v1 规则保持不变并合成 jointOrder,已保存
GLB 与既有测试不受影响。

13 个结构 GLB 由 scripts/generate_physical_case_glbs.mjs 统一重建,
可动关节均为按槽位命名的 Group 并写 userData.linuxcncJoint,共 71 个
关节,槽位数与运行目录的 joint_count 逐条一致。

新增 machine-visual-bindings.json 与纯函数模块,以 machine id 为键:
坐标字母不能作键,因为三个案例共用 XYZAB、三个共用 XYZABC。主界面切换
案例时自动装载对应模型,失败时保留内置模型并显式提示。

消除前端五关节截断:visual 适配器的 joints 改为数组并新增
jointsAuthoritative;allHomed 按 joint_count 判断;面板按 worker 断言的
machine id 查找机型。

管理器解锁:坐标与案例下拉以"存在完整视觉绑定"为启用条件,13 案例全部
可选;machine-urdf.ts 新增 generic-wasm/1 profile,AC/BC 严格校验路径
不变;新增 machine-kinematics-specs.json 保存逐关节限位,INI 未声明的
限位保持 null 而不编造。

修复三个真实缺陷:构建漏发 woodpecker/gmoccapy/qtdragon 配置目录(
DEFECT-02 根因);案例切换沿用"装载需要已上电"的门控,导致关机状态下
第二次切换被静默拒绝;重复轴机型上 React 列表键冲突。

验收:13 案例逐个切换装载成功、槽位键与绑定定义逐一一致、浏览器错误 0;
typecheck 与生产构建通过;视觉绑定、GLB 命名、关节契约、投影、store、
双画布、运动学规格漂移、11 案例 Worker 闭环、管理器浏览器回归全部通过。
证据在 coverage/glb-machine-manager/physical-drive/。

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-30 06:09:12 +08:00
8aab531b02 Add AC/BC RTCP programs and 3D machine manager 2026-09-20 12:31:12 +08:00
4a568f1f4c Make machine configuration authoritative and restore native checkpoints exactly 2026-09-18 09:09:41 +08:00
0be2ee8ce1 Use native LinuxCNC homing and consolidate web panel status 2026-09-09 12:28:02 +08:00
bade560372 Align AXIS control flow and fix pause and program rendering
Document source UI gates, explicit native live-plot clearing, and remaining parity boundaries. Fix pause/resume transport continuity, repeated stepping, coordinate previews, and spindle override state. Optimize large program snapshots and rendering, and cover the control flows with native Tcl, WASM, and browser checks.

Validation: 22 native tests and source/browser checks pass. Worker/App regression: 113 of 123 pass; 10 pre-existing failures remain documented with no new failures.
2026-09-08 10:46:27 +08:00
bc69c513e3 Enforce complete AXIS control inventory 2026-09-07 15:48:49 +08:00
0a679b5eeb Align AXIS Web control lifecycle with LinuxCNC 2026-09-07 13:47:10 +08:00
ee2c992328 Display live WASM machining parameters 2026-09-02 12:38:27 +08:00
cd0286a3d6 Fix paused SIM_STEP resume sequencing 2026-09-02 11:40:28 +08:00
32adda73d6 Prevent XYZAC TP queue starvation 2026-09-02 10:41:21 +08:00
6b689fd69e Enforce LinuxCNC WASM authority for XYZAC frontend 2026-09-02 07:48:04 +08:00
492d862e45 Verify XYZAC panel button parity 2026-09-01 23:47:34 +08:00
1342cff3f0 Align pause resume and abort lifecycle 2026-09-01 21:12:52 +08:00
d18141ec81 Run XYZAC through upstream LinuxCNC TP 2026-09-01 11:44:05 +08:00
6015293ee9 Unblock native XYZAC TP oracle 2026-08-31 20:08:00 +08:00
6033dcd47a Preserve motion queue ABI for feed override 2026-08-31 06:36:53 +08:00
51ba923cb5 Make feed override control the WASM trajectory 2026-08-31 06:19:36 +08:00
1a92d3b5b8 Dynamically allocate large WASM G-code sources 2026-08-30 14:20:48 +08:00
d87366eb75 Support long G-code preview and virtualized execution display 2026-08-29 22:27:01 +08:00
819015924b Accept LinuxCNC G64 path control in WASM interpreter 2026-08-29 16:32:25 +08:00
74ae2538a3 Show live LinuxCNC G-code execution progress 2026-08-29 07:03:43 +08:00
a97971ea19 Preserve Web machine reset protocol continuity 2026-08-28 22:54:51 +08:00
cbd0bc1003 Align Web XYZAC command gates with LinuxCNC 2026-08-28 21:33:11 +08:00
78d884bc67 Enforce LinuxCNC WASM XYZAC command authority 2026-08-28 13:04:47 +08:00
1a7995fa9b Complete XYZAC LinuxCNC WASM parity and smooth 3D preview 2026-08-28 06:24:50 +08:00
7e90142b63 Complete 3axis tutorial native and Web/WASM parity tools 2026-08-24 14:01:30 +08:00
06f96f85e5 Implement AXIS parity UI and execution baseline 2026-08-23 07:28:37 +08:00
2ef2d82db3 Extend simulation runtime coverage and kinematics support 2026-08-21 10:57:10 +08:00
554b72dae8 Implement WebAssembly runtime and kinematics coverage 2026-08-21 06:04:48 +08:00
5dd614c335 Initial LinuxCNC WebAssembly workspace snapshot 2026-08-20 18:21:15 +08:00