Commit Graph

118 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
af65b69b2c Make 3D machine manager axis controls configuration driven 2026-09-30 20:30:07 +08:00
469881794c Expose LinuxCNC case selector in machine manager 2026-09-22 08:42:00 +08:00
ae525d6b93 Cover remaining five-axis case variants 2026-09-22 08:02:55 +08:00
23d07e72d1 Add LinuxCNC five-axis case catalog 2026-09-22 07:36:23 +08:00
b15af28034 Keep machine dialogs open when file picker is cancelled 2026-09-22 05:24:55 +08:00
d4d0088daf Complete machine document library and recovery workflow 2026-09-22 04:42:20 +08:00
3cb5950d1f Record deployed document library and complete model recovery verification 2026-09-21 21:19:10 +08:00
8443930edb Save named machine documents and restore editor configuration from GLB or local library 2026-09-21 21:07:01 +08:00
1eb9840941 Record deployed AC BC program compatibility regression 2026-09-21 20:03:26 +08:00
0de96bbc72 Keep G-code matched to imported AC or BC machine type 2026-09-21 19:52:31 +08:00
86cfa2b7f0 Record machine type selection and saved model cloud verification 2026-09-21 17:49:43 +08:00
338500dfc2 Select machine type in design dialog and save importable machine GLB 2026-09-21 17:41:46 +08:00
8f1a22485d Record workbench release and final AC BC verification 2026-09-21 13:34:44 +08:00
a7233bc8e4 Improve machine manager engineering workbench 2026-09-21 12:54:56 +08:00
a2c6dd1c01 Record single-DOF release and cloud validation 2026-09-21 11:32:29 +08:00
d8488641ca Configure single-DOF machine joints and drive them from WASM axes 2026-09-21 11:24:22 +08:00
989866b3ab Record deployed parent-relative joint editing verification 2026-09-21 09:39:10 +08:00
91ebd56d6d Verify isolated joint edits and parent frame inheritance 2026-09-21 09:19:45 +08:00
a472911ad1 Apply hierarchy node transforms relative to parents 2026-09-21 09:11:38 +08:00
63f726dc32 Apply GLB part translation and rotation 2026-09-21 06:47:37 +08:00
70229a8d1f Align machine manager render-state regression 2026-09-20 23:14:44 +08:00
2fd0a3d90b Display selected joint local coordinate system 2026-09-20 22:56:44 +08:00
c2892bfe36 Add hierarchy axis motion validation and model deletion 2026-09-20 21:23:14 +08:00
320a69a916 Stabilize machine manager WebGL resources 2026-09-20 20:14:27 +08:00
72b38b7d43 Add draggable GLB hierarchy tree and node origins 2026-09-20 18:53:30 +08:00
53285d04af Use camera Z-up coordinates without modifying GLB imports 2026-09-20 17:14:37 +08:00
8cafbb326b Use Z-up machine coordinates in GLB manager 2026-09-20 15:18:54 +08:00
6d04425121 Improve GLB manager lighting for metallic models 2026-09-20 14:35:34 +08:00
1076bfa5e0 Update handoff for machine manager delivery 2026-09-20 12:32:14 +08:00
8aab531b02 Add AC/BC RTCP programs and 3D machine manager 2026-09-20 12:31:12 +08:00
1c1e5f9672 Document verified repository state and Codex restart handoff 2026-09-18 09:24:34 +08:00
4a568f1f4c Make machine configuration authoritative and restore native checkpoints exactly 2026-09-18 09:09:41 +08:00
6a69511276 Preserve RTCP compensation across rotary jog stops 2026-09-18 06:10:53 +08:00
e4600b34e3 Add INI-driven XYZAC and XYZBC parametric machine design 2026-09-17 19:16:48 +08:00
9232f29027 Attach machine preview path to rotary cradle 2026-09-11 15:17:03 +08:00
d7c8b514fc Assert preview HUDs stay hidden 2026-09-11 11:08:40 +08:00
021e688b6e Remove duplicate preview HUD overlays 2026-09-11 10:20:04 +08:00
07d53a705c Use independent XYZAC and XYZBC boat programs and models 2026-09-11 07:54:55 +08:00
02dcc573b0 Support XYZAC and XYZBC in shared web machine UI 2026-09-11 06:25:13 +08:00
aac1ceb250 Align Web execute-next-line with LinuxCNC 2026-09-10 08:30:04 +08:00
0a202e5841 Restore XYZAC joint readouts 2026-09-10 06:04:42 +08:00
17887c199a Add dual canvas XYZBC and refined machine visualization 2026-09-10 05:47:14 +08:00
d90933b980 Add high-resolution panel guide and hide joint readouts 2026-09-09 16:30:50 +08:00
0be2ee8ce1 Use native LinuxCNC homing and consolidate web panel status 2026-09-09 12:28:02 +08:00
eb5c58cdb3 Fix web homing motion and synchronize preview state 2026-09-09 09:31:32 +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
845075f4a3 Lock AXIS panel contract to source behavior 2026-09-07 18:35:05 +08:00
f94f9b357e Add AXIS control logic relationship map 2026-09-07 16:48:45 +08:00
bc69c513e3 Enforce complete AXIS control inventory 2026-09-07 15:48:49 +08:00