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

1485 lines
32 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "166260",
"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,
1000.0
],
"x_dir": [
0.0,
0.0,
1.0
],
"y_dir": [
0.0,
0.0,
1.0
],
"normal": [
0.0,
0.0,
1.0
]
},
"profile": {
"type": "analytic_contours",
"contours": [
{
"role": "outer",
"closed": true,
"segments": [
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
10.0,
0.0
]
},
{
"type": "line",
"start": [
10.0,
0.0
],
"end": [
10.0,
-110.0
]
},
{
"type": "line",
"start": [
10.0,
-110.0
],
"end": [
0.0,
-110.0
]
},
{
"type": "line",
"start": [
0.0,
-110.0
],
"end": [
0.0,
0.0
]
}
]
}
]
}
},
{
"id": "sk_003",
"name": "草图7",
"role": "profile",
"workplane": {
"origin_mm": [
110.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": [
21.0,
-0.0
],
"end": [
-21.0,
-0.0
]
},
{
"type": "line",
"start": [
-21.0,
-0.0
],
"end": [
-21.0,
-10.0
]
},
{
"type": "line",
"start": [
-21.0,
-10.0
],
"end": [
21.0,
-10.0
]
},
{
"type": "line",
"start": [
21.0,
-10.0
],
"end": [
21.0,
-0.0
]
}
]
}
]
}
},
{
"id": "sk_004",
"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": [
6.0,
0.0
],
"end": [
-6.0,
0.0
]
},
{
"type": "line",
"start": [
-6.0,
0.0
],
"end": [
-6.0,
-130.0
]
},
{
"type": "line",
"start": [
-6.0,
-130.0
],
"end": [
6.0,
-130.0
]
},
{
"type": "line",
"start": [
6.0,
-130.0
],
"end": [
6.0,
0.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
-0.0,
0.0
],
"end": [
0.0,
-130.0
]
}
]
}
},
{
"id": "sk_005",
"name": "草图9",
"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": [
-30.0,
-9.0
],
"end": [
-15.0,
-9.0
]
},
{
"type": "line",
"start": [
-15.0,
-9.0
],
"end": [
-15.0,
-10.0
]
},
{
"type": "line",
"start": [
-15.0,
-10.0
],
"end": [
-30.0,
-10.0
]
},
{
"type": "line",
"start": [
-30.0,
-10.0
],
"end": [
-30.0,
-9.0
]
}
]
}
]
}
},
{
"id": "sk_006",
"name": "草图20",
"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": "circles",
"items": [
{
"center": [
-10.0,
-22.5
],
"radius_mm": 5.0
},
{
"center": [
10.0,
-22.5
],
"radius_mm": 5.0
}
]
}
},
{
"id": "sk_007",
"name": "草图21",
"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,
22.5
],
"radius_mm": 2.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_003"
],
"params": {
"distance_mm": 42.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": "reference_plane",
"depends_on": [
"f_004"
],
"params": {
"plane": {
"origin_mm": [
-0.0,
-8.0,
-0.0
],
"x_dir": [
0.0,
0.0,
1.0
],
"normal": [
0.0,
1.0,
0.0
]
},
"offset_mm": 8.0,
"angle_rad": 0.0,
"reverse": true,
"solidworks_type": 5,
"references": [
{
"kind": "feature",
"stable_id": "0eae3a8cf6167d4519465c920df5b53825df7e968926d4b6f452951aaa04934f",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_004"
},
{
"kind": "face",
"stable_id": "84ac81c2f1132efd63ad31810af408186c541952d942b7b1287be1bd9a096374",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"surface": {
"type": "plane",
"parameters": [
0.0,
1.0,
1.2616170734376782e-16,
0.021,
-0.01,
0.0
]
},
"box": [
-0.021,
-0.010000000000000014,
0.0,
0.021,
-0.01,
0.11
],
"area": 0.00462
}
}
]
},
"execution_status": "deferred",
"selectors": [
{
"kind": "feature",
"stable_id": "0eae3a8cf6167d4519465c920df5b53825df7e968926d4b6f452951aaa04934f",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_004"
},
{
"kind": "face",
"stable_id": "84ac81c2f1132efd63ad31810af408186c541952d942b7b1287be1bd9a096374",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"surface": {
"type": "plane",
"parameters": [
0.0,
1.0,
1.2616170734376782e-16,
0.021,
-0.01,
0.0
]
},
"box": [
-0.021,
-0.010000000000000014,
0.0,
0.021,
-0.01,
0.11
],
"area": 0.00462
}
}
]
},
{
"id": "f_006",
"name": "基准面2",
"atomic_id": "reference_plane",
"depends_on": [
"f_004"
],
"params": {
"plane": {
"origin_mm": [
-0.0,
-3.0,
-0.0
],
"x_dir": [
0.0,
0.0,
1.0
],
"normal": [
0.0,
1.0,
0.0
]
},
"offset_mm": 3.0,
"angle_rad": 0.0,
"reverse": true,
"solidworks_type": 5,
"references": [
{
"kind": "feature",
"stable_id": "0eae3a8cf6167d4519465c920df5b53825df7e968926d4b6f452951aaa04934f",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_004"
},
{
"kind": "face",
"stable_id": "84ac81c2f1132efd63ad31810af408186c541952d942b7b1287be1bd9a096374",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"surface": {
"type": "plane",
"parameters": [
0.0,
1.0,
1.2616170734376782e-16,
0.021,
-0.01,
0.0
]
},
"box": [
-0.021,
-0.010000000000000014,
0.0,
0.021,
-0.01,
0.11
],
"area": 0.00462
}
}
]
},
"execution_status": "deferred",
"selectors": [
{
"kind": "feature",
"stable_id": "0eae3a8cf6167d4519465c920df5b53825df7e968926d4b6f452951aaa04934f",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_004"
},
{
"kind": "face",
"stable_id": "84ac81c2f1132efd63ad31810af408186c541952d942b7b1287be1bd9a096374",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"surface": {
"type": "plane",
"parameters": [
0.0,
1.0,
1.2616170734376782e-16,
0.021,
-0.01,
0.0
]
},
"box": [
-0.021,
-0.010000000000000014,
0.0,
0.021,
-0.01,
0.11
],
"area": 0.00462
}
}
]
},
{
"id": "f_007",
"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_003"
},
{
"id": "f_009",
"name": "切除-拉伸2",
"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": "deferred",
"sketch_id": "sk_005"
},
{
"id": "f_010",
"name": "M3 螺纹孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004"
],
"params": {
"hole_type": "底部螺纹孔",
"diameter_mm": 3.0,
"depth_mm": 6.0,
"end_condition": {
"solidworks_code": 0,
"type": "blind"
},
"positions": [
{
"mm": [
0.0,
-11.0,
0.0
]
},
{
"mm": [
0.0,
-36.0,
0.0
]
},
{
"mm": [
0.0,
-61.0,
0.0
]
},
{
"mm": [
0.0,
-86.0,
0.0
]
},
{
"mm": [
0.0,
-111.0,
0.0
]
}
],
"thread": {
"diameter_mm": 3.0,
"depth_mm": 6.0,
"class": "1B"
}
},
"execution_status": "deferred",
"unresolved": [
"hole has no captured semantic selections"
]
},
{
"id": "f_013",
"name": "M5 螺纹孔2",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004"
],
"params": {
"hole_type": "底部螺纹孔",
"diameter_mm": 5.0,
"depth_mm": 10.0,
"end_condition": {
"solidworks_code": 0,
"type": "blind"
},
"positions": [
{
"mm": [
-10.0,
-5.0,
0.0
]
},
{
"mm": [
10.0,
-5.0,
0.0
]
}
],
"thread": {
"diameter_mm": 5.0,
"depth_mm": 10.0,
"class": "1B"
},
"host_face": {
"kind": "face",
"stable_id": "step-face-7ab3ae2c121d68de8814e0b5",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
-21.0,
-10.0,
-0.0,
21.0,
0.0,
0.0
],
"center_mm": [
0.0,
-5.204386343,
0.0
],
"normal": [
0.0,
-0.0,
-1.0
],
"surface_type": "plane"
}
}
},
"execution_status": "deferred",
"selectors": [
{
"kind": "face",
"stable_id": "step-face-7ab3ae2c121d68de8814e0b5",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
-21.0,
-10.0,
-0.0,
21.0,
0.0,
0.0
],
"center_mm": [
0.0,
-5.204386343,
0.0
],
"normal": [
0.0,
-0.0,
-1.0
],
"surface_type": "plane"
}
}
]
},
{
"id": "f_014",
"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": [
-10.0,
-22.5,
0.0
]
},
{
"mm": [
10.0,
-22.5,
0.0
]
}
],
"counterbore": {
"diameter_mm": 10.0,
"depth_mm": 5.4
}
},
"execution_status": "deferred",
"unresolved": [
"hole has no captured semantic selections"
]
},
{
"id": "f_008",
"name": "切除-拉伸1",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_004",
"f_007"
],
"params": {
"distance_mm": 1.5,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_004"
},
{
"id": "f_011",
"name": "M4 螺纹孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_007"
],
"params": {
"hole_type": "底部螺纹孔",
"diameter_mm": 4.0,
"depth_mm": 8.0,
"end_condition": {
"solidworks_code": 0,
"type": "blind"
},
"positions": [
{
"mm": [
-5.0,
-5.0,
0.0
]
},
{
"mm": [
5.0,
-5.0,
0.0
]
}
],
"thread": {
"diameter_mm": 4.0,
"depth_mm": 8.0,
"class": "1B"
},
"host_face": {
"kind": "face",
"stable_id": "step-face-7ab3ae2c121d68de8814e0b5",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
-21.0,
-10.0,
-0.0,
21.0,
0.0,
0.0
],
"center_mm": [
0.0,
-5.204386343,
0.0
],
"normal": [
0.0,
-0.0,
-1.0
],
"surface_type": "plane"
}
}
},
"execution_status": "deferred",
"selectors": [
{
"kind": "face",
"stable_id": "step-face-7ab3ae2c121d68de8814e0b5",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
-21.0,
-10.0,
-0.0,
21.0,
0.0,
0.0
],
"center_mm": [
0.0,
-5.204386343,
0.0
],
"normal": [
0.0,
-0.0,
-1.0
],
"surface_type": "plane"
}
}
]
},
{
"id": "f_012",
"name": "M5 螺纹孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_007"
],
"params": {
"hole_type": "底部螺纹孔",
"diameter_mm": 5.0,
"depth_mm": 10.0,
"end_condition": {
"solidworks_code": 0,
"type": "blind"
},
"positions": [
{
"mm": [
-16.0,
-5.0,
0.0
]
},
{
"mm": [
16.0,
-5.0,
0.0
]
}
],
"thread": {
"diameter_mm": 5.0,
"depth_mm": 10.0,
"class": "1B"
},
"host_face": {
"kind": "face",
"stable_id": "step-face-7ab3ae2c121d68de8814e0b5",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
-21.0,
-10.0,
-0.0,
21.0,
0.0,
0.0
],
"center_mm": [
0.0,
-5.204386343,
0.0
],
"normal": [
0.0,
-0.0,
-1.0
],
"surface_type": "plane"
}
}
},
"execution_status": "deferred",
"selectors": [
{
"kind": "face",
"stable_id": "step-face-7ab3ae2c121d68de8814e0b5",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
-21.0,
-10.0,
-0.0,
21.0,
0.0,
0.0
],
"center_mm": [
0.0,
-5.204386343,
0.0
],
"normal": [
0.0,
-0.0,
-1.0
],
"surface_type": "plane"
}
}
]
},
{
"id": "f_015",
"name": "切除-拉伸3",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_014",
"f_004"
],
"params": {
"distance_mm": 1.5,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "supported",
"sketch_id": "sk_006"
},
{
"id": "f_016",
"name": "切除-拉伸4",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_009",
"f_004"
],
"params": {
"distance_mm": 0.0,
"reverse": false,
"end_condition": {
"type": "through_all",
"solidworks_code": 1
}
},
"execution_status": "supported",
"sketch_id": "sk_007"
}
],
"meta": {
"unit": "mm",
"source": "166260.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete_with_blockers",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.3842985715353938,
"volume": 4.9269047632742794e-05,
"surface_area": 0.0163359814424928,
"center_of_mass": [
1.9139519508060676e-18,
-0.005171787070612365,
0.06647687113707328
],
"principal_moments": [
6.26866308828214e-05,
0.0005230656196180055,
0.0005796949533345766
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.021,
-0.010000000000000014,
-3.534961263801302e-18,
0.021,
4.104115029424869e-34,
0.13
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "切除-拉伸4",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAsAAACXAAAAlgAAAJUAAACUAAAAkwAAAJIAAACRAAAAkAAAAI8AAACDAAAAZQAAAA==",
"persist_reference_sha256": "cc45e86e8c7f4bcfcc7205c0135763accee93b8f66872e59c5261391e8aacf45",
"component": null,
"geometry": {
"box": [
-0.021,
-0.010000000000000014,
-3.534961263801302e-18,
0.021,
4.104115029424869e-34,
0.13
],
"face_count": 45,
"edge_count": 78,
"vertex_count": 43
},
"stable_id": "cc45e86e8c7f4bcfcc7205c0135763accee93b8f66872e59c5261391e8aacf45"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 72,
"surface_counts": {
"cone": 22,
"cylinder": 32,
"plane": 18
},
"axis_count": 54,
"repeat_spacings_mm": [
{
"spacing_mm": 25.0,
"pair_count": 8
},
{
"spacing_mm": 26.1008,
"pair_count": 8
},
{
"spacing_mm": 50.0,
"pair_count": 6
},
{
"spacing_mm": 50.5594,
"pair_count": 6
},
{
"spacing_mm": 7.5,
"pair_count": 5
},
{
"spacing_mm": 10.0,
"pair_count": 4
},
{
"spacing_mm": 107.7323,
"pair_count": 4
},
{
"spacing_mm": 97.6563,
"pair_count": 4
},
{
"spacing_mm": 12.4,
"pair_count": 4
},
{
"spacing_mm": 120.4399,
"pair_count": 4
},
{
"spacing_mm": 117.753,
"pair_count": 4
},
{
"spacing_mm": 75.0,
"pair_count": 4
}
],
"metrics": {
"bounding_box_mm": [
-21.0,
-10.0,
-0.0,
21.0,
0.0,
130.0
],
"volume_mm3": 49269.047632743,
"surface_area_mm2": 16335.981442493,
"solid_count": 1,
"face_count": 72,
"edge_count": 166,
"vertex_count": 107
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-21.0,
-10.0,
-0.0,
21.0,
0.0,
130.0
],
"volume_mm3": 49269.047632743,
"surface_area_mm2": 16335.981442493,
"solid_count": 1,
"face_count": 45,
"edge_count": 78,
"vertex_count": 43
},
"comparisons": {
"volume_mm3": {
"expected": 49269.047632743,
"actual": 49269.047632743,
"absolute_delta": 0.0,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 16335.981442493,
"actual": 16335.981442493,
"absolute_delta": 0.0,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-21.0,
-10.0,
-0.0,
21.0,
0.0,
130.0
],
"actual": [
-21.0,
-10.0,
-0.0,
21.0,
0.0,
130.0
],
"max_absolute_delta": 0.0,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 45,
"actual": 72,
"matches": false
},
"edge_count": {
"expected": 78,
"actual": 166,
"matches": false
},
"vertex_count": {
"expected": 43,
"actual": 107,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}