Files
cdsl-cad/json_to_cdsl/output/115695.cdsl.json
T
2026-08-21 11:13:18 +08:00

666 lines
14 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "115695",
"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": true,
"segments": [
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
0.0,
130.0
]
},
{
"type": "line",
"start": [
0.0,
130.0
],
"end": [
40.0,
130.0
]
},
{
"type": "line",
"start": [
40.0,
130.0
],
"end": [
40.0,
118.0
]
},
{
"type": "line",
"start": [
40.0,
118.0
],
"end": [
15.0,
118.0
]
},
{
"type": "line",
"start": [
15.0,
118.0
],
"end": [
15.0,
-55.0
]
},
{
"type": "line",
"start": [
15.0,
-55.0
],
"end": [
5.0,
-55.0
]
},
{
"type": "line",
"start": [
5.0,
-55.0
],
"end": [
5.0,
0.0
]
},
{
"type": "line",
"start": [
5.0,
0.0
],
"end": [
0.0,
0.0
]
}
]
}
]
}
},
{
"id": "sk_003",
"name": "草图6",
"role": "profile",
"workplane": {
"origin_mm": [
-0.0,
1000.0,
-0.0
],
"x_dir": [
1.0,
0.0,
0.0
],
"y_dir": [
0.0,
-1.0,
0.0
],
"normal": [
0.0,
0.0,
-1.0
]
},
"profile": {
"type": "circles",
"items": [
{
"center": [
28.0,
20.0
],
"radius_mm": 4.75
},
{
"center": [
28.0,
-20.0
],
"radius_mm": 4.75
}
]
}
}
]
},
"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": "extrude_add_blind",
"depends_on": [
"f_001"
],
"params": {
"distance_mm": 70.0,
"reverse": false,
"end_condition": {
"type": "through_all_and_blind",
"solidworks_code": 6
}
},
"execution_status": "deferred",
"sketch_id": "sk_002"
},
{
"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": "M8 间隙槽口1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004"
],
"params": {
"hole_type": "螺钉间隙",
"diameter_mm": 9.0,
"depth_mm": 12.0,
"end_condition": {
"solidworks_code": 1,
"type": "through_all"
},
"positions": [
{
"mm": [
28.0,
-20.0,
0.0
]
},
{
"mm": [
28.0,
20.0,
0.0
]
}
]
},
"execution_status": "deferred",
"sketch_id": "sk_001",
"unresolved": [
"hole has no captured semantic selections"
]
},
{
"id": "f_006",
"name": "打孔尺寸(%根据)内六角圆柱头螺钉的类型2",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004"
],
"params": {
"hole_type": "内六角圆柱头螺钉 GB/T 70.1-2000",
"diameter_mm": 6.6,
"depth_mm": 15.0,
"end_condition": {
"solidworks_code": 1,
"type": "through_all"
},
"positions": [
{
"mm": [
-25.0,
-45.0,
0.0
]
},
{
"mm": [
25.0,
-45.0,
0.0
]
},
{
"mm": [
-25.0,
-15.0,
0.0
]
},
{
"mm": [
25.0,
-15.0,
0.0
]
}
],
"counterbore": {
"diameter_mm": 11.0,
"depth_mm": 6.8
}
},
"execution_status": "deferred",
"sketch_id": "sk_001",
"unresolved": [
"hole has no captured semantic selections"
]
},
{
"id": "f_008",
"name": "倒角1",
"atomic_id": "chamfer",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 2.0,
"angle_rad": 0.78539816339745
},
"execution_status": "deferred"
},
{
"id": "f_007",
"name": "切除-拉伸1",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_004",
"f_005"
],
"params": {
"distance_mm": 0.0,
"reverse": false,
"end_condition": {
"type": "through_all",
"solidworks_code": 1
}
},
"execution_status": "supported",
"sketch_id": "sk_003"
}
],
"meta": {
"unit": "mm",
"source": "115695.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete_with_blockers",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.18882190858577824,
"volume": 0.00018882190858577824,
"surface_area": 0.038432765734564195,
"center_of_mass": [
0.0097500859751773,
0.05295766240926513,
8.104378060175798e-18
],
"principal_moments": [
8.559224033643088e-05,
0.0005441862009339419,
0.000611157046812606
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
0.0,
-0.05499999999999999,
-0.035,
0.04,
0.13,
0.035
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "倒角1",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAQAAAByAAAAcQAAAHAAAABvAAAA",
"persist_reference_sha256": "1bf4b078015b2c488f1bc675ed7911b5ca157a14b758e0d36e28061acc31fe13",
"component": null,
"geometry": {
"box": [
0.0,
-0.05499999999999999,
-0.035,
0.04,
0.13,
0.035
],
"face_count": 43,
"edge_count": 103,
"vertex_count": 58
},
"stable_id": "1bf4b078015b2c488f1bc675ed7911b5ca157a14b758e0d36e28061acc31fe13"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 53,
"surface_counts": {
"cylinder": 26,
"plane": 27
},
"axis_count": 26,
"repeat_spacings_mm": [
{
"spacing_mm": 13.2004,
"pair_count": 4
},
{
"spacing_mm": 40.0,
"pair_count": 3
},
{
"spacing_mm": 50.0,
"pair_count": 2
},
{
"spacing_mm": 30.0,
"pair_count": 2
},
{
"spacing_mm": 58.3095,
"pair_count": 2
},
{
"spacing_mm": 163.8544,
"pair_count": 2
},
{
"spacing_mm": 171.1381,
"pair_count": 2
},
{
"spacing_mm": 168.2208,
"pair_count": 2
},
{
"spacing_mm": 163.5183,
"pair_count": 2
},
{
"spacing_mm": 175.5534,
"pair_count": 2
},
{
"spacing_mm": 181.1602,
"pair_count": 2
},
{
"spacing_mm": 134.0457,
"pair_count": 2
}
],
"metrics": {
"bounding_box_mm": [
-0.0,
-55.0,
-35.0,
40.0,
130.0,
35.0
],
"volume_mm3": 188821.908585778,
"surface_area_mm2": 38432.765734564,
"solid_count": 1,
"face_count": 53,
"edge_count": 141,
"vertex_count": 94
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
0.0,
-55.0,
-35.0,
40.0,
130.0,
35.0
],
"volume_mm3": 188821.908585778,
"surface_area_mm2": 38432.765734564,
"solid_count": 1,
"face_count": 43,
"edge_count": 103,
"vertex_count": 58
},
"comparisons": {
"volume_mm3": {
"expected": 188821.908585778,
"actual": 188821.908585778,
"absolute_delta": 0.0,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 38432.765734564,
"actual": 38432.765734564,
"absolute_delta": 0.0,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
0.0,
-55.0,
-35.0,
40.0,
130.0,
35.0
],
"actual": [
-0.0,
-55.0,
-35.0,
40.0,
130.0,
35.0
],
"max_absolute_delta": 0.0,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 43,
"actual": 53,
"matches": false
},
"edge_count": {
"expected": 103,
"actual": 141,
"matches": false
},
"vertex_count": {
"expected": 58,
"actual": 94,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}