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

1230 lines
28 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "196689",
"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": [
-72.0,
72.0
],
"end": [
72.0,
72.0
]
},
{
"type": "line",
"start": [
72.0,
72.0
],
"end": [
72.0,
-72.0
]
},
{
"type": "line",
"start": [
72.0,
-72.0
],
"end": [
-72.0,
-72.0
]
},
{
"type": "line",
"start": [
-72.0,
-72.0
],
"end": [
-72.0,
72.0
]
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "circle",
"center": [
0.0,
0.0
],
"radius_mm": 72.0
}
]
}
],
"construction": [
{
"type": "line",
"start": [
-72.0,
72.0
],
"end": [
72.0,
-72.0
]
},
{
"type": "line",
"start": [
-72.0,
-72.0
],
"end": [
72.0,
72.0
]
}
]
}
},
{
"id": "sk_003",
"name": "草图2",
"role": "profile",
"workplane": {
"origin_mm": [
166.5,
-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": "circles",
"items": [
{
"center": [
50.857864376,
-65.0
],
"radius_mm": 4.25
},
{
"center": [
65.0,
-50.857864376
],
"radius_mm": 4.25
}
]
}
},
{
"id": "sk_004",
"name": "草图3",
"role": "profile",
"workplane": {
"origin_mm": [
166.5,
-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": [
71.30217388,
-72.0
],
"end": [
71.30217388,
-10.0
]
}
]
}
]
}
},
{
"id": "sk_005",
"name": "草图6",
"role": "profile",
"workplane": {
"origin_mm": [
-166.5,
-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": [
-71.30217388,
-54.455185433
],
"end": [
-53.757359313,
-72.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
-65.0,
-50.857864376
],
"end": [
-50.857864376,
-65.0
]
},
{
"type": "line",
"start": [
-57.928932188,
-57.928932188
],
"end": [
-63.136702628,
-63.136702628
]
}
]
}
},
{
"id": "sk_006",
"name": "草图7",
"role": "profile",
"workplane": {
"origin_mm": [
-166.5,
-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": "circles",
"items": [
{
"center": [
-67.30217388,
-35.0
],
"radius_mm": 2.5
},
{
"center": [
-37.757359313,
-68.5
],
"radius_mm": 2.5
}
]
}
},
{
"id": "sk_007",
"name": "草图8",
"role": "profile",
"workplane": {
"origin_mm": [
-0.0,
-0.0,
0.0
],
"x_dir": [
0.0,
0.707106781,
0.707106781
],
"y_dir": [
0.5,
-0.5,
-0.707106781
],
"normal": [
-0.281084637,
0.678598345,
-0.678598345
]
},
"profile": {
"type": "circles",
"items": [
{
"center": [
-129.5,
-0.493437582
],
"radius_mm": 2.1
},
{
"center": [
-92.5,
-0.493437582
],
"radius_mm": 2.1
}
]
}
},
{
"id": "sk_008",
"name": "草图9",
"role": "profile",
"workplane": {
"origin_mm": [
-0.0,
-0.0,
0.0
],
"x_dir": [
0.0,
0.707106781,
0.707106781
],
"y_dir": [
0.5,
-0.5,
-0.707106781
],
"normal": [
-0.281084637,
0.678598345,
-0.678598345
]
},
"profile": {
"type": "analytic_contours",
"contours": [
{
"role": "outer",
"closed": true,
"segments": [
{
"type": "line",
"start": [
-90.334936491,
3.256562418
],
"end": [
-94.665063509,
3.256562418
]
},
{
"type": "line",
"start": [
-94.665063509,
3.256562418
],
"end": [
-96.830127019,
-0.493437582
]
},
{
"type": "line",
"start": [
-96.830127019,
-0.493437582
],
"end": [
-94.665063509,
-4.243437582
]
},
{
"type": "line",
"start": [
-94.665063509,
-4.243437582
],
"end": [
-90.334936491,
-4.243437582
]
},
{
"type": "line",
"start": [
-90.334936491,
-4.243437582
],
"end": [
-88.169872981,
-0.493437582
]
},
{
"type": "line",
"start": [
-88.169872981,
-0.493437582
],
"end": [
-90.334936491,
3.256562418
]
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "line",
"start": [
-127.334936491,
3.256562418
],
"end": [
-131.665063509,
3.256562418
]
},
{
"type": "line",
"start": [
-131.665063509,
3.256562418
],
"end": [
-133.830127019,
-0.493437582
]
},
{
"type": "line",
"start": [
-133.830127019,
-0.493437582
],
"end": [
-131.665063509,
-4.243437582
]
},
{
"type": "line",
"start": [
-131.665063509,
-4.243437582
],
"end": [
-127.334936491,
-4.243437582
]
},
{
"type": "line",
"start": [
-127.334936491,
-4.243437582
],
"end": [
-125.169872981,
-0.493437582
]
},
{
"type": "line",
"start": [
-125.169872981,
-0.493437582
],
"end": [
-127.334936491,
3.256562418
]
}
]
}
],
"construction": [
{
"type": "circle",
"center": [
-92.5,
-0.493437582
],
"radius_mm": 3.75
},
{
"type": "circle",
"center": [
-129.5,
-0.493437582
],
"radius_mm": 3.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": 333.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": "切除-拉伸1",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 0.0,
"reverse": false,
"end_condition": {
"type": "through_all",
"solidworks_code": 1
}
},
"execution_status": "supported",
"sketch_id": "sk_003"
},
{
"id": "f_006",
"name": "切除-拉伸2",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 0.0,
"reverse": true,
"end_condition": {
"type": "through_all",
"solidworks_code": 1
},
"reverse_distance_mm": 0.0,
"reverse_end_condition": {
"type": "through_all",
"solidworks_code": 1
}
},
"execution_status": "deferred",
"sketch_id": "sk_004"
},
{
"id": "f_007",
"name": "切除-拉伸4",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_004",
"f_006",
"f_005"
],
"params": {
"distance_mm": 0.0,
"reverse": false,
"end_condition": {
"type": "through_all",
"solidworks_code": 1
},
"reverse_distance_mm": 0.0,
"reverse_end_condition": {
"type": "through_all",
"solidworks_code": 1
}
},
"execution_status": "deferred",
"sketch_id": "sk_005"
},
{
"id": "f_014",
"name": "圆角2",
"atomic_id": "fillet",
"depends_on": [
"f_006",
"f_004"
],
"params": {
"radius_mm": 0.4,
"tangent_propagation": false
},
"execution_status": "deferred"
},
{
"id": "f_008",
"name": "切除-拉伸5",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_004",
"f_006",
"f_007"
],
"params": {
"distance_mm": 0.0,
"reverse": false,
"end_condition": {
"type": "through_all",
"solidworks_code": 1
}
},
"execution_status": "supported",
"sketch_id": "sk_006"
},
{
"id": "f_009",
"name": "切除-拉伸6",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_007",
"f_004"
],
"params": {
"distance_mm": 50.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "supported",
"sketch_id": "sk_007"
},
{
"id": "f_010",
"name": "基准面1",
"atomic_id": "reference_plane",
"depends_on": [
"f_007"
],
"params": {
"plane": {
"origin_mm": [
14.14213562,
-14.14213562,
-0.0
],
"x_dir": [
0.0,
-0.0,
1.0
],
"normal": [
-0.707106781,
0.707106781,
0.0
]
},
"offset_mm": 20.0,
"angle_rad": 0.0,
"reverse": true,
"solidworks_type": 5,
"references": [
{
"kind": "feature",
"stable_id": "c1b851a6f28faa4202f93631ebeeb29ebb7a4b36c44014bbba41ceebae7f55c8",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_007"
},
{
"kind": "face",
"stable_id": "1ca33d63b3043b8a4304c1c0694f79b5ad921413e36967082cacc3a5d4143017",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"surface": {
"type": "plane",
"parameters": [
-0.7071067811865472,
0.7071067811865478,
0.0,
0.07130217387990355,
-0.054455185432977185,
-1.0154324037328073
]
},
"box": [
0.05375735931288071,
-0.07200000000000001,
-0.1665,
0.07130217387990355,
-0.054455185432977185,
0.1665000000000001
],
"area": 0.008234725351226914
}
}
]
},
"execution_status": "deferred",
"selectors": [
{
"kind": "feature",
"stable_id": "c1b851a6f28faa4202f93631ebeeb29ebb7a4b36c44014bbba41ceebae7f55c8",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_007"
},
{
"kind": "face",
"stable_id": "1ca33d63b3043b8a4304c1c0694f79b5ad921413e36967082cacc3a5d4143017",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"surface": {
"type": "plane",
"parameters": [
-0.7071067811865472,
0.7071067811865478,
0.0,
0.07130217387990355,
-0.054455185432977185,
-1.0154324037328073
]
},
"box": [
0.05375735931288071,
-0.07200000000000001,
-0.1665,
0.07130217387990355,
-0.054455185432977185,
0.1665000000000001
],
"area": 0.008234725351226914
}
}
]
},
{
"id": "f_013",
"name": "圆角1",
"atomic_id": "fillet",
"depends_on": [
"f_007",
"f_006",
"f_004"
],
"params": {
"radius_mm": 7.0,
"tangent_propagation": false
},
"execution_status": "deferred"
},
{
"id": "f_011",
"name": "切除-拉伸7",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_010",
"f_007",
"f_004",
"f_009"
],
"params": {
"distance_mm": 8.0,
"reverse": true,
"end_condition": {
"type": "offset_from_surface",
"solidworks_code": 5
}
},
"execution_status": "deferred",
"sketch_id": "sk_008"
},
{
"id": "f_012",
"name": "阵列(线性)1",
"atomic_id": "pattern_linear",
"depends_on": [
"f_007",
"f_006",
"f_011",
"f_009"
],
"params": {
"source_feature_ids": [
"f_007",
"f_006",
"f_011",
"f_009"
],
"direction_1": [
0.0,
0.0,
1.0
],
"spacing_1_mm": 111.0,
"pattern_count_1": 3
},
"execution_status": "deferred"
}
],
"meta": {
"unit": "mm",
"source": "196689.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete_with_blockers",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.24780141079340626,
"volume": 0.00024780141079340626,
"surface_area": 0.0972630598780542,
"center_of_mass": [
0.052986894338649455,
-0.05474755742276615,
6.914858608303993e-17
],
"principal_moments": [
9.250113303646738e-05,
0.002302896413199962,
0.002373817310088441
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
0.01033312629199888,
-0.07200000000000001,
-0.1665,
0.07130217387990355,
-0.01425065660999264,
0.16650000000000006
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "圆角2",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAgAAABzAAAAcgAAAHEAAABwAAAAbwAAAG0AAABrAAAAagAAAA==",
"persist_reference_sha256": "2c0175a1a544b66675f96d9d7f42a861ef16ba58e560b7f4084d05c70bf2755a",
"component": null,
"geometry": {
"box": [
0.01033312629199888,
-0.07200000000000001,
-0.1665,
0.07130217387990355,
-0.014250656609992642,
0.16650000000000006
],
"face_count": 62,
"edge_count": 152,
"vertex_count": 88
},
"stable_id": "2c0175a1a544b66675f96d9d7f42a861ef16ba58e560b7f4084d05c70bf2755a"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 73,
"surface_counts": {
"cylinder": 26,
"plane": 47
},
"axis_count": 26,
"repeat_spacings_mm": [
{
"spacing_mm": 111.0,
"pair_count": 4
},
{
"spacing_mm": 37.0,
"pair_count": 3
},
{
"spacing_mm": 72.4,
"pair_count": 2
},
{
"spacing_mm": 343.0751,
"pair_count": 2
},
{
"spacing_mm": 262.7173,
"pair_count": 2
},
{
"spacing_mm": 299.258,
"pair_count": 2
},
{
"spacing_mm": 154.413,
"pair_count": 2
},
{
"spacing_mm": 86.1126,
"pair_count": 2
},
{
"spacing_mm": 57.5185,
"pair_count": 2
},
{
"spacing_mm": 190.1693,
"pair_count": 2
},
{
"spacing_mm": 222.0,
"pair_count": 2
},
{
"spacing_mm": 74.0,
"pair_count": 2
}
],
"metrics": {
"bounding_box_mm": [
10.333126292,
-72.0,
-166.5000001,
71.30217388,
-14.25065661,
166.5000001
],
"volume_mm3": 247801.410793426,
"surface_area_mm2": 97263.059878056,
"solid_count": 1,
"face_count": 73,
"edge_count": 195,
"vertex_count": 130
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
10.333126292,
-72.0,
-166.5,
71.30217388,
-14.25065661,
166.5
],
"volume_mm3": 247801.410793406,
"surface_area_mm2": 97263.059878054,
"solid_count": 1,
"face_count": 62,
"edge_count": 152,
"vertex_count": 88
},
"comparisons": {
"volume_mm3": {
"expected": 247801.410793406,
"actual": 247801.410793426,
"absolute_delta": 2.0023435354232788e-08,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 97263.059878054,
"actual": 97263.059878056,
"absolute_delta": 1.9936123862862587e-09,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
10.333126292,
-72.0,
-166.5,
71.30217388,
-14.25065661,
166.5
],
"actual": [
10.333126292,
-72.0,
-166.5000001,
71.30217388,
-14.25065661,
166.5000001
],
"max_absolute_delta": 9.999999406318238e-08,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 62,
"actual": 73,
"matches": false
},
"edge_count": {
"expected": 152,
"actual": 195,
"matches": false
},
"vertex_count": {
"expected": 88,
"actual": 130,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}