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

1102 lines
24 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "163197",
"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": [
0.0,
0.0,
1.0
],
"y_dir": [
0.707106781,
0.0,
-0.707106781
],
"normal": [
-0.0,
1.0,
0.0
]
},
"profile": {
"type": "analytic_contours",
"contours": [
{
"role": "outer",
"closed": true,
"segments": [
{
"type": "line",
"start": [
-87.0,
-17.95
],
"end": [
87.0,
-17.95
]
},
{
"type": "line",
"start": [
87.0,
-17.95
],
"end": [
87.0,
17.95
]
},
{
"type": "line",
"start": [
87.0,
17.95
],
"end": [
-87.0,
17.95
]
},
{
"type": "line",
"start": [
-87.0,
17.95
],
"end": [
-87.0,
-17.95
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
-87.0,
-17.95
],
"end": [
87.0,
17.95
]
},
{
"type": "line",
"start": [
-87.0,
17.95
],
"end": [
87.0,
-17.95
]
}
]
}
},
{
"id": "sk_003",
"name": "草图3",
"role": "profile",
"workplane": {
"origin_mm": [
-0.0,
-0.0,
-0.0
],
"x_dir": [
0.0,
0.0,
1.0
],
"y_dir": [
0.707106781,
0.0,
-0.707106781
],
"normal": [
-0.0,
1.0,
0.0
]
},
"profile": {
"type": "analytic_contours",
"contours": [
{
"role": "outer",
"closed": true,
"segments": [
{
"type": "arc",
"start": [
-64.0,
25.942557937
],
"end": [
-70.0,
25.942557937
],
"center": [
-67.0,
25.942557937
],
"radius_mm": 3.0,
"clockwise": false
},
{
"type": "line",
"start": [
-70.0,
25.942557937
],
"end": [
-70.0,
14.95
]
},
{
"type": "arc",
"start": [
-70.0,
14.95
],
"end": [
-64.0,
14.95
],
"center": [
-67.0,
14.95
],
"radius_mm": 3.0,
"clockwise": false
},
{
"type": "line",
"start": [
-64.0,
14.95
],
"end": [
-64.0,
25.942557937
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
-67.0,
25.942557937
],
"end": [
-67.0,
14.95
]
}
]
}
},
{
"id": "sk_004",
"name": "草图4",
"role": "profile",
"workplane": {
"origin_mm": [
-0.0,
-0.0,
-0.0
],
"x_dir": [
0.0,
0.0,
1.0
],
"y_dir": [
0.707106781,
0.0,
-0.707106781
],
"normal": [
-0.0,
1.0,
0.0
]
},
"profile": {
"type": "analytic_contours",
"contours": [
{
"role": "outer",
"closed": true,
"segments": [
{
"type": "line",
"start": [
-72.0,
17.95
],
"end": [
-62.0,
17.95
]
},
{
"type": "line",
"start": [
-62.0,
17.95
],
"end": [
-62.0,
-17.95
]
},
{
"type": "line",
"start": [
-62.0,
-17.95
],
"end": [
-72.0,
-17.95
]
},
{
"type": "line",
"start": [
-72.0,
-17.95
],
"end": [
-72.0,
17.95
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
-67.0,
14.95
],
"end": [
-67.0,
-9.324355157
]
}
]
}
},
{
"id": "sk_005",
"name": "草图5",
"role": "profile",
"workplane": {
"origin_mm": [
-0.0,
-0.0,
-0.0
],
"x_dir": [
0.0,
0.0,
1.0
],
"y_dir": [
0.707106781,
0.0,
-0.707106781
],
"normal": [
-0.0,
1.0,
0.0
]
},
"profile": {
"type": "analytic_contours",
"contours": [
{
"role": "outer",
"closed": true,
"segments": [
{
"type": "line",
"start": [
83.0,
2.75
],
"end": [
87.0,
2.75
]
},
{
"type": "line",
"start": [
87.0,
2.75
],
"end": [
87.0,
-2.75
]
},
{
"type": "line",
"start": [
87.0,
-2.75
],
"end": [
83.0,
-2.75
]
},
{
"type": "line",
"start": [
83.0,
-2.75
],
"end": [
83.0,
-4.5
]
},
{
"type": "line",
"start": [
83.0,
-4.5
],
"end": [
77.8,
-4.5
]
},
{
"type": "line",
"start": [
77.8,
-4.5
],
"end": [
77.8,
4.5
]
},
{
"type": "line",
"start": [
77.8,
4.5
],
"end": [
83.0,
4.5
]
},
{
"type": "line",
"start": [
83.0,
4.5
],
"end": [
83.0,
2.75
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
38.719079176,
0.0
]
}
]
}
},
{
"id": "sk_006",
"name": "草图6",
"role": "profile",
"workplane": {
"origin_mm": [
-0.0,
-0.0,
-0.0
],
"x_dir": [
0.0,
0.0,
1.0
],
"y_dir": [
0.707106781,
0.0,
-0.707106781
],
"normal": [
-0.0,
1.0,
0.0
]
},
"profile": {
"type": "analytic_contours",
"contours": [
{
"role": "outer",
"closed": true,
"segments": [
{
"type": "arc",
"start": [
-63.5,
5.95
],
"end": [
-70.5,
5.95
],
"center": [
-67.0,
5.95
],
"radius_mm": 3.5,
"clockwise": false
},
{
"type": "line",
"start": [
-70.5,
5.95
],
"end": [
-70.5,
-6.05
]
},
{
"type": "arc",
"start": [
-70.5,
-6.05
],
"end": [
-63.5,
-6.05
],
"center": [
-67.0,
-6.05
],
"radius_mm": 3.5,
"clockwise": false
},
{
"type": "line",
"start": [
-63.5,
-6.05
],
"end": [
-63.5,
5.95
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
-67.0,
5.95
],
"end": [
-67.0,
-6.05
]
},
{
"type": "line",
"start": [
-67.0,
10.917368234
],
"end": [
-67.0,
14.95
]
}
]
}
}
]
},
"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_003"
],
"params": {
"distance_mm": 20.0,
"reverse": false,
"end_condition": {
"type": "through_all_and_blind",
"solidworks_code": 6
}
},
"execution_status": "deferred",
"sketch_id": "sk_002"
},
{
"id": "f_005",
"name": "切除-拉伸1",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 27.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_003"
},
{
"id": "f_008",
"name": "切除-拉伸3",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 98.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_005"
},
{
"id": "f_006",
"name": "切除-拉伸2",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_004",
"f_005"
],
"params": {
"distance_mm": 3.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_004"
},
{
"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": 14.0,
"pattern_count_1": 2
},
"execution_status": "deferred"
},
{
"id": "f_010",
"name": "切除-拉伸4",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_006",
"f_004",
"f_005"
],
"params": {
"distance_mm": 6.2,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_006"
},
{
"id": "f_009",
"name": "阵列(线性)2",
"atomic_id": "pattern_linear",
"depends_on": [
"f_007",
"f_004"
],
"params": {
"source_feature_ids": [
"f_007",
"f_004"
],
"direction_1": [
0.0,
0.0,
-1.0
],
"spacing_1_mm": 40.0,
"pattern_count_1": 4
},
"execution_status": "deferred"
},
{
"id": "f_011",
"name": "阵列(线性)3",
"atomic_id": "pattern_linear",
"depends_on": [
"f_010",
"f_004"
],
"params": {
"source_feature_ids": [
"f_010",
"f_004"
],
"direction_1": [
0.0,
0.0,
-1.0
],
"spacing_1_mm": 14.0,
"pattern_count_1": 2
},
"execution_status": "deferred"
},
{
"id": "f_012",
"name": "阵列(线性)4",
"atomic_id": "pattern_linear",
"depends_on": [
"f_011",
"f_004"
],
"params": {
"source_feature_ids": [
"f_011",
"f_004"
],
"direction_1": [
0.0,
0.0,
-1.0
],
"spacing_1_mm": 40.0,
"pattern_count_1": 4
},
"execution_status": "deferred"
}
],
"meta": {
"unit": "mm",
"source": "163197.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete_with_blockers",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.10449411359968187,
"volume": 0.00010449411359968187,
"surface_area": 0.025551536100932477,
"center_of_mass": [
-0.0008648661484021838,
-0.0006341173101270289,
0.0010780932640051242
],
"principal_moments": [
1.444365866360895e-05,
0.00026986992945454886,
0.0002779452426342405
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.01,
-0.01795,
-0.08699999999999997,
0.01,
0.01795,
0.08700000000000002
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "阵列(线性)4",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAkAAAByAAAAcQAAAHAAAABvAAAAbgAAAG0AAABsAAAAawAAAGoAAAA=",
"persist_reference_sha256": "b3aa29f6645447da4be94a8952ad2e597fbb709645d6ccca0a3e3a0d5e52c64f",
"component": null,
"geometry": {
"box": [
-0.01,
-0.01795,
-0.08699999999999997,
0.01,
0.01795,
0.08700000000000002
],
"face_count": 118,
"edge_count": 324,
"vertex_count": 216
},
"stable_id": "b3aa29f6645447da4be94a8952ad2e597fbb709645d6ccca0a3e3a0d5e52c64f"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 118,
"surface_counts": {
"cylinder": 24,
"plane": 94
},
"axis_count": 24,
"repeat_spacings_mm": [
{
"spacing_mm": 40.0,
"pair_count": 18
},
{
"spacing_mm": 14.0,
"pair_count": 12
},
{
"spacing_mm": 80.0,
"pair_count": 12
},
{
"spacing_mm": 44.6972,
"pair_count": 12
},
{
"spacing_mm": 48.5576,
"pair_count": 12
},
{
"spacing_mm": 41.7612,
"pair_count": 12
},
{
"spacing_mm": 54.0,
"pair_count": 9
},
{
"spacing_mm": 26.0,
"pair_count": 9
},
{
"spacing_mm": 82.449,
"pair_count": 8
},
{
"spacing_mm": 84.604,
"pair_count": 8
},
{
"spacing_mm": 24.3688,
"pair_count": 8
},
{
"spacing_mm": 30.8843,
"pair_count": 8
}
],
"metrics": {
"bounding_box_mm": [
-10.0,
-17.95,
-87.0,
10.0,
17.95,
87.0
],
"volume_mm3": 104494.113599682,
"surface_area_mm2": 25551.536100933,
"solid_count": 1,
"face_count": 118,
"edge_count": 324,
"vertex_count": 216
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-10.0,
-17.95,
-87.0,
10.0,
17.95,
87.0
],
"volume_mm3": 104494.113599682,
"surface_area_mm2": 25551.536100932,
"solid_count": 1,
"face_count": 118,
"edge_count": 324,
"vertex_count": 216
},
"comparisons": {
"volume_mm3": {
"expected": 104494.113599682,
"actual": 104494.113599682,
"absolute_delta": 0.0,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 25551.536100932,
"actual": 25551.536100933,
"absolute_delta": 1.000444171950221e-09,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-10.0,
-17.95,
-87.0,
10.0,
17.95,
87.0
],
"actual": [
-10.0,
-17.95,
-87.0,
10.0,
17.95,
87.0
],
"max_absolute_delta": 0.0,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 118,
"actual": 118,
"matches": true
},
"edge_count": {
"expected": 324,
"actual": 324,
"matches": true
},
"vertex_count": {
"expected": 216,
"actual": 216,
"matches": true
}
},
"numeric_geometry_match": true,
"topology_counts_match": true
}
},
"source_has_modeling_features": true
}
}