Files
cdsl-cad/json_to_cdsl/output/JBT88-94-20_0_3.cdsl.json
T
2026-08-24 14:52:08 +08:00

1194 lines
27 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "JBT88-94-20_0_3",
"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": "outer",
"closed": false,
"segments": [
{
"type": "line",
"start": [
19.85,
1.5
],
"end": [
20.5,
0.85
]
},
{
"type": "line",
"start": [
20.5,
0.85
],
"end": [
20.5,
0.0
]
},
{
"type": "line",
"start": [
20.5,
0.0
],
"end": [
13.0,
0.0
]
},
{
"type": "line",
"start": [
13.0,
0.0
],
"end": [
13.0,
0.65
]
},
{
"type": "line",
"start": [
13.0,
0.65
],
"end": [
13.85,
1.5
]
},
{
"type": "line",
"start": [
13.85,
1.5
],
"end": [
19.85,
1.5
]
},
{
"type": "line",
"start": [
19.85,
1.5
],
"end": [
19.2,
0.85
]
},
{
"type": "line",
"start": [
19.2,
0.85
],
"end": [
18.55,
1.5
]
}
]
},
{
"role": "inner",
"closed": false,
"segments": [
{
"type": "line",
"start": [
17.05,
1.5
],
"end": [
17.7,
0.85
]
},
{
"type": "line",
"start": [
17.7,
0.85
],
"end": [
18.35,
1.5
]
}
]
},
{
"role": "inner",
"closed": false,
"segments": [
{
"type": "line",
"start": [
15.55,
1.5
],
"end": [
16.2,
0.85
]
},
{
"type": "line",
"start": [
16.2,
0.85
],
"end": [
16.85,
1.5
]
}
]
},
{
"role": "inner",
"closed": false,
"segments": [
{
"type": "line",
"start": [
14.05,
1.5
],
"end": [
14.7,
0.85
]
},
{
"type": "line",
"start": [
14.7,
0.85
],
"end": [
15.35,
1.5
]
}
]
},
{
"role": "inner",
"closed": false,
"segments": [
{
"type": "line",
"start": [
12.55,
1.5
],
"end": [
13.2,
0.85
]
},
{
"type": "line",
"start": [
13.2,
0.85
],
"end": [
13.85,
1.5
]
}
]
},
{
"role": "inner",
"closed": false,
"segments": [
{
"type": "line",
"start": [
11.05,
1.5
],
"end": [
11.7,
0.85
]
},
{
"type": "line",
"start": [
11.7,
0.85
],
"end": [
12.35,
1.5
]
}
]
},
{
"role": "inner",
"closed": false,
"segments": [
{
"type": "line",
"start": [
9.55,
1.5
],
"end": [
10.2,
0.85
]
},
{
"type": "line",
"start": [
10.2,
0.85
],
"end": [
10.85,
1.5
]
}
]
},
{
"role": "inner",
"closed": false,
"segments": [
{
"type": "line",
"start": [
8.05,
1.5
],
"end": [
8.7,
0.85
]
},
{
"type": "line",
"start": [
8.7,
0.85
],
"end": [
9.35,
1.5
]
}
]
},
{
"role": "inner",
"closed": false,
"segments": [
{
"type": "line",
"start": [
6.55,
1.5
],
"end": [
7.2,
0.85
]
},
{
"type": "line",
"start": [
7.2,
0.85
],
"end": [
7.85,
1.5
]
}
]
},
{
"role": "inner",
"closed": false,
"segments": [
{
"type": "line",
"start": [
5.05,
1.5
],
"end": [
5.7,
0.85
]
},
{
"type": "line",
"start": [
5.7,
0.85
],
"end": [
6.35,
1.5
]
}
]
},
{
"role": "inner",
"closed": false,
"segments": [
{
"type": "line",
"start": [
3.55,
1.5
],
"end": [
4.2,
0.85
]
},
{
"type": "line",
"start": [
4.2,
0.85
],
"end": [
4.85,
1.5
]
}
]
},
{
"role": "inner",
"closed": false,
"segments": [
{
"type": "line",
"start": [
2.05,
1.5
],
"end": [
2.7,
0.85
]
},
{
"type": "line",
"start": [
2.7,
0.85
],
"end": [
3.35,
1.5
]
}
]
},
{
"role": "inner",
"closed": false,
"segments": [
{
"type": "line",
"start": [
0.55,
1.5
],
"end": [
1.2,
0.85
]
},
{
"type": "line",
"start": [
1.2,
0.85
],
"end": [
1.85,
1.5
]
}
]
},
{
"role": "inner",
"closed": false,
"segments": [
{
"type": "line",
"start": [
-0.95,
1.5
],
"end": [
-0.3,
0.85
]
},
{
"type": "line",
"start": [
-0.3,
0.85
],
"end": [
0.35,
1.5
]
}
]
},
{
"role": "inner",
"closed": false,
"segments": [
{
"type": "line",
"start": [
-2.45,
1.5
],
"end": [
-1.8,
0.85
]
},
{
"type": "line",
"start": [
-1.8,
0.85
],
"end": [
-1.15,
1.5
]
}
]
},
{
"role": "inner",
"closed": false,
"segments": [
{
"type": "line",
"start": [
-3.95,
1.5
],
"end": [
-3.3,
0.85
]
},
{
"type": "line",
"start": [
-3.3,
0.85
],
"end": [
-2.65,
1.5
]
}
]
},
{
"role": "inner",
"closed": false,
"segments": [
{
"type": "line",
"start": [
-5.45,
1.5
],
"end": [
-4.8,
0.85
]
},
{
"type": "line",
"start": [
-4.8,
0.85
],
"end": [
-4.15,
1.5
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
0.0,
99.189691715
],
"end": [
0.0,
-86.538631985
]
},
{
"type": "line",
"start": [
-88.288246628,
0.0
],
"end": [
82.904816956,
0.0
]
},
{
"type": "line",
"start": [
19.2,
4.762408621
],
"end": [
19.2,
-2.18184364
]
},
{
"type": "line",
"start": [
17.7,
4.762408621
],
"end": [
17.7,
-2.18184364
]
},
{
"type": "line",
"start": [
16.2,
4.762408621
],
"end": [
16.2,
-2.18184364
]
},
{
"type": "line",
"start": [
14.7,
4.762408621
],
"end": [
14.7,
-2.18184364
]
},
{
"type": "line",
"start": [
13.2,
4.762408621
],
"end": [
13.2,
-2.18184364
]
},
{
"type": "line",
"start": [
11.7,
4.762408621
],
"end": [
11.7,
-2.18184364
]
},
{
"type": "line",
"start": [
10.2,
4.762408621
],
"end": [
10.2,
-2.18184364
]
},
{
"type": "line",
"start": [
8.7,
4.762408621
],
"end": [
8.7,
-2.18184364
]
},
{
"type": "line",
"start": [
7.2,
4.762408621
],
"end": [
7.2,
-2.18184364
]
},
{
"type": "line",
"start": [
5.7,
4.762408621
],
"end": [
5.7,
-2.18184364
]
},
{
"type": "line",
"start": [
4.2,
4.762408621
],
"end": [
4.2,
-2.18184364
]
},
{
"type": "line",
"start": [
2.7,
4.762408621
],
"end": [
2.7,
-2.18184364
]
},
{
"type": "line",
"start": [
1.2,
4.762408621
],
"end": [
1.2,
-2.18184364
]
},
{
"type": "line",
"start": [
-0.3,
4.762408621
],
"end": [
-0.3,
-2.18184364
]
},
{
"type": "line",
"start": [
-1.8,
4.762408621
],
"end": [
-1.8,
-2.18184364
]
},
{
"type": "line",
"start": [
-3.3,
4.762408621
],
"end": [
-3.3,
-2.18184364
]
},
{
"type": "line",
"start": [
-4.8,
4.762408621
],
"end": [
-4.8,
-2.18184364
]
},
{
"type": "line",
"start": [
44.566607438,
-22.817298766
],
"end": [
61.566607438,
-22.817298766
]
}
]
}
}
]
},
"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,
99.189691715,
0.0
],
"direction": [
0.0,
-1.0,
0.0
]
},
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_002",
"selectors": [
{
"kind": "axis",
"stable_id": "4bc5be715818f345d9d516f574bed20b73423951ac33f11a8c732949d505302f",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"start": [
0.0,
0.09918969171483621,
0.0
],
"end": [
0.0,
-0.08653863198458572,
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": "pattern_mirror",
"depends_on": [
"f_004",
"f_002"
],
"params": {
"source_feature_ids": [
"f_004"
],
"mirror_plane": {
"unresolved": "mirror plane was not captured"
}
},
"execution_status": "deferred",
"unresolved": [
"mirror pattern source features or plane were not captured"
]
}
],
"meta": {
"unit": "mm",
"source": "03_连接与管件/0301_法兰/030117_JBT88钢制管法兰用金属包覆垫片/JBT88-94-20_0_3.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "hybrid_semantic_surfaceir_pending",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.001893859389332881,
"volume": 1.893859389332881e-06,
"surface_area": 0.00249024462771894,
"center_of_mass": [
0.0,
-6.429251656887602e-16,
-1.3145189373003509e-18
],
"principal_moments": [
2.8015672794335206e-07,
2.8015672794335206e-07,
5.583276133709567e-07
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.020499999999999997,
-0.0015000000000000013,
-0.020499999999999997,
0.020499999999999997,
0.0015000000000000013,
0.020499999999999997
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "镜向1",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAIAAABnAAAAZgAAAA==",
"persist_reference_sha256": "781fb1250063932af81162b6faad7ee6774242f710350a00ef2dedcb00b2a0de",
"component": null,
"geometry": {
"box": [
-0.020499999999999997,
-0.0015000000000000013,
-0.020499999999999997,
0.020499999999999997,
0.0015000000000000013,
0.020499999999999997
],
"face_count": 30,
"edge_count": 30,
"vertex_count": 0
},
"stable_id": "781fb1250063932af81162b6faad7ee6774242f710350a00ef2dedcb00b2a0de"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 52,
"surface_counts": {
"cone": 40,
"cylinder": 4,
"plane": 8
},
"axis_count": 44,
"repeat_spacings_mm": [
{
"spacing_mm": 0.65,
"pair_count": 2
},
{
"spacing_mm": 0.2,
"pair_count": 2
},
{
"spacing_mm": 2.35,
"pair_count": 2
},
{
"spacing_mm": 1.5,
"pair_count": 2
},
{
"spacing_mm": 0.85,
"pair_count": 2
},
{
"spacing_mm": 2.15,
"pair_count": 2
}
],
"metrics": {
"bounding_box_mm": [
-20.5,
-1.5,
-20.5,
20.5,
1.5,
20.5
],
"volume_mm3": 1893.859389333,
"surface_area_mm2": 2490.244627719,
"solid_count": 1,
"face_count": 52,
"edge_count": 104,
"vertex_count": 60
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-20.5,
-1.5,
-20.5,
20.5,
1.5,
20.5
],
"volume_mm3": 1893.859389333,
"surface_area_mm2": 2490.244627719,
"solid_count": 1,
"face_count": 30,
"edge_count": 30,
"vertex_count": 0
},
"comparisons": {
"volume_mm3": {
"expected": 1893.859389333,
"actual": 1893.859389333,
"absolute_delta": 0.0,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 2490.244627719,
"actual": 2490.244627719,
"absolute_delta": 0.0,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-20.5,
-1.5,
-20.5,
20.5,
1.5,
20.5
],
"actual": [
-20.5,
-1.5,
-20.5,
20.5,
1.5,
20.5
],
"max_absolute_delta": 0.0,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 30,
"actual": 52,
"matches": false
},
"edge_count": {
"expected": 30,
"actual": 104,
"matches": false
},
"vertex_count": {
"expected": 0,
"actual": 60,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}