完善 xyzbc-trt OPFS 与 AXIS 首屏等效

This commit is contained in:
mes123456
2026-07-02 10:10:54 -04:00
parent 1c8908e3ab
commit 52e54f8089
16 changed files with 925 additions and 28 deletions

View File

@@ -1,12 +1,12 @@
{
"apiName": "xyzbc-trt-native-web-evidence-comparison",
"status": "fail",
"comparedAt": "2026-07-02T13:36:36.368Z",
"comparedAt": "2026-07-02T13:57:49.317Z",
"nativePath": "/home/mes123456/cnc_wams/web-rtcp-5axis-xyzbc-trt-sim-plan/working/evidence/native-xyzbc-trt-evidence.json",
"webPath": "/home/mes123456/cnc_wams/web-rtcp-5axis-xyzbc-trt-sim-plan/working/evidence/web-xyzbc-trt-evidence.json",
"summary": {
"checkCount": 24,
"passCount": 19,
"checkCount": 25,
"passCount": 20,
"failCount": 5,
"blockers": [],
"nativeStatus": "ok",
@@ -515,6 +515,201 @@
}
}
},
{
"category": "ui",
"requirement": "web AXIS first screen exposes program, coordinates, status, MDI/switchkins, override, tool, preview, and execution",
"status": "pass",
"evidence": {
"axisMainUi": {
"semanticBoundary": "xyzbc_trt_axis_first_screen_program_coordinates_status_mdi_switchkins_override_tool_preview_execution",
"firstViewport": "axis-equivalent-cnc-console",
"profileId": "xyzbc-trt",
"coordinates": "XYZBC",
"requiredSections": [
{
"id": "preview",
"section": "preview-toolpath-and-machine-model"
},
{
"id": "dro",
"section": "coordinates-dro"
},
{
"id": "gcode",
"section": "program-and-mdi"
},
{
"id": "status-sidebar",
"section": "status-mode-and-switchkins"
},
{
"id": "info-tabs",
"section": "execution-tool-and-runtime-state"
},
{
"id": "override",
"section": "feed-rapid-override"
},
{
"id": "spindle-coolant",
"section": "spindle-coolant"
},
{
"id": "bottom-controls",
"section": "run-jog-home-controls"
}
],
"capabilities": [
{
"id": "program",
"ready": true,
"evidence": "configs/sim/axis/vismach/5axis/table-rotary-tilting/demos/xyzbc_switchkins.ngc"
},
{
"id": "coordinates",
"ready": true,
"evidence": {
"coordinates": "XYZBC",
"droAxes": [
"X",
"Y",
"Z",
"B",
"C"
]
}
},
{
"id": "status",
"ready": true,
"evidence": {
"taskState": "estop-reset",
"mode": "manual",
"runState": "idle"
}
},
{
"id": "mdi",
"ready": true,
"evidence": {
"command": "G0 X0 Y0 Z0",
"switchkinsMdi": [
"M429",
"M428",
"M430"
]
}
},
{
"id": "switchkins",
"ready": true,
"evidence": [
{
"value": 0,
"label": "identity",
"mdiCommand": "M429",
"webKinsType": "identity",
"remap": {
"code": "M429",
"modalGroup": 10,
"ngc": "429remap",
"path": "configs/sim/axis/vismach/5axis/table-rotary-tilting/remap_subs/429remap.ngc",
"switchkinsType": 0,
"analogOutputIndex": 3,
"syncInputIndex": 0,
"requiresHalPinVars": true
},
"haluiCommand": "M429",
"halPin": "motion.switchkins-type"
},
{
"value": 1,
"label": "XYZBC TCP",
"mdiCommand": "M428",
"webKinsType": "tcp-xyzbc",
"remap": {
"code": "M428",
"modalGroup": 10,
"ngc": "428remap",
"path": "configs/sim/axis/vismach/5axis/table-rotary-tilting/remap_subs/428remap.ngc",
"switchkinsType": 1,
"analogOutputIndex": 3,
"syncInputIndex": 0,
"requiresHalPinVars": true
},
"haluiCommand": "M428",
"halPin": "motion.switchkins-type"
},
{
"value": 2,
"label": "USERK",
"mdiCommand": "M430",
"webKinsType": "userk",
"remap": {
"code": "M430",
"modalGroup": 10,
"ngc": "430remap",
"path": "configs/sim/axis/vismach/5axis/table-rotary-tilting/remap_subs/430remap.ngc",
"switchkinsType": 2,
"analogOutputIndex": 3,
"syncInputIndex": 0,
"requiresHalPinVars": true
},
"haluiCommand": "M430",
"halPin": "motion.switchkins-type"
}
]
},
{
"id": "override",
"ready": true,
"evidence": {
"feedOverride": 100,
"rapidOverride": 100
}
},
{
"id": "tool",
"ready": true,
"evidence": {
"id": 2,
"pocket": 2,
"length": 10,
"diameter": 8
}
},
{
"id": "preview",
"ready": true,
"evidence": {
"samplePeriodMs": 20,
"sampleCount": 3074
}
},
{
"id": "execution",
"ready": true,
"evidence": {
"samplePeriodMs": 20,
"sampleCount": 569
}
},
{
"id": "axis-buttons",
"ready": true,
"evidence": {
"canRunAuto": false,
"canExecuteMdi": false,
"canJog": false,
"canHome": false
}
}
],
"missingCapabilities": [],
"ready": true
}
}
},
{
"category": "path-preview",
"requirement": "native and web preview path sample period is 20ms",

View File

@@ -1,7 +1,7 @@
{
"apiName": "xyzbc-trt-web-opfs-wasm-evidence",
"status": "ready-for-wasm-runtime",
"collectedAt": "2026-07-02T13:33:38.273Z",
"collectedAt": "2026-07-02T13:57:48.903Z",
"profile": {
"id": "xyzbc-trt",
"machineName": "sim-xyzbc-trt-kins (switchkins)",
@@ -117308,6 +117308,194 @@
],
"defaultActivationUsed": true
},
"axisMainUi": {
"semanticBoundary": "xyzbc_trt_axis_first_screen_program_coordinates_status_mdi_switchkins_override_tool_preview_execution",
"firstViewport": "axis-equivalent-cnc-console",
"profileId": "xyzbc-trt",
"coordinates": "XYZBC",
"requiredSections": [
{
"id": "preview",
"section": "preview-toolpath-and-machine-model"
},
{
"id": "dro",
"section": "coordinates-dro"
},
{
"id": "gcode",
"section": "program-and-mdi"
},
{
"id": "status-sidebar",
"section": "status-mode-and-switchkins"
},
{
"id": "info-tabs",
"section": "execution-tool-and-runtime-state"
},
{
"id": "override",
"section": "feed-rapid-override"
},
{
"id": "spindle-coolant",
"section": "spindle-coolant"
},
{
"id": "bottom-controls",
"section": "run-jog-home-controls"
}
],
"capabilities": [
{
"id": "program",
"ready": true,
"evidence": "configs/sim/axis/vismach/5axis/table-rotary-tilting/demos/xyzbc_switchkins.ngc"
},
{
"id": "coordinates",
"ready": true,
"evidence": {
"coordinates": "XYZBC",
"droAxes": [
"X",
"Y",
"Z",
"B",
"C"
]
}
},
{
"id": "status",
"ready": true,
"evidence": {
"taskState": "estop-reset",
"mode": "manual",
"runState": "idle"
}
},
{
"id": "mdi",
"ready": true,
"evidence": {
"command": "G0 X0 Y0 Z0",
"switchkinsMdi": [
"M429",
"M428",
"M430"
]
}
},
{
"id": "switchkins",
"ready": true,
"evidence": [
{
"value": 0,
"label": "identity",
"mdiCommand": "M429",
"webKinsType": "identity",
"remap": {
"code": "M429",
"modalGroup": 10,
"ngc": "429remap",
"path": "configs/sim/axis/vismach/5axis/table-rotary-tilting/remap_subs/429remap.ngc",
"switchkinsType": 0,
"analogOutputIndex": 3,
"syncInputIndex": 0,
"requiresHalPinVars": true
},
"haluiCommand": "M429",
"halPin": "motion.switchkins-type"
},
{
"value": 1,
"label": "XYZBC TCP",
"mdiCommand": "M428",
"webKinsType": "tcp-xyzbc",
"remap": {
"code": "M428",
"modalGroup": 10,
"ngc": "428remap",
"path": "configs/sim/axis/vismach/5axis/table-rotary-tilting/remap_subs/428remap.ngc",
"switchkinsType": 1,
"analogOutputIndex": 3,
"syncInputIndex": 0,
"requiresHalPinVars": true
},
"haluiCommand": "M428",
"halPin": "motion.switchkins-type"
},
{
"value": 2,
"label": "USERK",
"mdiCommand": "M430",
"webKinsType": "userk",
"remap": {
"code": "M430",
"modalGroup": 10,
"ngc": "430remap",
"path": "configs/sim/axis/vismach/5axis/table-rotary-tilting/remap_subs/430remap.ngc",
"switchkinsType": 2,
"analogOutputIndex": 3,
"syncInputIndex": 0,
"requiresHalPinVars": true
},
"haluiCommand": "M430",
"halPin": "motion.switchkins-type"
}
]
},
{
"id": "override",
"ready": true,
"evidence": {
"feedOverride": 100,
"rapidOverride": 100
}
},
{
"id": "tool",
"ready": true,
"evidence": {
"id": 2,
"pocket": 2,
"length": 10,
"diameter": 8
}
},
{
"id": "preview",
"ready": true,
"evidence": {
"samplePeriodMs": 20,
"sampleCount": 3074
}
},
{
"id": "execution",
"ready": true,
"evidence": {
"samplePeriodMs": 20,
"sampleCount": 569
}
},
{
"id": "axis-buttons",
"ready": true,
"evidence": {
"canRunAuto": false,
"canExecuteMdi": false,
"canJog": false,
"canHome": false
}
}
],
"missingCapabilities": [],
"ready": true
},
"startupSequence": [
".desktop",
"rip-environment",
@@ -117649,6 +117837,7 @@
],
"uiEquivalence": {
"firstViewport": "axis-equivalent-cnc-console",
"semanticBoundary": "xyzbc_trt_axis_first_screen_program_coordinates_status_mdi_switchkins_override_tool_preview_execution",
"regions": [
"program",
"dro",
@@ -117658,6 +117847,18 @@
"tool",
"preview-execution"
],
"axisMainUiCapabilityIds": [
"program",
"coordinates",
"status",
"mdi",
"switchkins",
"override",
"tool",
"preview",
"execution",
"axis-buttons"
],
"activeProgram": "configs/sim/axis/vismach/5axis/table-rotary-tilting/demos/xyzbc_switchkins.ngc",
"selectedGcodeSourceRel": "configs/sim/axis/vismach/5axis/table-rotary-tilting/demos/xyzbc_switchkins.ngc",
"pyvcpPanelSchema": "xyzbc-trt-switchkins-pyvcp",
@@ -117911,6 +118112,7 @@
"axisJointLimitsCovered": true,
"previewPathAvailable": true,
"executionPathAvailable": true,
"axisMainUiEquivalent": true,
"toolTableToToolOffsetClosed": true,
"wasmArtifactsReady": true
},