Files
cnc_wams/web-rtcp-5axis-xyzbc-trt-sim-plan/doc/assets/xyzbc-trt-web-architecture.svg
2026-07-02 08:01:34 -04:00

73 lines
4.1 KiB
XML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<svg xmlns="http://www.w3.org/2000/svg" width="1600" height="900" viewBox="0 0 1600 900">
<defs>
<style>
text { font-family: "Noto Sans CJK SC", "Microsoft YaHei", Arial, sans-serif; fill: #1f2937; }
.title { font-size: 40px; font-weight: 700; }
.sub { font-size: 24px; fill: #475569; }
.box-title { font-size: 28px; font-weight: 700; }
.body { font-size: 22px; }
.small { font-size: 18px; fill: #475569; }
.linux { fill: #eef6ff; stroke: #2563eb; stroke-width: 3; }
.web { fill: #f4fbf7; stroke: #16a34a; stroke-width: 3; }
.evidence { fill: #fff7ed; stroke: #f97316; stroke-width: 3; }
.neutral { fill: #f8fafc; stroke: #64748b; stroke-width: 2; }
.line { stroke: #334155; stroke-width: 3; fill: none; marker-end: url(#arrow); }
.dash { stroke-dasharray: 8 7; }
</style>
<marker id="arrow" markerWidth="14" markerHeight="14" refX="12" refY="7" orient="auto" markerUnits="strokeWidth">
<path d="M 0 0 L 14 7 L 0 14 z" fill="#334155"/>
</marker>
</defs>
<rect width="1600" height="900" fill="#ffffff"/>
<text x="60" y="70" class="title">xyzbc-trt 完全对标的 Web 数控仿真架构</text>
<text x="60" y="110" class="sub">以 LinuxCNC 真实运行链路为基线Web 端逐项复刻界面、运动学、HAL 语义和路径证据。</text>
<rect x="60" y="165" width="520" height="560" rx="16" class="linux"/>
<text x="95" y="215" class="box-title">LinuxCNC 原型系统</text>
<text x="95" y="265" class="body">rip-environment + linuxcnc</text>
<text x="95" y="310" class="body">xyzbc-trt.ini</text>
<text x="95" y="355" class="body">AXIS 主界面 + PyVCP 面板</text>
<text x="95" y="400" class="body">Vismach 机床模型 xyzbc-trt-gui</text>
<text x="95" y="445" class="body">HAL: basic_sim.tcl / postgui HAL</text>
<text x="95" y="490" class="body">KINS: xyzbc-trt-kins switchkins</text>
<text x="95" y="535" class="body">TASK / motion / tool table / var</text>
<text x="95" y="580" class="body">演示程序 xyzbc_switchkins.ngc</text>
<text x="95" y="645" class="small">运行路径:/home/mes123456/cnc_wams/linuxcnc</text>
<rect x="1020" y="165" width="520" height="560" rx="16" class="web"/>
<text x="1055" y="215" class="box-title">Web 数控仿真系统</text>
<text x="1055" y="265" class="body">浏览器首屏 CNC 工作台</text>
<text x="1055" y="310" class="body">INI/XML/HAL/NGC/TBL/VAR 解析器</text>
<text x="1055" y="355" class="body">AXIS 等价 UI 与 PyVCP 等价控件</text>
<text x="1055" y="400" class="body">Three.js 五轴机床与刀具路径</text>
<text x="1055" y="445" class="body">HAL 信号总线与 switchkins 状态机</text>
<text x="1055" y="490" class="body">XYZBC 正逆运动学与 TCP 模式</text>
<text x="1055" y="535" class="body">预览、执行、MDI、复位、清轨迹</text>
<text x="1055" y="580" class="body">证据 JSON 导出和对比报告</text>
<text x="1055" y="645" class="small">目标:功能、状态、路径、误差可量化对标</text>
<rect x="660" y="230" width="280" height="115" rx="12" class="evidence"/>
<text x="698" y="278" class="box-title">采集基线 JSON</text>
<text x="698" y="316" class="small">状态、引脚、路径、截图</text>
<rect x="660" y="415" width="280" height="115" rx="12" class="evidence"/>
<text x="702" y="463" class="box-title">Web 输出 JSON</text>
<text x="704" y="501" class="small">同周期、同字段、同坐标系</text>
<rect x="660" y="600" width="280" height="115" rx="12" class="neutral"/>
<text x="704" y="648" class="box-title">对标验收报告</text>
<text x="704" y="686" class="small">误差、缺口、截图、结论</text>
<path d="M580 290 L660 290" class="line"/>
<path d="M940 290 L1020 290" class="line"/>
<path d="M1020 475 L940 475" class="line dash"/>
<path d="M660 475 L580 475" class="line dash"/>
<path d="M800 345 L800 415" class="line"/>
<path d="M800 530 L800 600" class="line"/>
<text x="621" y="205" class="small">真实系统采样</text>
<text x="996" y="205" class="small">Web 复刻与回放</text>
<text x="1005" y="535" class="small">差异闭环</text>
</svg>