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

1799 lines
40 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "120019",
"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": [
-15.0,
0.0
],
"end": [
15.0,
0.0
]
},
{
"type": "line",
"start": [
15.0,
0.0
],
"end": [
17.0,
2.0
]
},
{
"type": "line",
"start": [
17.0,
2.0
],
"end": [
17.0,
10.0
]
},
{
"type": "line",
"start": [
17.0,
10.0
],
"end": [
14.0,
13.0
]
},
{
"type": "line",
"start": [
14.0,
13.0
],
"end": [
14.0,
16.0
]
},
{
"type": "line",
"start": [
14.0,
16.0
],
"end": [
17.0,
19.0
]
},
{
"type": "line",
"start": [
17.0,
19.0
],
"end": [
17.0,
27.0
]
},
{
"type": "line",
"start": [
17.0,
27.0
],
"end": [
15.0,
29.0
]
},
{
"type": "line",
"start": [
15.0,
29.0
],
"end": [
-15.0,
29.0
]
},
{
"type": "line",
"start": [
-15.0,
29.0
],
"end": [
-17.0,
27.0
]
},
{
"type": "line",
"start": [
-17.0,
27.0
],
"end": [
-17.0,
19.0
]
},
{
"type": "line",
"start": [
-17.0,
19.0
],
"end": [
-14.0,
16.0
]
},
{
"type": "line",
"start": [
-14.0,
16.0
],
"end": [
-14.0,
13.0
]
},
{
"type": "line",
"start": [
-14.0,
13.0
],
"end": [
-17.0,
10.0
]
},
{
"type": "line",
"start": [
-17.0,
10.0
],
"end": [
-17.0,
2.0
]
},
{
"type": "line",
"start": [
-17.0,
2.0
],
"end": [
-15.0,
0.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
0.0,
74.400071942
]
}
]
}
},
{
"id": "sk_003",
"name": "草图2",
"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": "circle",
"center": [
0.0,
-2280.0
],
"radius_mm": 4.5
}
},
{
"id": "sk_004",
"name": "草图3",
"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": "circle",
"center": [
0.0,
-2280.0
],
"radius_mm": 7.0
}
},
{
"id": "sk_005",
"name": "草图4",
"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": [
-41.458932168,
14.743630493
],
"end": [
36.71423644,
14.743630493
]
},
{
"type": "line",
"start": [
36.71423644,
14.743630493
],
"end": [
36.71423644,
-20.0
]
},
{
"type": "line",
"start": [
36.71423644,
-20.0
],
"end": [
-41.458932168,
-20.0
]
},
{
"type": "line",
"start": [
-41.458932168,
-20.0
],
"end": [
-41.458932168,
14.743630493
]
}
]
}
]
}
},
{
"id": "sk_006",
"name": "草图5",
"role": "profile",
"workplane": {
"origin_mm": [
5600.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": [
-17.0,
2.0
],
"end": [
-15.0,
0.0
]
},
{
"type": "line",
"start": [
-15.0,
0.0
],
"end": [
15.0,
0.0
]
},
{
"type": "line",
"start": [
15.0,
0.0
],
"end": [
17.0,
2.0
]
},
{
"type": "line",
"start": [
17.0,
2.0
],
"end": [
17.0,
10.0
]
},
{
"type": "line",
"start": [
17.0,
10.0
],
"end": [
14.0,
13.0
]
},
{
"type": "line",
"start": [
14.0,
13.0
],
"end": [
14.0,
16.0
]
},
{
"type": "line",
"start": [
14.0,
16.0
],
"end": [
17.0,
19.0
]
},
{
"type": "line",
"start": [
17.0,
19.0
],
"end": [
17.0,
27.0
]
},
{
"type": "line",
"start": [
17.0,
27.0
],
"end": [
15.0,
29.0
]
},
{
"type": "line",
"start": [
15.0,
29.0
],
"end": [
-15.0,
29.0
]
},
{
"type": "line",
"start": [
-15.0,
29.0
],
"end": [
-17.0,
27.0
]
},
{
"type": "line",
"start": [
-17.0,
27.0
],
"end": [
-17.0,
19.0
]
},
{
"type": "line",
"start": [
-17.0,
19.0
],
"end": [
-14.0,
16.0
]
},
{
"type": "line",
"start": [
-14.0,
16.0
],
"end": [
-14.0,
13.0
]
},
{
"type": "line",
"start": [
-14.0,
13.0
],
"end": [
-17.0,
10.0
]
},
{
"type": "line",
"start": [
-17.0,
10.0
],
"end": [
-17.0,
2.0
]
}
]
}
]
}
},
{
"id": "sk_007",
"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": "line",
"start": [
-40.486455063,
-5580.0
],
"end": [
55.66019688,
-5580.0
]
},
{
"type": "line",
"start": [
55.66019688,
-5580.0
],
"end": [
55.66019688,
-5651.38160523
]
},
{
"type": "line",
"start": [
55.66019688,
-5651.38160523
],
"end": [
-40.486455063,
-5651.38160523
]
},
{
"type": "line",
"start": [
-40.486455063,
-5651.38160523
],
"end": [
-40.486455063,
-5580.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
0.0,
-5560.0
],
"end": [
30.770795346,
-5560.0
]
}
]
}
},
{
"id": "sk_008",
"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": "line",
"start": [
-307.043144963,
-3680.0
],
"end": [
634.555832924,
-3680.0
]
},
{
"type": "line",
"start": [
634.555832924,
-3680.0
],
"end": [
634.555832924,
-6163.637883702
]
},
{
"type": "line",
"start": [
634.555832924,
-6163.637883702
],
"end": [
-307.043144963,
-6163.637883702
]
},
{
"type": "line",
"start": [
-307.043144963,
-6163.637883702
],
"end": [
-307.043144963,
-3680.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
0.0,
-3880.0
],
"end": [
53.816190502,
-3880.0
]
}
]
}
},
{
"id": "sk_009",
"name": "草图8",
"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": [
-33.65507474,
-3670.0
],
"end": [
56.677864723,
-3670.0
]
},
{
"type": "line",
"start": [
56.677864723,
-3670.0
],
"end": [
56.677864723,
-3722.867665031
]
},
{
"type": "line",
"start": [
56.677864723,
-3722.867665031
],
"end": [
-33.65507474,
-3722.867665031
]
},
{
"type": "line",
"start": [
-33.65507474,
-3722.867665031
],
"end": [
-33.65507474,
-3670.0
]
}
]
}
]
}
},
{
"id": "sk_010",
"name": "草图9",
"role": "profile",
"workplane": {
"origin_mm": [
20.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": [
-15.0,
29.0
],
"end": [
15.0,
29.0
]
},
{
"type": "line",
"start": [
15.0,
29.0
],
"end": [
17.0,
27.0
]
},
{
"type": "line",
"start": [
17.0,
27.0
],
"end": [
17.0,
19.0
]
},
{
"type": "line",
"start": [
17.0,
19.0
],
"end": [
14.0,
16.0
]
},
{
"type": "line",
"start": [
14.0,
16.0
],
"end": [
14.0,
13.0
]
},
{
"type": "line",
"start": [
14.0,
13.0
],
"end": [
17.0,
10.0
]
},
{
"type": "line",
"start": [
17.0,
10.0
],
"end": [
17.0,
2.0
]
},
{
"type": "line",
"start": [
17.0,
2.0
],
"end": [
15.0,
0.0
]
},
{
"type": "line",
"start": [
15.0,
0.0
],
"end": [
-15.0,
0.0
]
},
{
"type": "line",
"start": [
-15.0,
0.0
],
"end": [
-17.0,
2.0
]
},
{
"type": "line",
"start": [
-17.0,
2.0
],
"end": [
-17.0,
10.0
]
},
{
"type": "line",
"start": [
-17.0,
10.0
],
"end": [
-14.0,
13.0
]
},
{
"type": "line",
"start": [
-14.0,
13.0
],
"end": [
-14.0,
16.0
]
},
{
"type": "line",
"start": [
-14.0,
16.0
],
"end": [
-17.0,
19.0
]
},
{
"type": "line",
"start": [
-17.0,
19.0
],
"end": [
-17.0,
27.0
]
},
{
"type": "line",
"start": [
-17.0,
27.0
],
"end": [
-15.0,
29.0
]
}
]
}
]
}
},
{
"id": "sk_011",
"name": "草图10",
"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": "inner",
"closed": true,
"segments": [
{
"type": "line",
"start": [
-36.1960578,
7.267385215
],
"end": [
33.450757448,
7.267385215
]
},
{
"type": "line",
"start": [
33.450757448,
7.267385215
],
"end": [
33.450757448,
-20.0
]
},
{
"type": "line",
"start": [
33.450757448,
-20.0
],
"end": [
-36.1960578,
-20.0
]
},
{
"type": "line",
"start": [
-36.1960578,
-20.0
],
"end": [
-36.1960578,
7.267385215
]
}
]
},
{
"role": "outer",
"closed": true,
"segments": [
{
"type": "line",
"start": [
-36.1960578,
-3660.0
],
"end": [
46.196236511,
-3660.0
]
},
{
"type": "line",
"start": [
46.196236511,
-3660.0
],
"end": [
46.196236511,
-3716.193303982
]
},
{
"type": "line",
"start": [
46.196236511,
-3716.193303982
],
"end": [
-36.1960578,
-3716.193303982
]
},
{
"type": "line",
"start": [
-36.1960578,
-3716.193303982
],
"end": [
-36.1960578,
-3660.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": "extrude_add_blind",
"depends_on": [
"f_001"
],
"params": {
"distance_mm": 5600.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"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": "切除-拉伸1",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 2300.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "supported",
"sketch_id": "sk_003"
},
{
"id": "f_008",
"name": "切除-拉伸3",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 50.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_005"
},
{
"id": "f_009",
"name": "凸台-拉伸2",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 20.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_006"
},
{
"id": "f_006",
"name": "切除-拉伸2",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_004",
"f_005"
],
"params": {
"distance_mm": 12.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "supported",
"sketch_id": "sk_004"
},
{
"id": "f_014",
"name": "凸台-拉伸3",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_008",
"f_004"
],
"params": {
"distance_mm": 10.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_010"
},
{
"id": "f_007",
"name": "阵列(线性)1",
"atomic_id": "pattern_linear",
"depends_on": [
"f_004",
"f_006",
"f_005"
],
"params": {
"source_feature_ids": [
"f_004",
"f_006",
"f_005"
],
"direction_1": [
0.0,
0.0,
-1.0
],
"spacing_1_mm": 80.0,
"pattern_count_1": 29
},
"execution_status": "deferred"
},
{
"id": "f_010",
"name": "阵列(线性)3",
"atomic_id": "pattern_linear",
"depends_on": [
"f_004",
"f_006",
"f_005"
],
"params": {
"source_feature_ids": [
"f_004",
"f_006",
"f_005"
],
"direction_1": [
0.0,
0.0,
-1.0
],
"spacing_1_mm": 80.0,
"pattern_count_1": 42
},
"execution_status": "deferred"
},
{
"id": "f_011",
"name": "切除-拉伸4",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_004",
"f_010"
],
"params": {
"distance_mm": 50.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_007"
},
{
"id": "f_012",
"name": "切除-拉伸5",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_004",
"f_008",
"f_010"
],
"params": {
"distance_mm": 50.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_008"
},
{
"id": "f_013",
"name": "切除-拉伸6",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_004",
"f_012"
],
"params": {
"distance_mm": 50.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_009"
},
{
"id": "f_015",
"name": "切除-拉伸7",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_004",
"f_013",
"f_014"
],
"params": {
"distance_mm": 50.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_011"
}
],
"meta": {
"unit": "mm",
"source": "120019.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete_with_blockers",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 3.294157511439792,
"volume": 0.0032941575114397922,
"surface_area": 0.5020947173500289,
"center_of_mass": [
-7.611143660111734e-19,
0.014371352496189434,
1.8400000000000005
],
"principal_moments": [
0.0005393391163517396,
3.634207703033382,
3.6342765243275648
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.017,
0.0,
0.019999999999999574,
0.017,
0.029000000000000005,
3.6600000000000006
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "切除-拉伸7",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAwAAAB1AAAAdAAAAHMAAAByAAAAcQAAAG0AAABsAAAAawAAAGgAAABnAAAAZgAAAGUAAAA=",
"persist_reference_sha256": "967a773e175496ed0395a87b5751a7199fcc7b4724b1b3026bcc7b70458373f4",
"component": null,
"geometry": {
"box": [
-0.017,
0.0,
0.019999999999999574,
0.017,
0.029000000000000005,
3.6600000000000006
],
"face_count": 156,
"edge_count": 232,
"vertex_count": 32
},
"stable_id": "967a773e175496ed0395a87b5751a7199fcc7b4724b1b3026bcc7b70458373f4"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 248,
"surface_counts": {
"cylinder": 184,
"plane": 64
},
"axis_count": 184,
"repeat_spacings_mm": [
{
"spacing_mm": 80.0,
"pair_count": 90
},
{
"spacing_mm": 2289.3982,
"pair_count": 90
},
{
"spacing_mm": 160.0,
"pair_count": 88
},
{
"spacing_mm": 2293.5876,
"pair_count": 88
},
{
"spacing_mm": 240.0,
"pair_count": 86
},
{
"spacing_mm": 2300.553,
"pair_count": 86
},
{
"spacing_mm": 320.0,
"pair_count": 84
},
{
"spacing_mm": 2310.2692,
"pair_count": 84
},
{
"spacing_mm": 400.0,
"pair_count": 82
},
{
"spacing_mm": 2322.7019,
"pair_count": 82
},
{
"spacing_mm": 480.0,
"pair_count": 80
},
{
"spacing_mm": 2337.8075,
"pair_count": 80
}
],
"metrics": {
"bounding_box_mm": [
-17.0,
0.0,
20.0,
17.0,
29.0,
3660.0
],
"volume_mm3": 3294157.511439782,
"surface_area_mm2": 502094.71735003,
"solid_count": 1,
"face_count": 248,
"edge_count": 600,
"vertex_count": 400
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-17.0,
0.0,
20.0,
17.0,
29.0,
3660.0
],
"volume_mm3": 3294157.511439792,
"surface_area_mm2": 502094.717350029,
"solid_count": 1,
"face_count": 156,
"edge_count": 232,
"vertex_count": 32
},
"comparisons": {
"volume_mm3": {
"expected": 3294157.511439792,
"actual": 3294157.511439782,
"absolute_delta": 9.778887033462524e-09,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 502094.717350029,
"actual": 502094.71735003,
"absolute_delta": 1.0477378964424133e-09,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-17.0,
0.0,
20.0,
17.0,
29.0,
3660.0
],
"actual": [
-17.0,
0.0,
20.0,
17.0,
29.0,
3660.0
],
"max_absolute_delta": 0.0,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 156,
"actual": 248,
"matches": false
},
"edge_count": {
"expected": 232,
"actual": 600,
"matches": false
},
"vertex_count": {
"expected": 32,
"actual": 400,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}