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

1081 lines
24 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "107008",
"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,
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": "analytic_contours",
"contours": [
{
"role": "outer",
"closed": true,
"segments": [
{
"type": "line",
"start": [
-100.0,
30.0
],
"end": [
100.0,
30.0
]
},
{
"type": "line",
"start": [
100.0,
30.0
],
"end": [
100.0,
-30.0
]
},
{
"type": "line",
"start": [
100.0,
-30.0
],
"end": [
-100.0,
-30.0
]
},
{
"type": "line",
"start": [
-100.0,
-30.0
],
"end": [
-100.0,
30.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
-100.0,
30.0
],
"end": [
100.0,
-30.0
]
},
{
"type": "line",
"start": [
-100.0,
-30.0
],
"end": [
100.0,
30.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": "analytic_contours",
"contours": [
{
"role": "outer",
"closed": true,
"segments": [
{
"type": "arc",
"start": [
-81.85,
22.0
],
"end": [
-88.15,
22.0
],
"center": [
-85.0,
22.0
],
"radius_mm": 3.15,
"clockwise": false
},
{
"type": "line",
"start": [
-88.15,
22.0
],
"end": [
-88.15,
14.0
]
},
{
"type": "arc",
"start": [
-88.15,
14.0
],
"end": [
-81.85,
14.0
],
"center": [
-85.0,
14.0
],
"radius_mm": 3.15,
"clockwise": false
},
{
"type": "line",
"start": [
-81.85,
14.0
],
"end": [
-81.85,
22.0
]
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "arc",
"start": [
-81.85,
-2.0
],
"end": [
-88.15,
-2.0
],
"center": [
-85.0,
-2.0
],
"radius_mm": 3.15,
"clockwise": false
},
{
"type": "line",
"start": [
-88.15,
-2.0
],
"end": [
-88.15,
-10.0
]
},
{
"type": "arc",
"start": [
-88.15,
-10.0
],
"end": [
-81.85,
-10.0
],
"center": [
-85.0,
-10.0
],
"radius_mm": 3.15,
"clockwise": false
},
{
"type": "line",
"start": [
-81.85,
-10.0
],
"end": [
-81.85,
-2.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
-0.0,
30.0
],
"end": [
0.0,
-30.0
]
},
{
"type": "line",
"start": [
-85.0,
30.0
],
"end": [
-85.0,
-30.0
]
},
{
"type": "line",
"start": [
85.0,
30.0
],
"end": [
85.0,
-30.0
]
},
{
"type": "line",
"start": [
-85.0,
22.0
],
"end": [
-85.0,
14.0
]
},
{
"type": "line",
"start": [
-85.0,
-2.0
],
"end": [
-85.0,
-10.0
]
}
]
}
},
{
"id": "sk_004",
"name": "草图7",
"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": "analytic_contours",
"contours": [
{
"role": "outer",
"closed": true,
"segments": [
{
"type": "arc",
"start": [
-72.5,
-17.5
],
"end": [
-67.5,
-17.5
],
"center": [
-70.0,
-17.5
],
"radius_mm": 2.5,
"clockwise": false
},
{
"type": "line",
"start": [
-67.5,
-17.5
],
"end": [
-67.5,
17.5
]
},
{
"type": "arc",
"start": [
-67.5,
17.5
],
"end": [
-72.5,
17.5
],
"center": [
-70.0,
17.5
],
"radius_mm": 2.5,
"clockwise": false
},
{
"type": "line",
"start": [
-72.5,
17.5
],
"end": [
-72.5,
-17.5
]
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "arc",
"start": [
72.5,
-17.5
],
"end": [
67.5,
-17.5
],
"center": [
70.0,
-17.5
],
"radius_mm": 2.5,
"clockwise": true
},
{
"type": "line",
"start": [
67.5,
-17.5
],
"end": [
67.5,
17.5
]
},
{
"type": "arc",
"start": [
67.5,
17.5
],
"end": [
72.5,
17.5
],
"center": [
70.0,
17.5
],
"radius_mm": 2.5,
"clockwise": true
},
{
"type": "line",
"start": [
72.5,
17.5
],
"end": [
72.5,
-17.5
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
-70.0,
30.0
],
"end": [
-70.0,
-30.0
]
},
{
"type": "line",
"start": [
0.0,
30.0
],
"end": [
-0.0,
-30.0
]
},
{
"type": "line",
"start": [
-70.0,
-17.5
],
"end": [
-70.0,
17.5
]
},
{
"type": "line",
"start": [
70.0,
-17.5
],
"end": [
70.0,
17.5
]
}
]
}
}
]
},
"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_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_004",
"name": "凸台-拉伸1",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_002"
],
"params": {
"distance_mm": 10.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_002"
},
{
"id": "f_005",
"name": "倒角1",
"atomic_id": "chamfer",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 10.0,
"angle_rad": 0.78539816339745
},
"execution_status": "deferred"
},
{
"id": "f_006",
"name": "M5 六角凹头螺钉的柱形沉头孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004"
],
"params": {
"hole_type": "六角凹头 ISO 4762",
"diameter_mm": 5.5,
"depth_mm": 10.0,
"end_condition": {
"solidworks_code": 1,
"type": "through_all"
},
"positions": [
{
"mm": [
85.0,
24.0,
0.0
]
},
{
"mm": [
40.0,
24.0,
0.0
]
},
{
"mm": [
-40.0,
24.0,
0.0
]
},
{
"mm": [
-85.0,
24.0,
0.0
]
},
{
"mm": [
-50.0,
3.0,
0.0
]
},
{
"mm": [
-50.0,
-20.0,
0.0
]
},
{
"mm": [
50.0,
3.0,
0.0
]
},
{
"mm": [
50.0,
-20.0,
0.0
]
}
],
"counterbore": {
"diameter_mm": 9.5,
"depth_mm": 5.4
}
},
"execution_status": "deferred",
"unresolved": [
"hole has no captured semantic selections"
]
},
{
"id": "f_007",
"name": "Ø5.0 (5) 直径孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004"
],
"params": {
"hole_type": "钻孔大小",
"diameter_mm": 5.0,
"depth_mm": 10.0,
"end_condition": {
"solidworks_code": 1,
"type": "through_all"
},
"positions": [
{
"mm": [
62.5,
24.0,
0.0
]
},
{
"mm": [
-62.5,
24.0,
0.0
]
}
]
},
"execution_status": "deferred",
"unresolved": [
"hole has no captured semantic selections"
]
},
{
"id": "f_008",
"name": "切除-拉伸1",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 42.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_003"
},
{
"id": "f_010",
"name": "切除-拉伸2",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 38.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_004"
},
{
"id": "f_009",
"name": "阵列(线性)1",
"atomic_id": "pattern_linear",
"depends_on": [
"f_008",
"f_004"
],
"params": {
"source_feature_ids": [
"f_008",
"f_004"
],
"direction_1": [
1.0,
0.0,
0.0
],
"spacing_1_mm": 85.0,
"pattern_count_1": 3
},
"execution_status": "deferred"
}
],
"meta": {
"unit": "mm",
"source": "107008.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete_with_blockers",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.10588383905533989,
"volume": 0.0001058838390553399,
"surface_area": 0.03276776946334258,
"center_of_mass": [
1.5469763552823232e-17,
0.004955779562465024,
-0.00015206051373452883
],
"principal_moments": [
3.293794014119379e-05,
0.0003337033990715851,
0.00036487460667654304
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.1,
-1.734723475976807e-18,
-0.030000000000000002,
0.10000000000000002,
0.010000000000000016,
0.029999999999999995
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "切除-拉伸2",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAYAAABvAAAAbgAAAG0AAABsAAAAawAAAGoAAAA=",
"persist_reference_sha256": "0700f756110bac580a894a776e7fad79b4c66f1a06972cbecee080a0df0d2cc3",
"component": null,
"geometry": {
"box": [
-0.1,
-1.2491397351302974e-18,
-0.030000000000000002,
0.10000000000000002,
0.010000000000000016,
0.029999999999999995
],
"face_count": 66,
"edge_count": 150,
"vertex_count": 76
},
"stable_id": "0700f756110bac580a894a776e7fad79b4c66f1a06972cbecee080a0df0d2cc3"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 92,
"surface_counts": {
"cylinder": 60,
"plane": 32
},
"axis_count": 60,
"repeat_spacings_mm": [
{
"spacing_mm": 85.0,
"pair_count": 8
},
{
"spacing_mm": 88.3233,
"pair_count": 8
},
{
"spacing_mm": 85.3756,
"pair_count": 8
},
{
"spacing_mm": 24.0,
"pair_count": 6
},
{
"spacing_mm": 8.0,
"pair_count": 6
},
{
"spacing_mm": 170.0,
"pair_count": 5
},
{
"spacing_mm": 171.6858,
"pair_count": 4
},
{
"spacing_mm": 170.1881,
"pair_count": 4
},
{
"spacing_mm": 86.4928,
"pair_count": 4
},
{
"spacing_mm": 90.824,
"pair_count": 4
},
{
"spacing_mm": 24.6221,
"pair_count": 4
},
{
"spacing_mm": 16.0,
"pair_count": 3
}
],
"metrics": {
"bounding_box_mm": [
-100.0,
-0.0,
-30.0,
100.0,
10.0,
30.0
],
"volume_mm3": 105883.83905534,
"surface_area_mm2": 32767.769463343,
"solid_count": 1,
"face_count": 92,
"edge_count": 246,
"vertex_count": 164
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-100.0,
-0.0,
-30.0,
100.0,
10.0,
30.0
],
"volume_mm3": 105883.83905534,
"surface_area_mm2": 32767.769463343,
"solid_count": 1,
"face_count": 66,
"edge_count": 150,
"vertex_count": 76
},
"comparisons": {
"volume_mm3": {
"expected": 105883.83905534,
"actual": 105883.83905534,
"absolute_delta": 0.0,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 32767.769463343,
"actual": 32767.769463343,
"absolute_delta": 0.0,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-100.0,
-0.0,
-30.0,
100.0,
10.0,
30.0
],
"actual": [
-100.0,
-0.0,
-30.0,
100.0,
10.0,
30.0
],
"max_absolute_delta": 0.0,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 66,
"actual": 92,
"matches": false
},
"edge_count": {
"expected": 150,
"actual": 246,
"matches": false
},
"vertex_count": {
"expected": 76,
"actual": 164,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}