首次提交: OnebotCatalog 项目代码与文档(含 NX 按需生成服务二期、后台、一键启动)

This commit is contained in:
wangruiguo
2026-09-03 17:55:45 +08:00
commit fafa86d3a6
241 changed files with 78656 additions and 0 deletions

20
onebot-data/masters.json Normal file
View File

@@ -0,0 +1,20 @@
{
"note": "NX 按需生成服务母模配置 (服务器侧, 不进客户包)。expressionMap: 目录参数代码 → NX 母模表达式名 (须与母模实际表达式一字不差, 由建模工程师确认)。switchRules: [参数代码, 参数值, NX表达式名, 表达式值] 枚举开关 (驱动按表达式抑制的特征, 同 nx-batch-export.vb 语义)。exports: 每个型号导出的格式 (step 固定导出, 其余 true 才导)。",
"KC": {
"masterPart": "KC_master.prt",
"expressionMap": { "bore": "bore", "stroke": "stroke" },
"switchRules": [
["magnet", "", "magOn", "0"],
["magnet", "M", "magOn", "1"],
["mount", "", "mountIdx", "0"],
["mount", "FA", "mountIdx", "1"],
["mount", "FB", "mountIdx", "2"],
["mount", "CA", "mountIdx", "3"],
["mount", "CB", "mountIdx", "4"],
["mount", "LB", "mountIdx", "5"],
["mount", "YB", "mountIdx", "6"]
],
"exports": { "step": "214", "iges": true, "prt": true },
"timeoutSec": 300
}
}