Files
cdsl-cad/json_to_cdsl/output/_-1-a21f3e8e48.cdsl.json
T
2026-08-24 14:52:08 +08:00

1379 lines
35 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "_-1-a21f3e8e48",
"geometry": {
"sketches": [
{
"id": "sk_001",
"name": "原点",
"role": "profile",
"workplane": {
"origin_mm": [
-0.0,
-0.0,
-0.0
],
"x_dir": [
1.0,
0.0,
0.0
],
"y_dir": [
1.0,
0.0,
0.0
],
"normal": [
0.0,
0.0,
1.0
]
},
"profile": {
"type": "analytic_contours",
"contours": []
}
},
{
"id": "sk_002",
"name": "草图1",
"role": "profile",
"workplane": {
"origin_mm": [
-0.0,
-0.0,
-0.0
],
"x_dir": [
1.0,
0.0,
0.0
],
"y_dir": [
1.0,
0.0,
0.0
],
"normal": [
0.0,
0.0,
1.0
]
},
"profile": {
"type": "analytic_contours",
"contours": [
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "arc",
"start": [
-3.128897569,
26.1
],
"end": [
3.128897569,
26.1
],
"center": [
0.0,
30.0
],
"radius_mm": 5.0,
"clockwise": false
},
{
"type": "line",
"start": [
3.128897569,
26.1
],
"end": [
7.5,
26.1
]
},
{
"type": "line",
"start": [
7.5,
26.1
],
"end": [
7.5,
33.9
]
},
{
"type": "line",
"start": [
7.5,
33.9
],
"end": [
3.128897569,
33.9
]
},
{
"type": "arc",
"start": [
3.128897569,
33.9
],
"end": [
-3.128897569,
33.9
],
"center": [
0.0,
30.0
],
"radius_mm": 5.0,
"clockwise": false
},
{
"type": "line",
"start": [
-3.128897569,
33.9
],
"end": [
-7.5,
33.9
]
},
{
"type": "line",
"start": [
-7.5,
33.9
],
"end": [
-7.5,
26.1
]
},
{
"type": "line",
"start": [
-7.5,
26.1
],
"end": [
-3.128897569,
26.1
]
}
]
},
{
"role": "outer",
"closed": true,
"segments": [
{
"type": "line",
"start": [
-9.0,
40.0
],
"end": [
9.0,
40.0
]
},
{
"type": "line",
"start": [
9.0,
40.0
],
"end": [
9.0,
35.1
]
},
{
"type": "line",
"start": [
9.0,
35.1
],
"end": [
5.0,
35.1
]
},
{
"type": "line",
"start": [
5.0,
35.1
],
"end": [
5.0,
34.9
]
},
{
"type": "line",
"start": [
5.0,
34.9
],
"end": [
8.5,
34.9
]
},
{
"type": "line",
"start": [
8.5,
34.9
],
"end": [
8.5,
25.1
]
},
{
"type": "line",
"start": [
8.5,
25.1
],
"end": [
5.0,
25.1
]
},
{
"type": "line",
"start": [
5.0,
25.1
],
"end": [
5.0,
24.9
]
},
{
"type": "line",
"start": [
5.0,
24.9
],
"end": [
9.0,
24.9
]
},
{
"type": "line",
"start": [
9.0,
24.9
],
"end": [
9.0,
20.0
]
},
{
"type": "line",
"start": [
9.0,
20.0
],
"end": [
-9.0,
20.0
]
},
{
"type": "line",
"start": [
-9.0,
20.0
],
"end": [
-9.0,
24.9
]
},
{
"type": "line",
"start": [
-9.0,
24.9
],
"end": [
-5.0,
24.9
]
},
{
"type": "line",
"start": [
-5.0,
24.9
],
"end": [
-5.0,
25.1
]
},
{
"type": "line",
"start": [
-5.0,
25.1
],
"end": [
-8.5,
25.1
]
},
{
"type": "line",
"start": [
-8.5,
25.1
],
"end": [
-8.5,
34.9
]
},
{
"type": "line",
"start": [
-8.5,
34.9
],
"end": [
-5.0,
34.9
]
},
{
"type": "line",
"start": [
-5.0,
34.9
],
"end": [
-5.0,
35.1
]
},
{
"type": "line",
"start": [
-5.0,
35.1
],
"end": [
-9.0,
35.1
]
},
{
"type": "line",
"start": [
-9.0,
35.1
],
"end": [
-9.0,
40.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
0.0,
20.0
]
},
{
"type": "line",
"start": [
-9.0,
35.0
],
"end": [
9.0,
35.0
]
},
{
"type": "line",
"start": [
-9.0,
25.0
],
"end": [
9.0,
25.0
]
},
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
36.348646362,
0.0
]
},
{
"type": "line",
"start": [
-9.0,
30.0
],
"end": [
0.0,
30.0
]
},
{
"type": "line",
"start": [
0.0,
35.0
],
"end": [
0.0,
25.0
]
},
{
"type": "line",
"start": [
-9.0,
34.9
],
"end": [
-5.0,
34.9
]
},
{
"type": "line",
"start": [
9.0,
40.0
],
"end": [
9.0,
20.0
]
},
{
"type": "line",
"start": [
-9.0,
25.1
],
"end": [
-5.0,
25.1
]
},
{
"type": "line",
"start": [
-9.0,
40.0
],
"end": [
-9.0,
20.0
]
},
{
"type": "line",
"start": [
-5.0,
35.1
],
"end": [
-5.0,
24.9
]
},
{
"type": "line",
"start": [
5.0,
35.1
],
"end": [
5.0,
24.9
]
},
{
"type": "line",
"start": [
-5.0,
30.0
],
"end": [
5.0,
30.0
]
},
{
"type": "line",
"start": [
5.0,
34.9
],
"end": [
9.0,
34.9
]
},
{
"type": "line",
"start": [
5.0,
25.1
],
"end": [
9.0,
25.1
]
},
{
"type": "line",
"start": [
-9.0,
34.9
],
"end": [
-9.0,
25.1
]
},
{
"type": "line",
"start": [
9.0,
25.1
],
"end": [
9.0,
34.9
]
},
{
"type": "line",
"start": [
9.0,
34.9
],
"end": [
9.0,
25.1
]
},
{
"type": "line",
"start": [
5.0,
35.1
],
"end": [
5.0,
24.9
]
},
{
"type": "line",
"start": [
9.0,
25.1
],
"end": [
5.0,
25.1
]
},
{
"type": "line",
"start": [
9.0,
34.9
],
"end": [
5.0,
34.9
]
}
]
}
},
{
"id": "sk_003",
"name": "草图2",
"role": "profile",
"workplane": {
"origin_mm": [
-0.0,
-0.0,
-0.0
],
"x_dir": [
1.0,
0.0,
0.0
],
"y_dir": [
1.0,
0.0,
0.0
],
"normal": [
0.0,
0.0,
1.0
]
},
"profile": {
"type": "analytic_contours",
"contours": [
{
"role": "outer",
"closed": true,
"segments": [
{
"type": "arc",
"start": [
5.0,
30.0
],
"end": [
-5.0,
30.0
],
"center": [
0.0,
30.0
],
"radius_mm": 5.0,
"clockwise": false
},
{
"type": "line",
"start": [
-5.0,
30.0
],
"end": [
5.0,
30.0
]
}
]
}
]
}
}
]
},
"features": [
{
"id": "f_001",
"name": "前视基准面",
"atomic_id": "reference_plane",
"depends_on": [],
"params": {
"plane": {
"origin_mm": [
0.0,
0.0,
0.0
],
"normal": [
0.0,
1.0,
0.0
],
"x_dir": [
1.0,
0.0,
0.0
]
},
"offset_mm": 0.0,
"angle_rad": 0.0,
"reverse": false,
"solidworks_type": 10
},
"execution_status": "deferred"
},
{
"id": "f_002",
"name": "上视基准面",
"atomic_id": "reference_plane",
"depends_on": [
"f_001"
],
"params": {
"plane": {
"origin_mm": [
0.0,
0.0,
0.0
],
"normal": [
0.0,
0.0,
1.0
],
"x_dir": [
1.0,
0.0,
0.0
]
},
"offset_mm": 0.0,
"angle_rad": 0.0,
"reverse": false,
"solidworks_type": 10
},
"execution_status": "deferred"
},
{
"id": "f_004",
"name": "旋转1",
"atomic_id": "revolve_add",
"depends_on": [
"f_001"
],
"params": {
"angle_deg": 360.0,
"axis": {
"origin_mm": [
0.0,
0.0,
0.0
],
"direction": [
1.0,
0.0,
0.0
]
},
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_002",
"selectors": [
{
"kind": "axis",
"stable_id": "03467bdc4f0ace35edd44679015bd12dbe84490113757c69811f17ce3411e6c2",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"start": [
0.0,
0.0,
0.0
],
"end": [
0.03634864636209814,
0.0,
0.0
]
}
}
]
},
{
"id": "f_007",
"name": "旋转2",
"atomic_id": "revolve_add",
"depends_on": [
"f_001"
],
"params": {
"angle_deg": 360.0,
"axis": {
"origin_mm": [
-5.0,
30.0,
0.0
],
"direction": [
1.0,
0.0,
0.0
]
},
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_003",
"selectors": [
{
"kind": "axis",
"stable_id": "7c258a9d3dd490e8adf4e7f6a67d4aea8aa68aa1256405e5674c60bdd8dfebd4",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"start": [
-0.004999999999999998,
0.03,
0.0
],
"end": [
0.005000000000000002,
0.03,
0.0
]
}
}
]
},
{
"id": "f_003",
"name": "右视基准面",
"atomic_id": "reference_plane",
"depends_on": [
"f_002"
],
"params": {
"plane": {
"origin_mm": [
0.0,
0.0,
0.0
],
"normal": [
1.0,
0.0,
0.0
],
"x_dir": [
0.0,
1.0,
0.0
]
},
"offset_mm": 0.0,
"angle_rad": 0.0,
"reverse": false,
"solidworks_type": 10
},
"execution_status": "deferred"
},
{
"id": "f_005",
"name": "圆角1",
"atomic_id": "fillet",
"depends_on": [
"f_004"
],
"params": {
"radius_mm": 2.0,
"tangent_propagation": false
},
"execution_status": "deferred"
},
{
"id": "f_006",
"name": "倒角1",
"atomic_id": "chamfer",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 1.0,
"angle_rad": 0.78539816339745
},
"execution_status": "deferred"
}
],
"meta": {
"unit": "mm",
"source": "02_传动件/0203_轴承/020399_通用轴承/轴承_重名1.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "hybrid_semantic_surfaceir_pending",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.04653982298556133,
"volume": 4.653982298556133e-05,
"surface_area": 0.030975705411484842,
"center_of_mass": [
4.669991009995728e-19,
7.10716854263546e-18,
2.129098956120806e-18
],
"principal_moments": [
2.509372577831373e-05,
2.509372577831373e-05,
4.789359706221321e-05
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.009000000000000008,
-0.039999999999999994,
-0.039999999999999994,
0.03634864636209814,
0.039999999999999994,
0.039999999999999994
],
"solid_body_count": 14,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "阵列(圆周)1[1]",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAEAAADtAAAA",
"persist_reference_sha256": "b92e94d6354e9c6e20936debf83a73e9162e6bc262f5026a56c5075d180ae1eb",
"component": null,
"geometry": {
"box": [
-0.004999999999999998,
0.021563680769596277,
-0.018941695161313086,
0.005000000000000002,
0.03156368076959628,
-0.008941695161313084
],
"face_count": 1,
"edge_count": 0,
"vertex_count": 0
},
"stable_id": "b92e94d6354e9c6e20936debf83a73e9162e6bc262f5026a56c5075d180ae1eb"
},
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "阵列(圆周)1[4]",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAEAAADwAAAA",
"persist_reference_sha256": "921646593f25d162e9e3f8e7db9367168f61c8b3a75bf538a550d1e8329b291b",
"component": null,
"geometry": {
"box": [
-0.004999999999999998,
-0.015638146611276188,
-0.033050487280562396,
0.005000000000000002,
-0.005638146611276189,
-0.023050487280562398
],
"face_count": 1,
"edge_count": 0,
"vertex_count": 0
},
"stable_id": "921646593f25d162e9e3f8e7db9367168f61c8b3a75bf538a550d1e8329b291b"
},
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "阵列(圆周)1[7]",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAEAAADzAAAA",
"persist_reference_sha256": "18afb37a30206f4ba4db1c0542c57725e0c6ade85170583622ac48d0d0915a10",
"component": null,
"geometry": {
"box": [
-0.004999999999999998,
-0.0341282545227815,
0.0021794699286269556,
0.005000000000000002,
-0.024128254522781504,
0.012179469928626955
],
"face_count": 1,
"edge_count": 0,
"vertex_count": 0
},
"stable_id": "18afb37a30206f4ba4db1c0542c57725e0c6ade85170583622ac48d0d0915a10"
},
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "阵列(圆周)1[10]",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAEAAAD2AAAA",
"persist_reference_sha256": "96c31ffb573337e36a2ce5dd9c05a608f1f0c7054726586e576280035e7a5b76",
"component": null,
"geometry": {
"box": [
-0.004999999999999998,
-0.0013838995923399857,
0.024781266222941585,
0.005000000000000002,
0.008616100407660015,
0.03478126622294159
],
"face_count": 1,
"edge_count": 0,
"vertex_count": 0
},
"stable_id": "96c31ffb573337e36a2ce5dd9c05a608f1f0c7054726586e576280035e7a5b76"
},
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "倒角1",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAEAAADrAAAA",
"persist_reference_sha256": "e06d3fe1fa500fb749033d177641768227ae0e1d8a85e7ec308eaeb69873a901",
"component": null,
"geometry": {
"box": [
-0.009000000000000008,
-0.039999999999999994,
-0.039999999999999994,
0.009000000000000008,
0.039999999999999994,
0.039999999999999994
],
"face_count": 40,
"edge_count": 40,
"vertex_count": 0
},
"stable_id": "e06d3fe1fa500fb749033d177641768227ae0e1d8a85e7ec308eaeb69873a901"
},
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "阵列(圆周)1[2]",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAEAAADuAAAA",
"persist_reference_sha256": "1d3c916beabb1227a7979e3d950d0a755ab80c603e196fe315de85610a95a92e",
"component": null,
"geometry": {
"box": [
-0.004999999999999998,
0.012041942401934621,
-0.029689515976809727,
0.005000000000000002,
0.022041942401934623,
-0.019689515976809725
],
"face_count": 1,
"edge_count": 0,
"vertex_count": 0
},
"stable_id": "1d3c916beabb1227a7979e3d950d0a755ab80c603e196fe315de85610a95a92e"
},
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "阵列(圆周)1[5]",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAEAAADxAAAA",
"persist_reference_sha256": "0150d3c94af4b5b8688018d44fb88a8e7e0e415b8754829a507feb1fc72353cf",
"component": null,
"geometry": {
"box": [
-0.004999999999999998,
-0.02745532244513314,
-0.024893679747223736,
0.005000000000000002,
-0.017455322445133137,
-0.014893679747223734
],
"face_count": 1,
"edge_count": 0,
"vertex_count": 0
},
"stable_id": "0150d3c94af4b5b8688018d44fb88a8e7e0e415b8754829a507feb1fc72353cf"
},
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "阵列(圆周)1[8]",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAEAAAD0AAAA",
"persist_reference_sha256": "10d65689d6cf0a48f1e3a7bf83acf020ebd3576adc792b87fd8c406741db046c",
"component": null,
"geometry": {
"box": [
-0.004999999999999998,
-0.027455322445132862,
0.014893679747224046,
0.005000000000000002,
-0.01745532244513286,
0.02489367974722405
],
"face_count": 1,
"edge_count": 0,
"vertex_count": 0
},
"stable_id": "10d65689d6cf0a48f1e3a7bf83acf020ebd3576adc792b87fd8c406741db046c"
},
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "阵列(圆周)1[11]",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAEAAAD3AAAA",
"persist_reference_sha256": "e182a57589ccd4e5863da097823b69d7068e4b343634337b8b9a3255a4d37b43",
"component": null,
"geometry": {
"box": [
-0.004999999999999998,
0.012041942401934971,
0.01968951597680948,
0.005000000000000002,
0.022041942401934973,
0.029689515976809484
],
"face_count": 1,
"edge_count": 0,
"vertex_count": 0
},
"stable_id": "e182a57589ccd4e5863da097823b69d7068e4b343634337b8b9a3255a4d37b43"
},
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "旋转2",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAEAAADsAAAA",
"persist_reference_sha256": "915316bd2c017084f830c9ef0ed2b86b4e6e64c8e8c2f7ae7b255866e478e8f8",
"component": null,
"geometry": {
"box": [
-0.004999999999999998,
0.024999999999999998,
-0.005,
0.005000000000000002,
0.034999999999999996,
0.005
],
"face_count": 1,
"edge_count": 0,
"vertex_count": 0
},
"stable_id": "915316bd2c017084f830c9ef0ed2b86b4e6e64c8e8c2f7ae7b255866e478e8f8"
},
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "阵列(圆周)1[3]",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAEAAADvAAAA",
"persist_reference_sha256": "6f39fcd1a8da949892e23028758603fc2dff640e865dbe06355a9a397a48de14",
"component": null,
"geometry": {
"box": [
-0.004999999999999998,
-0.0013838995923404025,
-0.03478126622294163,
0.005000000000000002,
0.008616100407659599,
-0.02478126622294163
],
"face_count": 1,
"edge_count": 0,
"vertex_count": 0
},
"stable_id": "6f39fcd1a8da949892e23028758603fc2dff640e865dbe06355a9a397a48de14"
},
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "阵列(圆周)1[6]",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAEAAADyAAAA",
"persist_reference_sha256": "c4169cf898e38ad26e95c8b10446d82d2fd4b2505a01459c0e329f6bb738f39a",
"component": null,
"geometry": {
"box": [
-0.004999999999999998,
-0.034128254522781606,
-0.012179469928626549,
0.005000000000000002,
-0.024128254522781604,
-0.0021794699286265488
],
"face_count": 1,
"edge_count": 0,
"vertex_count": 0
},
"stable_id": "c4169cf898e38ad26e95c8b10446d82d2fd4b2505a01459c0e329f6bb738f39a"
},
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "阵列(圆周)1[9]",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAEAAAD1AAAA",
"persist_reference_sha256": "3a2fa9e497c8d85fbf27bdc0b7cd16912f769fd9da767bfcc074ef0e16c34b3e",
"component": null,
"geometry": {
"box": [
-0.004999999999999998,
-0.015638146611275803,
0.023050487280562543,
0.005000000000000002,
-0.0056381466112758035,
0.03305048728056254
],
"face_count": 1,
"edge_count": 0,
"vertex_count": 0
},
"stable_id": "3a2fa9e497c8d85fbf27bdc0b7cd16912f769fd9da767bfcc074ef0e16c34b3e"
},
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "阵列(圆周)1[12]",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAEAAAD4AAAA",
"persist_reference_sha256": "d936607970d2263f606e0e600df73c5cc82a2183c5aa764d25ffa668596d67bc",
"component": null,
"geometry": {
"box": [
-0.004999999999999998,
0.02156368076959647,
0.00894169516131272,
0.005000000000000002,
0.031563680769596474,
0.01894169516131272
],
"face_count": 1,
"edge_count": 0,
"vertex_count": 0
},
"stable_id": "d936607970d2263f606e0e600df73c5cc82a2183c5aa764d25ffa668596d67bc"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 96,
"surface_counts": {
"cone": 4,
"cylinder": 28,
"plane": 12,
"sphere": 26,
"torus": 26
},
"axis_count": 32,
"repeat_spacings_mm": [],
"metrics": {
"bounding_box_mm": [
-9.0,
-40.0000001,
-40.0,
9.0,
40.0000001,
40.0
],
"volume_mm3": 46539.822985561,
"surface_area_mm2": 30975.705411485,
"solid_count": 14,
"face_count": 96,
"edge_count": 205,
"vertex_count": 147
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-9.0,
-40.0,
-40.0,
36.348646362,
40.0,
40.0
],
"volume_mm3": 46539.822985561,
"surface_area_mm2": 30975.705411485,
"solid_count": 14,
"face_count": 53,
"edge_count": 40,
"vertex_count": 0
},
"comparisons": {
"volume_mm3": {
"expected": 46539.822985561,
"actual": 46539.822985561,
"absolute_delta": 0.0,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 30975.705411485,
"actual": 30975.705411485,
"absolute_delta": 0.0,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-9.0,
-40.0,
-40.0,
36.348646362,
40.0,
40.0
],
"actual": [
-9.0,
-40.0000001,
-40.0,
9.0,
40.0000001,
40.0
],
"max_absolute_delta": 27.348646361999997,
"within_tolerance": false
},
"solid_count": {
"expected": 14,
"actual": 14,
"matches": true
},
"face_count": {
"expected": 53,
"actual": 96,
"matches": false
},
"edge_count": {
"expected": 40,
"actual": 205,
"matches": false
},
"vertex_count": {
"expected": 0,
"actual": 147,
"matches": false
}
},
"numeric_geometry_match": false,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}