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

998 lines
21 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "099726",
"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": [
-55.0,
25.0
],
"end": [
55.0,
25.0
]
},
{
"type": "line",
"start": [
55.0,
25.0
],
"end": [
55.0,
-25.0
]
},
{
"type": "line",
"start": [
55.0,
-25.0
],
"end": [
-55.0,
-25.0
]
},
{
"type": "line",
"start": [
-55.0,
-25.0
],
"end": [
-55.0,
25.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
0.0,
93.598265896
],
"end": [
0.0,
-106.078034682
]
},
{
"type": "line",
"start": [
-127.4309869,
0.0
],
"end": [
146.499937956,
0.0
]
}
]
}
},
{
"id": "sk_003",
"name": "草图2",
"role": "profile",
"workplane": {
"origin_mm": [
-5.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": "circle",
"center": [
40.0,
-6.0
],
"radius_mm": 8.5
}
},
{
"id": "sk_004",
"name": "草图3",
"role": "profile",
"workplane": {
"origin_mm": [
-5.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": true,
"segments": [
{
"type": "line",
"start": [
15.0,
32.5
],
"end": [
55.0,
32.5
]
},
{
"type": "line",
"start": [
55.0,
32.5
],
"end": [
55.0,
-26.0
]
},
{
"type": "line",
"start": [
55.0,
-26.0
],
"end": [
15.0,
-26.0
]
},
{
"type": "line",
"start": [
15.0,
-26.0
],
"end": [
15.0,
32.5
]
}
]
}
]
}
},
{
"id": "sk_005",
"name": "草图4",
"role": "profile",
"workplane": {
"origin_mm": [
5.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": [
45.0,
-13.0
],
"radius_mm": 3.5
},
{
"center": [
5.0,
-13.0
],
"radius_mm": 3.5
},
{
"center": [
25.0,
-13.0
],
"radius_mm": 2.5
}
]
}
},
{
"id": "sk_006",
"name": "草图8",
"role": "profile",
"workplane": {
"origin_mm": [
5.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": [
5.0,
5.0
],
"radius_mm": 5.0
},
{
"center": [
35.0,
5.0
],
"radius_mm": 5.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": 11.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": 15.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "supported",
"sketch_id": "sk_003"
},
{
"id": "f_007",
"name": "切除-拉伸3",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 16.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "supported",
"sketch_id": "sk_005"
},
{
"id": "f_008",
"name": "倒角1",
"atomic_id": "chamfer",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 3.0,
"angle_rad": 0.78539816339745
},
"execution_status": "deferred"
},
{
"id": "f_009",
"name": "Ø5.5 (5.5) 直径孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_001",
"f_004"
],
"params": {
"hole_type": "钻孔大小",
"diameter_mm": 5.5,
"depth_mm": 40.0,
"end_condition": {
"solidworks_code": 0,
"type": "blind"
},
"positions": [
{
"mm": [
35.0,
5.0,
-5.5
]
}
],
"host_face": {
"kind": "face",
"stable_id": "step-face-a70e419807a9c828462fe127",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
-15.0,
-25.0,
-5.5,
55.0,
25.0,
-5.5
],
"center_mm": [
19.764252079,
0.304244219,
-5.5
],
"normal": [
0.0,
-0.0,
-1.0
],
"surface_type": "plane"
}
}
},
"execution_status": "deferred",
"selectors": [
{
"kind": "face",
"stable_id": "step-face-a70e419807a9c828462fe127",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
-15.0,
-25.0,
-5.5,
55.0,
25.0,
-5.5
],
"center_mm": [
19.764252079,
0.304244219,
-5.5
],
"normal": [
0.0,
-0.0,
-1.0
],
"surface_type": "plane"
}
}
]
},
{
"id": "f_011",
"name": "M5 螺纹孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_001",
"f_004"
],
"params": {
"hole_type": "底部螺纹孔",
"diameter_mm": 5.0,
"depth_mm": 10.0,
"end_condition": {
"solidworks_code": 0,
"type": "blind"
},
"positions": [
{
"mm": [
45.0,
25.0,
0.0
]
}
],
"thread": {
"diameter_mm": 5.0,
"depth_mm": 10.0,
"class": "1B"
},
"host_face": {
"kind": "face",
"stable_id": "step-face-9c72489169c9f1789e989383",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
-52.0,
25.0,
-5.5,
52.0,
25.0,
5.5
],
"center_mm": [
5.24931004,
25.0,
0.616601487
],
"normal": [
-0.0,
1.0,
-0.0
],
"surface_type": "plane"
}
}
},
"execution_status": "deferred",
"selectors": [
{
"kind": "face",
"stable_id": "step-face-9c72489169c9f1789e989383",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
-52.0,
25.0,
-5.5,
52.0,
25.0,
5.5
],
"center_mm": [
5.24931004,
25.0,
0.616601487
],
"normal": [
-0.0,
1.0,
-0.0
],
"surface_type": "plane"
}
}
]
},
{
"id": "f_006",
"name": "切除-拉伸2",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_004",
"f_005"
],
"params": {
"distance_mm": 5.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_004"
},
{
"id": "f_010",
"name": "阵列(线性)2",
"atomic_id": "pattern_linear",
"depends_on": [
"f_009",
"f_004"
],
"params": {
"source_feature_ids": [
"f_009",
"f_004"
],
"direction_1": [
1.0,
0.0,
0.0
],
"spacing_1_mm": 30.0,
"pattern_count_1": 2
},
"execution_status": "deferred"
},
{
"id": "f_012",
"name": "阵列(线性)3",
"atomic_id": "pattern_linear",
"depends_on": [
"f_011",
"f_004"
],
"params": {
"source_feature_ids": [
"f_011",
"f_004"
],
"direction_1": [
-1.0,
0.0,
0.0
],
"spacing_1_mm": 20.0,
"pattern_count_1": 3
},
"execution_status": "deferred"
},
{
"id": "f_013",
"name": "切除-拉伸4",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_004",
"f_010",
"f_009"
],
"params": {
"distance_mm": 6.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "supported",
"sketch_id": "sk_006"
}
],
"meta": {
"unit": "mm",
"source": "099726.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete_with_blockers",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.046036133043764395,
"volume": 4.60361330437644e-05,
"surface_area": 0.015382029037493071,
"center_of_mass": [
0.007259968088011055,
5.8932955722113765e-05,
0.0005390733683294088
],
"principal_moments": [
1.0288373942834392e-05,
4.0419591753298544e-05,
4.9874100882307666e-05
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.055,
-0.025,
-0.0055,
0.055,
0.02500000000000001,
0.0055
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "切除-拉伸4",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAkAAAByAAAAcQAAAHAAAABvAAAAbgAAAGkAAABoAAAAZwAAAGUAAAA=",
"persist_reference_sha256": "1beaa45d6878e898470675ba58ea2113e2a3a487e8f672d947054fdb20f6360c",
"component": null,
"geometry": {
"box": [
-0.055,
-0.025,
-0.0055,
0.055,
0.02500000000000001,
0.0055
],
"face_count": 34,
"edge_count": 58,
"vertex_count": 23
},
"stable_id": "1beaa45d6878e898470675ba58ea2113e2a3a487e8f672d947054fdb20f6360c"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 51,
"surface_counts": {
"cone": 6,
"cylinder": 28,
"plane": 17
},
"axis_count": 34,
"repeat_spacings_mm": [
{
"spacing_mm": 20.0,
"pair_count": 6
},
{
"spacing_mm": 23.5321,
"pair_count": 4
},
{
"spacing_mm": 44.2069,
"pair_count": 4
},
{
"spacing_mm": 34.141,
"pair_count": 4
},
{
"spacing_mm": 12.4,
"pair_count": 3
},
{
"spacing_mm": 40.0,
"pair_count": 3
},
{
"spacing_mm": 39.424,
"pair_count": 3
},
{
"spacing_mm": 27.6697,
"pair_count": 3
},
{
"spacing_mm": 30.0,
"pair_count": 2
},
{
"spacing_mm": 22.3663,
"pair_count": 2
},
{
"spacing_mm": 12.5702,
"pair_count": 2
},
{
"spacing_mm": 22.891,
"pair_count": 2
}
],
"metrics": {
"bounding_box_mm": [
-55.0,
-25.0,
-5.5,
55.0,
25.0,
5.5
],
"volume_mm3": 46036.133043764,
"surface_area_mm2": 15382.029037493,
"solid_count": 1,
"face_count": 51,
"edge_count": 120,
"vertex_count": 79
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-55.0,
-25.0,
-5.5,
55.0,
25.0,
5.5
],
"volume_mm3": 46036.133043764,
"surface_area_mm2": 15382.029037493,
"solid_count": 1,
"face_count": 34,
"edge_count": 58,
"vertex_count": 23
},
"comparisons": {
"volume_mm3": {
"expected": 46036.133043764,
"actual": 46036.133043764,
"absolute_delta": 0.0,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 15382.029037493,
"actual": 15382.029037493,
"absolute_delta": 0.0,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-55.0,
-25.0,
-5.5,
55.0,
25.0,
5.5
],
"actual": [
-55.0,
-25.0,
-5.5,
55.0,
25.0,
5.5
],
"max_absolute_delta": 0.0,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 34,
"actual": 51,
"matches": false
},
"edge_count": {
"expected": 58,
"actual": 120,
"matches": false
},
"vertex_count": {
"expected": 23,
"actual": 79,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}