v1.0: 夹紧缸模块真实数据替换 + 仓库瘦身

数据 (CLM 气动夹紧缸分类):
- 1 系列 demo -> 11 个官方系列, 6 型号 -> 859 个真实型号
- 参数化升级: 仅缸径 -> 最多 5 维 (缸径/臂位置/臂类型/臂样式/传感器)
- 11 系列各含官方图册附图 (84 张) + datasheet PDF
- 修复: 枚举维度空串必须为合法值 (否则级联过滤后下拉全空)
- 修复: catalog.json 分类 series 数组未更新导致新系列不进包
- 修复: _step 副本后缀归一化错误 (产生假型号)

工具:
- gen-clamp-series.py     数据清洗 (X盘数模 -> CSV/meta/STEP)
- copy-clamp-step.py      8线程并行复制 (网络盘 I/O 优化)
- gen-clamp-manual.py     官方图册 PDF -> 附图
- update-clamp-meta-attach.py / fix-clamp-meta-empty-enum.py

仓库瘦身:
- .gitignore 排除数模(5GB)/.opc(1.2GB)/编译产物/发布产物
- 移出索引: release/ bin产物 STEP数模 .opc 大型PDF 等
- 提交体积 17MB (原 15.97GB)

其他: SelfTest.cs 可解析选型逻辑放宽 (稀疏数据用真实变体回验)

Co-Authored-By: Claude Code <noreply@anthropic.com>
This commit is contained in:
wangruiguo
2026-09-14 15:24:16 +08:00
parent acbf6f2db0
commit 0584ba67b4
4301 changed files with 3366 additions and 1474787 deletions

View File

@@ -1 +1,114 @@
{"schemaVersion":"1.0","genApi":"","catalogName":"ONEBOT 气动元件目录","catalogNameEn":"ONEBOT Pneumatic Catalog","catalogVersion":"2026.08","defaultLang":"zh","langs":["zh","en"],"categories":[{"code":"AUT","nameZh":"汽车行业气缸 Automotive","nameEn":"Automotive Cylinders","keywords":"","series":["KC","KCB","KSB","KCS","KS","KSU"]},{"code":"MIN","nameZh":"不锈钢迷你缸 (ISO6432)","nameEn":"Stainless Mini Cylinders (ISO6432)","keywords":"","series":["M","MS","MSC"]},{"code":"ALU","nameZh":"铝合金迷你缸","nameEn":"Aluminium Mini Cylinders","keywords":"","series":["MAL","MALC"]},{"code":"CLM","nameZh":"气动夹紧缸","nameEn":"Pneumatic Clamping Cylinders","keywords":"","series":["UCBM"]},{"code":"PIN","nameZh":"气动可伸缩定位销","nameEn":"Pneumatic Retractable Locating Pins","keywords":"","series":["ULP"]},{"code":"HOK","nameZh":"气动勾销缸","nameEn":"Pneumatic Pin Clamp Cylinders","keywords":"","series":["USP"]},{"code":"GRP","nameZh":"气动夹爪缸","nameEn":"Pneumatic Gripper Cylinders","keywords":"","series":["UGP"]},{"code":"ROT","nameZh":"气动翻转缸","nameEn":"Pneumatic Flip Cylinders","keywords":"","series":["UAGP"]},{"code":"ELEC","nameZh":"电动气缸","nameEn":"Electric Cylinders","keywords":"","series":["LAE"]}],"series":[]}
{
"schemaVersion": "1.0",
"genApi": "",
"catalogName": "ONEBOT 气动元件目录",
"catalogNameEn": "ONEBOT Pneumatic Catalog",
"catalogVersion": "2026.08",
"defaultLang": "zh",
"langs": [
"zh",
"en"
],
"categories": [
{
"code": "AUT",
"nameZh": "汽车行业气缸 Automotive",
"nameEn": "Automotive Cylinders",
"keywords": "",
"series": [
"KC",
"KCB",
"KSB",
"KCS",
"KS",
"KSU"
]
},
{
"code": "MIN",
"nameZh": "不锈钢迷你缸 (ISO6432)",
"nameEn": "Stainless Mini Cylinders (ISO6432)",
"keywords": "",
"series": [
"M",
"MS",
"MSC"
]
},
{
"code": "ALU",
"nameZh": "铝合金迷你缸",
"nameEn": "Aluminium Mini Cylinders",
"keywords": "",
"series": [
"MAL",
"MALC"
]
},
{
"code": "CLM",
"nameZh": "气动夹紧缸",
"nameEn": "Pneumatic Clamping Cylinders",
"keywords": "",
"series": [
"UCBP",
"UCBM",
"UCBT",
"UCBQ",
"UCBH",
"UCDP",
"UCIM",
"UCIP",
"UCNM",
"UCNP",
"UFL"
]
},
{
"code": "PIN",
"nameZh": "气动可伸缩定位销",
"nameEn": "Pneumatic Retractable Locating Pins",
"keywords": "",
"series": [
"ULP"
]
},
{
"code": "HOK",
"nameZh": "气动勾销缸",
"nameEn": "Pneumatic Pin Clamp Cylinders",
"keywords": "",
"series": [
"USP"
]
},
{
"code": "GRP",
"nameZh": "气动夹爪缸",
"nameEn": "Pneumatic Gripper Cylinders",
"keywords": "",
"series": [
"UGP"
]
},
{
"code": "ROT",
"nameZh": "气动翻转缸",
"nameEn": "Pneumatic Flip Cylinders",
"keywords": "",
"series": [
"UAGP"
]
},
{
"code": "ELEC",
"nameZh": "电动气缸",
"nameEn": "Electric Cylinders",
"keywords": "",
"series": [
"LAE"
]
}
],
"series": []
}