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

810 lines
17 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "158256",
"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": "arc",
"start": [
240.0,
-40.0
],
"end": [
240.0,
40.0
],
"center": [
240.0,
0.0
],
"radius_mm": 40.0,
"clockwise": false
},
{
"type": "line",
"start": [
240.0,
40.0
],
"end": [
0.0,
40.0
]
},
{
"type": "line",
"start": [
0.0,
40.0
],
"end": [
0.0,
-40.0
]
},
{
"type": "line",
"start": [
0.0,
-40.0
],
"end": [
240.0,
-40.0
]
}
]
}
]
}
},
{
"id": "sk_003",
"name": "草图2",
"role": "profile",
"workplane": {
"origin_mm": [
-40.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": [
0.0,
0.0
],
"end": [
-50.0,
0.0
]
},
{
"type": "line",
"start": [
-50.0,
0.0
],
"end": [
-50.0,
-7.5
]
},
{
"type": "line",
"start": [
-50.0,
-7.5
],
"end": [
0.0,
-7.5
]
},
{
"type": "line",
"start": [
0.0,
-7.5
],
"end": [
0.0,
0.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": "reference_plane",
"depends_on": [
"f_003"
],
"params": {
"plane": {
"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
]
},
"offset_mm": 0.0,
"angle_rad": 0.0,
"reverse": false,
"solidworks_type": -1,
"derived_from_sketch_id": "sk_002"
},
"execution_status": "deferred"
},
{
"id": "f_005",
"name": "凸台-拉伸1",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 15.0,
"reverse": true,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_002"
},
{
"id": "f_006",
"name": "切除-拉伸1",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_005"
],
"params": {
"distance_mm": 80.0,
"reverse": false,
"end_condition": {
"type": "through_all",
"solidworks_code": 1
}
},
"execution_status": "deferred",
"sketch_id": "sk_003"
},
{
"id": "f_007",
"name": "Ø3.2 (3.2) 直径孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_005"
],
"params": {
"hole_type": "钻孔大小",
"diameter_mm": 3.2,
"depth_mm": 15.0,
"end_condition": {
"solidworks_code": 1,
"type": "through_all"
},
"positions": [
{
"mm": [
240.0,
-24.5,
0.0
]
},
{
"mm": [
218.782377607,
12.25,
0.0
]
},
{
"mm": [
261.217622393,
12.25,
0.0
]
}
]
},
"execution_status": "deferred",
"unresolved": [
"hole has no captured semantic selections"
]
},
{
"id": "f_008",
"name": "Ø4.2 (4.2) 直径孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_005"
],
"params": {
"hole_type": "钻孔大小",
"diameter_mm": 4.2,
"depth_mm": 15.0,
"end_condition": {
"solidworks_code": 1,
"type": "through_all"
},
"positions": [
{
"mm": [
170.0,
-30.0,
0.0
]
}
]
},
"execution_status": "deferred",
"unresolved": [
"hole has no captured semantic selections"
]
},
{
"id": "f_009",
"name": "M24 间隙孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_005"
],
"params": {
"hole_type": "螺钉间隙",
"diameter_mm": 28.0,
"depth_mm": 15.0,
"end_condition": {
"solidworks_code": 1,
"type": "through_all"
},
"positions": [
{
"mm": [
240.0,
0.0,
0.0
]
}
]
},
"execution_status": "deferred",
"unresolved": [
"hole has no captured semantic selections"
]
},
{
"id": "f_011",
"name": "M8 六角头螺栓的柱形沉头孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_005"
],
"params": {
"hole_type": "六角螺栓 - ANSI B18.2.3.5M",
"diameter_mm": 8.5,
"depth_mm": 15.0,
"end_condition": {
"solidworks_code": 1,
"type": "through_all"
},
"positions": [
{
"mm": [
145.0,
-20.0,
0.0
]
}
],
"counterbore": {
"diameter_mm": 24.5,
"depth_mm": 7.0
}
},
"execution_status": "deferred",
"unresolved": [
"hole has no captured semantic selections"
]
},
{
"id": "f_012",
"name": "圆角1",
"atomic_id": "fillet",
"depends_on": [
"f_005"
],
"params": {
"radius_mm": 7.0,
"tangent_propagation": false
},
"execution_status": "deferred"
},
{
"id": "f_010",
"name": "Ø5.2 (5.2) 直径孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_006"
],
"params": {
"hole_type": "钻孔大小",
"diameter_mm": 5.2,
"depth_mm": 7.5,
"end_condition": {
"solidworks_code": 1,
"type": "through_all"
},
"positions": [
{
"mm": [
10.0,
-30.0,
0.0
]
},
{
"mm": [
40.0,
-30.0,
0.0
]
},
{
"mm": [
10.0,
0.0,
0.0
]
},
{
"mm": [
40.0,
0.0,
0.0
]
},
{
"mm": [
10.0,
30.0,
0.0
]
},
{
"mm": [
40.0,
30.0,
0.0
]
}
]
},
"execution_status": "deferred",
"unresolved": [
"hole has no captured semantic selections"
]
}
],
"meta": {
"unit": "mm",
"source": "158256.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete_with_blockers",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.2810256899071712,
"volume": 0.0002810256899071712,
"surface_area": 0.054655894146271346,
"center_of_mass": [
0.14443669584283883,
0.00042677969532097534,
0.0002893494472974648
],
"principal_moments": [
0.00015457389708048924,
0.001501523796254165,
0.001645894113238297
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
0.0,
-0.0075000000000000015,
-0.04000000000000001,
0.27999999999999997,
0.007500000000000014,
0.04000000000000001
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "圆角1",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAcAAABtAAAAbAAAAGsAAABqAAAAaQAAAGgAAABnAAAA",
"persist_reference_sha256": "88c12a69ca68a635cb10df62993309a3e6644896d8079d3f08041a462b1ddde8",
"component": null,
"geometry": {
"box": [
0.0,
-0.0075000000000000015,
-0.04000000000000001,
0.27999999999999997,
0.007500000000000014,
0.04
],
"face_count": 24,
"edge_count": 50,
"vertex_count": 16
},
"stable_id": "88c12a69ca68a635cb10df62993309a3e6644896d8079d3f08041a462b1ddde8"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 37,
"surface_counts": {
"cylinder": 29,
"plane": 8
},
"axis_count": 29,
"repeat_spacings_mm": [
{
"spacing_mm": 30.0,
"pair_count": 7
},
{
"spacing_mm": 42.4264,
"pair_count": 4
},
{
"spacing_mm": 232.0695,
"pair_count": 4
},
{
"spacing_mm": 202.3765,
"pair_count": 4
},
{
"spacing_mm": 33.9743,
"pair_count": 4
},
{
"spacing_mm": 24.5,
"pair_count": 3
},
{
"spacing_mm": 42.4352,
"pair_count": 3
},
{
"spacing_mm": 28.7272,
"pair_count": 3
},
{
"spacing_mm": 60.0,
"pair_count": 2
},
{
"spacing_mm": 67.082,
"pair_count": 2
},
{
"spacing_mm": 63.5157,
"pair_count": 2
},
{
"spacing_mm": 8.6168,
"pair_count": 2
}
],
"metrics": {
"bounding_box_mm": [
0.0,
-7.5,
-40.0,
280.0,
7.5,
40.0
],
"volume_mm3": 281025.689907171,
"surface_area_mm2": 54655.894146271,
"solid_count": 1,
"face_count": 37,
"edge_count": 102,
"vertex_count": 68
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
0.0,
-7.5,
-40.0,
280.0,
7.5,
40.0
],
"volume_mm3": 281025.689907171,
"surface_area_mm2": 54655.894146271,
"solid_count": 1,
"face_count": 24,
"edge_count": 50,
"vertex_count": 16
},
"comparisons": {
"volume_mm3": {
"expected": 281025.689907171,
"actual": 281025.689907171,
"absolute_delta": 0.0,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 54655.894146271,
"actual": 54655.894146271,
"absolute_delta": 0.0,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
0.0,
-7.5,
-40.0,
280.0,
7.5,
40.0
],
"actual": [
0.0,
-7.5,
-40.0,
280.0,
7.5,
40.0
],
"max_absolute_delta": 0.0,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 24,
"actual": 37,
"matches": false
},
"edge_count": {
"expected": 50,
"actual": 102,
"matches": false
},
"vertex_count": {
"expected": 16,
"actual": 68,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}