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

1112 lines
24 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "170690",
"geometry": {
"sketches": [
{
"id": "sk_001",
"name": "Origin",
"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": [
-487.0,
176.5
],
"end": [
487.0,
176.5
]
},
{
"type": "line",
"start": [
487.0,
176.5
],
"end": [
487.0,
-176.5
]
},
{
"type": "line",
"start": [
487.0,
-176.5
],
"end": [
-487.0,
-176.5
]
},
{
"type": "line",
"start": [
-487.0,
-176.5
],
"end": [
-487.0,
176.5
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
-487.0,
176.5
],
"end": [
487.0,
-176.5
]
},
{
"type": "line",
"start": [
-487.0,
-176.5
],
"end": [
487.0,
176.5
]
}
]
}
},
{
"id": "sk_003",
"name": "草图2",
"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": [
-440.0,
4.5
],
"end": [
-440.0,
-4.5
],
"center": [
-440.0,
0.0
],
"radius_mm": 4.5,
"clockwise": false
},
{
"type": "line",
"start": [
-440.0,
-4.5
],
"end": [
-410.0,
-4.5
]
},
{
"type": "arc",
"start": [
-410.0,
-4.5
],
"end": [
-410.0,
4.5
],
"center": [
-410.0,
-0.0
],
"radius_mm": 4.5,
"clockwise": false
},
{
"type": "line",
"start": [
-410.0,
4.5
],
"end": [
-440.0,
4.5
]
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "arc",
"start": [
440.0,
4.5
],
"end": [
440.0,
-4.5
],
"center": [
440.0,
-0.0
],
"radius_mm": 4.5,
"clockwise": true
},
{
"type": "line",
"start": [
440.0,
-4.5
],
"end": [
410.0,
-4.5
]
},
{
"type": "arc",
"start": [
410.0,
-4.5
],
"end": [
410.0,
4.5
],
"center": [
410.0,
-0.0
],
"radius_mm": 4.5,
"clockwise": true
},
{
"type": "line",
"start": [
410.0,
4.5
],
"end": [
440.0,
4.5
]
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "arc",
"start": [
-440.0,
134.5
],
"end": [
-440.0,
125.5
],
"center": [
-440.0,
130.0
],
"radius_mm": 4.5,
"clockwise": false
},
{
"type": "line",
"start": [
-440.0,
125.5
],
"end": [
-410.0,
125.5
]
},
{
"type": "arc",
"start": [
-410.0,
125.5
],
"end": [
-410.0,
134.5
],
"center": [
-410.0,
130.0
],
"radius_mm": 4.5,
"clockwise": false
},
{
"type": "line",
"start": [
-410.0,
134.5
],
"end": [
-440.0,
134.5
]
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "arc",
"start": [
410.0,
139.0
],
"end": [
410.0,
130.0
],
"center": [
410.0,
134.5
],
"radius_mm": 4.5,
"clockwise": false
},
{
"type": "line",
"start": [
410.0,
130.0
],
"end": [
440.0,
130.0
]
},
{
"type": "arc",
"start": [
440.0,
130.0
],
"end": [
440.0,
139.0
],
"center": [
440.0,
134.5
],
"radius_mm": 4.5,
"clockwise": false
},
{
"type": "line",
"start": [
440.0,
139.0
],
"end": [
410.0,
139.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
-440.0,
0.0
],
"end": [
-410.0,
-0.0
]
},
{
"type": "line",
"start": [
0.0,
176.5
],
"end": [
0.0,
-176.5
]
},
{
"type": "line",
"start": [
440.0,
-0.0
],
"end": [
410.0,
-0.0
]
},
{
"type": "line",
"start": [
-440.0,
130.0
],
"end": [
-410.0,
130.0
]
},
{
"type": "line",
"start": [
410.0,
134.5
],
"end": [
440.0,
134.5
]
}
]
}
},
{
"id": "sk_004",
"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": "circles",
"items": [
{
"center": [
-350.0,
-8.5
],
"radius_mm": 12.5
},
{
"center": [
350.0,
-8.5
],
"radius_mm": 12.5
}
]
}
}
]
},
"features": [
{
"id": "f_001",
"name": "Front",
"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": "Top",
"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": "Right",
"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": 25.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": 0.0,
"reverse": false,
"end_condition": {
"type": "through_all",
"solidworks_code": 1
}
},
"execution_status": "deferred",
"sketch_id": "sk_003"
},
{
"id": "f_006",
"name": "倒角1",
"atomic_id": "chamfer",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 10.0,
"angle_rad": 0.78539816339745
},
"execution_status": "deferred"
},
{
"id": "f_007",
"name": "M8 螺纹孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004"
],
"params": {
"hole_type": "底部螺纹孔",
"diameter_mm": 8.0,
"depth_mm": 15.0,
"end_condition": {
"solidworks_code": 1,
"type": "through_all"
},
"positions": [
{
"mm": [
-30.0,
138.5,
0.0
]
},
{
"mm": [
-30.0,
113.5,
0.0
]
},
{
"mm": [
30.0,
113.5,
0.0
]
},
{
"mm": [
30.0,
138.5,
0.0
]
}
],
"thread": {
"diameter_mm": 8.0,
"depth_mm": 15.0,
"class": "1B"
}
},
"execution_status": "deferred",
"unresolved": [
"hole has no captured semantic selections"
]
},
{
"id": "f_008",
"name": "Ø17.0 (17) 直径孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004"
],
"params": {
"hole_type": "钻孔大小",
"diameter_mm": 17.0,
"depth_mm": 25.0,
"end_condition": {
"solidworks_code": 1,
"type": "through_all"
},
"positions": [
{
"mm": [
350.0,
116.5,
0.0
]
},
{
"mm": [
350.0,
-8.5,
0.0
]
},
{
"mm": [
128.0,
-8.5,
0.0
]
},
{
"mm": [
-128.0,
-8.5,
0.0
]
},
{
"mm": [
-350.0,
-8.5,
0.0
]
},
{
"mm": [
-350.0,
116.5,
0.0
]
}
]
},
"execution_status": "deferred",
"unresolved": [
"hole has no captured semantic selections"
]
},
{
"id": "f_009",
"name": "M8 螺纹孔2",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004"
],
"params": {
"hole_type": "底部螺纹孔",
"diameter_mm": 8.0,
"depth_mm": 25.0,
"end_condition": {
"solidworks_code": 1,
"type": "through_all"
},
"positions": [
{
"mm": [
-426.0,
-158.5,
0.0
]
},
{
"mm": [
-426.0,
-49.5,
0.0
]
},
{
"mm": [
-142.0,
-158.5,
0.0
]
},
{
"mm": [
-142.0,
-49.5,
0.0
]
},
{
"mm": [
142.0,
-49.5,
0.0
]
},
{
"mm": [
142.0,
-158.5,
0.0
]
},
{
"mm": [
426.0,
-158.5,
0.0
]
},
{
"mm": [
426.0,
-49.5,
0.0
]
}
],
"thread": {
"diameter_mm": 8.0,
"depth_mm": 25.0,
"class": "1B"
}
},
"execution_status": "deferred",
"unresolved": [
"hole has no captured semantic selections"
]
},
{
"id": "f_010",
"name": "切除-拉伸2",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_004",
"f_008"
],
"params": {
"distance_mm": 2.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "supported",
"sketch_id": "sk_004"
}
],
"meta": {
"unit": "mm",
"source": "170690.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete_with_blockers",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 8.51119064603895,
"volume": 0.00851119064603895,
"surface_area": 0.7700917858891401,
"center_of_mass": [
8.950146124640945e-17,
0.012498573746668558,
0.0003558256188449236
],
"principal_moments": [
0.08894221313005626,
0.6689443395891008,
0.7570001403426432
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.487,
0.0,
-0.17649999999999996,
0.48700000000000004,
0.025,
0.17650000000000002
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "切除-拉伸2",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAYAAABsAAAAawAAAGkAAABoAAAAZgAAAGUAAAA=",
"persist_reference_sha256": "f4c2afc112a2a65766434da6dae948413d2778ea7d671daefbf8ec681999445f",
"component": null,
"geometry": {
"box": [
-0.487,
0.0,
-0.17649999999999996,
0.48700000000000004,
0.025,
0.17650000000000002
],
"face_count": 48,
"edge_count": 112,
"vertex_count": 48
},
"stable_id": "f4c2afc112a2a65766434da6dae948413d2778ea7d671daefbf8ec681999445f"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 68,
"surface_counts": {
"cylinder": 48,
"plane": 20
},
"axis_count": 48,
"repeat_spacings_mm": [
{
"spacing_mm": 284.0,
"pair_count": 6
},
{
"spacing_mm": 304.1989,
"pair_count": 6
},
{
"spacing_mm": 109.0,
"pair_count": 4
},
{
"spacing_mm": 578.3641,
"pair_count": 4
},
{
"spacing_mm": 568.0,
"pair_count": 4
},
{
"spacing_mm": 30.0,
"pair_count": 4
},
{
"spacing_mm": 700.0,
"pair_count": 3
},
{
"spacing_mm": 343.2098,
"pair_count": 3
},
{
"spacing_mm": 168.1666,
"pair_count": 2
},
{
"spacing_mm": 86.3771,
"pair_count": 2
},
{
"spacing_mm": 256.4527,
"pair_count": 2
},
{
"spacing_mm": 212.0118,
"pair_count": 2
}
],
"metrics": {
"bounding_box_mm": [
-487.0,
0.0,
-176.5,
487.0,
25.0,
176.5
],
"volume_mm3": 8511190.646038951,
"surface_area_mm2": 770091.78588914,
"solid_count": 1,
"face_count": 68,
"edge_count": 192,
"vertex_count": 128
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-487.0,
0.0,
-176.5,
487.0,
25.0,
176.5
],
"volume_mm3": 8511190.64603895,
"surface_area_mm2": 770091.78588914,
"solid_count": 1,
"face_count": 48,
"edge_count": 112,
"vertex_count": 48
},
"comparisons": {
"volume_mm3": {
"expected": 8511190.64603895,
"actual": 8511190.646038951,
"absolute_delta": 1.862645149230957e-09,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 770091.78588914,
"actual": 770091.78588914,
"absolute_delta": 0.0,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-487.0,
0.0,
-176.5,
487.0,
25.0,
176.5
],
"actual": [
-487.0,
0.0,
-176.5,
487.0,
25.0,
176.5
],
"max_absolute_delta": 0.0,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 48,
"actual": 68,
"matches": false
},
"edge_count": {
"expected": 112,
"actual": 192,
"matches": false
},
"vertex_count": {
"expected": 48,
"actual": 128,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}