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

1311 lines
28 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "221851",
"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,
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": [
30.0,
-32.5
],
"end": [
-30.0,
-32.5
]
},
{
"type": "line",
"start": [
-30.0,
-32.5
],
"end": [
-30.0,
32.5
]
},
{
"type": "line",
"start": [
-30.0,
32.5
],
"end": [
30.0,
32.5
]
},
{
"type": "line",
"start": [
30.0,
32.5
],
"end": [
30.0,
-32.5
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
30.0,
-32.5
],
"end": [
-30.0,
32.5
]
},
{
"type": "line",
"start": [
30.0,
32.5
],
"end": [
-30.0,
-32.5
]
}
]
}
},
{
"id": "sk_003",
"name": "草图2",
"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": [
-32.5,
0.0
],
"end": [
2.5,
0.0
]
},
{
"type": "line",
"start": [
2.5,
0.0
],
"end": [
2.5,
14.0
]
},
{
"type": "line",
"start": [
2.5,
14.0
],
"end": [
-32.5,
14.0
]
},
{
"type": "line",
"start": [
-32.5,
14.0
],
"end": [
-32.5,
0.0
]
}
]
}
]
}
},
{
"id": "sk_004",
"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": "line",
"start": [
-32.5,
14.0
],
"end": [
-32.5,
20.0
]
},
{
"type": "line",
"start": [
-32.5,
20.0
],
"end": [
-22.5,
14.0
]
},
{
"type": "line",
"start": [
-22.5,
14.0
],
"end": [
-32.5,
14.0
]
}
]
}
]
}
},
{
"id": "sk_005",
"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": "circle",
"center": [
-15.5,
9.5
],
"radius_mm": 10.0
}
},
{
"id": "sk_006",
"name": "草图11",
"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": [
-15.5,
9.5
],
"radius_mm": 2.0
}
},
{
"id": "sk_007",
"name": "草图12",
"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": [
-15.5,
-9.5
],
"radius_mm": 10.0
}
},
{
"id": "sk_008",
"name": "草图16",
"role": "profile",
"workplane": {
"origin_mm": [
-32.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": "arc",
"start": [
17.5,
19.375
],
"end": [
22.5,
19.375
],
"center": [
20.0,
19.375
],
"radius_mm": 2.5,
"clockwise": false
},
{
"type": "line",
"start": [
22.5,
19.375
],
"end": [
22.5,
21.375
]
},
{
"type": "arc",
"start": [
22.5,
21.375
],
"end": [
17.5,
21.375
],
"center": [
20.0,
21.375
],
"radius_mm": 2.5,
"clockwise": false
},
{
"type": "line",
"start": [
17.5,
21.375
],
"end": [
17.5,
19.375
]
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "arc",
"start": [
-22.5,
19.375
],
"end": [
-17.5,
19.375
],
"center": [
-20.0,
19.375
],
"radius_mm": 2.5,
"clockwise": false
},
{
"type": "line",
"start": [
-17.5,
19.375
],
"end": [
-17.5,
21.375
]
},
{
"type": "arc",
"start": [
-17.5,
21.375
],
"end": [
-22.5,
21.375
],
"center": [
-20.0,
21.375
],
"radius_mm": 2.5,
"clockwise": false
},
{
"type": "line",
"start": [
-22.5,
21.375
],
"end": [
-22.5,
19.375
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
20.0,
10.75
],
"end": [
20.0,
30.0
]
},
{
"type": "line",
"start": [
-20.0,
10.75
],
"end": [
-20.0,
30.0
]
},
{
"type": "line",
"start": [
20.0,
19.375
],
"end": [
20.0,
21.375
]
},
{
"type": "line",
"start": [
-20.0,
19.375
],
"end": [
-20.0,
21.375
]
}
]
}
},
{
"id": "sk_009",
"name": "草图17",
"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": [
15.5,
9.5
],
"radius_mm": 10.0
}
},
{
"id": "sk_010",
"name": "草图18",
"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": [
15.5,
9.5
],
"radius_mm": 2.0
}
},
{
"id": "sk_011",
"name": "草图19",
"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": [
15.5,
-9.5
],
"radius_mm": 10.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_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_002"
],
"params": {
"distance_mm": 30.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_002"
},
{
"id": "f_005",
"name": "切除-拉伸1",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 60.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_003"
},
{
"id": "f_008",
"name": "圆角4",
"atomic_id": "fillet",
"depends_on": [
"f_004"
],
"params": {
"radius_mm": 0.5,
"tangent_propagation": false
},
"execution_status": "deferred"
},
{
"id": "f_015",
"name": "倒角1",
"atomic_id": "chamfer",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 3.0,
"angle_rad": 0.78539816339745
},
"execution_status": "deferred"
},
{
"id": "f_006",
"name": "切除-拉伸2",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_004",
"f_005"
],
"params": {
"distance_mm": 60.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_004"
},
{
"id": "f_012",
"name": "打孔尺寸(%根据)内六角圆柱头螺钉的类型1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_005",
"f_004"
],
"params": {
"hole_type": "内六角圆柱头螺钉 GB/T 70.1-2000",
"diameter_mm": 5.5,
"depth_mm": 30.0,
"end_condition": {
"solidworks_code": 1,
"type": "through_all"
},
"positions": [
{
"mm": [
-20.0,
8.0,
0.0
]
},
{
"mm": [
20.0,
8.0,
0.0
]
}
],
"counterbore": {
"diameter_mm": 10.0,
"depth_mm": 10.0
}
},
"execution_status": "deferred",
"unresolved": [
"hole has no captured semantic selections"
]
},
{
"id": "f_013",
"name": "圆角5",
"atomic_id": "fillet",
"depends_on": [
"f_004",
"f_005"
],
"params": {
"radius_mm": 1.0,
"tangent_propagation": false
},
"execution_status": "deferred"
},
{
"id": "f_007",
"name": "圆角3",
"atomic_id": "fillet",
"depends_on": [
"f_004",
"f_005",
"f_006"
],
"params": {
"radius_mm": 1.0,
"tangent_propagation": false
},
"execution_status": "deferred"
},
{
"id": "f_014",
"name": "切除-拉伸11",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_004",
"f_012"
],
"params": {
"distance_mm": 5.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_008"
},
{
"id": "f_009",
"name": "切除-拉伸8",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_005",
"f_004",
"f_007"
],
"params": {
"distance_mm": 10.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "supported",
"sketch_id": "sk_005"
},
{
"id": "f_010",
"name": "切除-拉伸9",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_009",
"f_004"
],
"params": {
"distance_mm": 8.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "supported",
"sketch_id": "sk_006"
},
{
"id": "f_016",
"name": "切除-拉伸12",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_005",
"f_009",
"f_004",
"f_007"
],
"params": {
"distance_mm": 0.0,
"reverse": false,
"end_condition": {
"type": "up_to_surface",
"solidworks_code": 4
}
},
"execution_status": "supported",
"sketch_id": "sk_009"
},
{
"id": "f_011",
"name": "切除-拉伸10",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_004",
"f_010"
],
"params": {
"distance_mm": 3.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "supported",
"sketch_id": "sk_007"
},
{
"id": "f_017",
"name": "切除-拉伸13",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_016",
"f_004"
],
"params": {
"distance_mm": 10.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "supported",
"sketch_id": "sk_010"
},
{
"id": "f_018",
"name": "切除-拉伸14",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_004",
"f_017"
],
"params": {
"distance_mm": 3.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "supported",
"sketch_id": "sk_011"
}
],
"meta": {
"unit": "mm",
"source": "221851.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete_with_blockers",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.2106325910675156,
"volume": 7.442847740901611e-05,
"surface_area": 0.016878820336452834,
"center_of_mass": [
-5.84200728402746e-07,
0.017613422950722005,
-0.0070072744989711664
],
"principal_moments": [
7.523401844191483e-05,
8.338367546078196e-05,
0.00013441711080825405
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.030000000000000002,
0.0,
-0.03250000000000001,
0.029999999999999995,
0.03,
0.03250000000000001
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "切除-拉伸14",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAsAAACLAAAAigAAAIkAAACIAAAAhwAAAIYAAACDAAAAggAAAHoAAAB5AAAAeAAAAA==",
"persist_reference_sha256": "a0868e5c7f5307abacddb3a95a9c5655c1d166601c62cc3e1ab8273c531848c2",
"component": null,
"geometry": {
"box": [
-0.030000000000000002,
0.0,
-0.03250000000000001,
0.029999999999999995,
0.03,
0.03250000000000001
],
"face_count": 54,
"edge_count": 106,
"vertex_count": 52
},
"stable_id": "a0868e5c7f5307abacddb3a95a9c5655c1d166601c62cc3e1ab8273c531848c2"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 64,
"surface_counts": {
"bspline": 4,
"cylinder": 36,
"plane": 22,
"sphere": 2
},
"axis_count": 36,
"repeat_spacings_mm": [
{
"spacing_mm": 40.0,
"pair_count": 3
},
{
"spacing_mm": 42.0149,
"pair_count": 2
},
{
"spacing_mm": 22.9183,
"pair_count": 2
},
{
"spacing_mm": 51.5097,
"pair_count": 2
},
{
"spacing_mm": 29.2447,
"pair_count": 2
},
{
"spacing_mm": 50.4009,
"pair_count": 2
},
{
"spacing_mm": 26.6693,
"pair_count": 2
},
{
"spacing_mm": 51.84,
"pair_count": 2
},
{
"spacing_mm": 51.5838,
"pair_count": 2
},
{
"spacing_mm": 38.0446,
"pair_count": 2
},
{
"spacing_mm": 37.6947,
"pair_count": 2
},
{
"spacing_mm": 36.8103,
"pair_count": 2
}
],
"metrics": {
"bounding_box_mm": [
-30.0000001,
-1e-07,
-32.5000001,
30.0000001,
30.0000001,
32.5000001
],
"volume_mm3": 74428.472775748,
"surface_area_mm2": 16878.817769997,
"solid_count": 1,
"face_count": 64,
"edge_count": 146,
"vertex_count": 92
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-30.0,
0.0,
-32.5,
30.0,
30.0,
32.5
],
"volume_mm3": 74428.477409016,
"surface_area_mm2": 16878.820336453,
"solid_count": 1,
"face_count": 54,
"edge_count": 106,
"vertex_count": 52
},
"comparisons": {
"volume_mm3": {
"expected": 74428.477409016,
"actual": 74428.472775748,
"absolute_delta": 0.004633268006728031,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 16878.820336453,
"actual": 16878.817769997,
"absolute_delta": 0.0025664560016593896,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-30.0,
0.0,
-32.5,
30.0,
30.0,
32.5
],
"actual": [
-30.0000001,
-1e-07,
-32.5000001,
30.0000001,
30.0000001,
32.5000001
],
"max_absolute_delta": 1.0000000116860974e-07,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 54,
"actual": 64,
"matches": false
},
"edge_count": {
"expected": 106,
"actual": 146,
"matches": false
},
"vertex_count": {
"expected": 52,
"actual": 92,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}