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

815 lines
18 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "058708",
"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": [
-52.5,
45.0
],
"end": [
-52.5,
0.0
]
},
{
"type": "line",
"start": [
-52.5,
0.0
],
"end": [
-21.0,
0.0
]
},
{
"type": "line",
"start": [
-21.0,
0.0
],
"end": [
-21.0,
4.0
]
},
{
"type": "line",
"start": [
-21.0,
4.0
],
"end": [
21.0,
4.0
]
},
{
"type": "line",
"start": [
21.0,
4.0
],
"end": [
21.0,
0.0
]
},
{
"type": "line",
"start": [
21.0,
0.0
],
"end": [
52.5,
0.0
]
},
{
"type": "line",
"start": [
52.5,
0.0
],
"end": [
52.5,
45.0
]
},
{
"type": "line",
"start": [
52.5,
45.0
],
"end": [
35.5,
45.0
]
},
{
"type": "line",
"start": [
35.5,
45.0
],
"end": [
35.5,
19.0
]
},
{
"type": "line",
"start": [
35.5,
19.0
],
"end": [
-35.5,
19.0
]
},
{
"type": "line",
"start": [
-35.5,
19.0
],
"end": [
-35.5,
45.0
]
},
{
"type": "line",
"start": [
-35.5,
45.0
],
"end": [
-52.5,
45.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
0.0,
41.278276004
]
}
]
}
},
{
"id": "sk_003",
"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": "circles",
"items": [
{
"center": [
44.0,
0.0
],
"radius_mm": 2.5
},
{
"center": [
-44.0,
0.0
],
"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_004",
"name": "凸台-拉伸1",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_001"
],
"params": {
"distance_mm": 75.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": "M5 凹头盖螺钉的柱形沉头孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004"
],
"params": {
"hole_type": "凹头盖螺钉 - ANSI B18.3.1M",
"diameter_mm": 5.5,
"depth_mm": 19.0,
"end_condition": {
"solidworks_code": 1,
"type": "through_all"
},
"positions": [
{
"mm": [
15.0,
-15.0,
0.0
]
},
{
"mm": [
-15.0,
-15.0,
0.0
]
},
{
"mm": [
-15.0,
15.0,
0.0
]
},
{
"mm": [
15.0,
15.0,
0.0
]
}
],
"counterbore": {
"diameter_mm": 10.0,
"depth_mm": 5.0
}
},
"execution_status": "deferred",
"sketch_id": "sk_001",
"unresolved": [
"hole has no captured semantic selections"
]
},
{
"id": "f_006",
"name": "M6x1.0 螺纹孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004"
],
"params": {
"hole_type": "底部螺纹孔",
"diameter_mm": 6.0,
"depth_mm": 15.0,
"end_condition": {
"solidworks_code": 0,
"type": "blind"
},
"positions": [
{
"mm": [
44.0,
-23.0,
0.0
]
},
{
"mm": [
-44.0,
-23.0,
0.0
]
},
{
"mm": [
-44.0,
23.0,
0.0
]
},
{
"mm": [
44.0,
23.0,
0.0
]
}
],
"thread": {
"diameter_mm": 6.0,
"depth_mm": 15.0,
"class": "1B"
}
},
"execution_status": "deferred",
"sketch_id": "sk_001",
"unresolved": [
"hole has no captured semantic selections"
]
},
{
"id": "f_007",
"name": "M3x0.5 螺纹孔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": [
13.541246567,
43.194196139,
0.0
]
},
{
"mm": [
23.541246567,
43.194196139,
0.0
]
}
],
"thread": {
"diameter_mm": 3.0,
"depth_mm": 6.0,
"class": "1B"
}
},
"execution_status": "deferred",
"sketch_id": "sk_001",
"unresolved": [
"hole has no captured semantic selections"
]
},
{
"id": "f_008",
"name": "切除-拉伸1",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 6.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "supported",
"sketch_id": "sk_003"
},
{
"id": "f_009",
"name": "M3x0.5 螺纹孔2",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004",
"f_007"
],
"params": {
"hole_type": "底部螺纹孔",
"diameter_mm": 3.0,
"depth_mm": 6.0,
"end_condition": {
"solidworks_code": 0,
"type": "blind"
},
"positions": [
{
"mm": [
20.0,
28.0,
0.0
]
},
{
"mm": [
30.0,
28.0,
0.0
]
}
],
"thread": {
"diameter_mm": 3.0,
"depth_mm": 6.0,
"class": "1B"
}
},
"execution_status": "deferred",
"unresolved": [
"hole has no captured semantic selections"
]
}
],
"meta": {
"unit": "mm",
"source": "058708.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete_with_blockers",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.5372024331008034,
"volume": 0.00019896386411140865,
"surface_area": 0.035113890883311474,
"center_of_mass": [
4.289541601377481e-11,
0.017175439699584162,
1.9033536825520254e-05
],
"principal_moments": [
0.00032880858814351364,
0.0007810583820364751,
0.0009590926992608694
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.05250000000000001,
0.0,
-0.0375,
0.052500000000000005,
0.045,
0.0375
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "M3x0.5 螺纹孔2",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAYAAABxAAAAcAAAAG8AAABsAAAAawAAAGoAAAA=",
"persist_reference_sha256": "68ab09cad198824a25eb11ad885d61061eda6297b057223139e0d0ae3a8cf1a7",
"component": null,
"geometry": {
"box": [
-0.05250000000000001,
0.0,
-0.0375,
0.052500000000000005,
0.045,
0.0375
],
"face_count": 46,
"edge_count": 80,
"vertex_count": 40
},
"stable_id": "68ab09cad198824a25eb11ad885d61061eda6297b057223139e0d0ae3a8cf1a7"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 72,
"surface_counts": {
"cone": 16,
"cylinder": 36,
"plane": 20
},
"axis_count": 52,
"repeat_spacings_mm": [
{
"spacing_mm": 88.0,
"pair_count": 5
},
{
"spacing_mm": 7.5,
"pair_count": 4
},
{
"spacing_mm": 10.0,
"pair_count": 4
},
{
"spacing_mm": 12.5,
"pair_count": 4
},
{
"spacing_mm": 97.5,
"pair_count": 4
},
{
"spacing_mm": 98.0115,
"pair_count": 4
},
{
"spacing_mm": 23.7697,
"pair_count": 4
},
{
"spacing_mm": 25.9422,
"pair_count": 4
},
{
"spacing_mm": 91.1537,
"pair_count": 4
},
{
"spacing_mm": 91.7442,
"pair_count": 4
},
{
"spacing_mm": 38.2884,
"pair_count": 4
},
{
"spacing_mm": 64.0781,
"pair_count": 4
}
],
"metrics": {
"bounding_box_mm": [
-52.5000001,
-0.0,
-37.5,
52.5000001,
45.0000001,
37.5
],
"volume_mm3": 198963.864892732,
"surface_area_mm2": 35113.890590322,
"solid_count": 1,
"face_count": 72,
"edge_count": 174,
"vertex_count": 114
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-52.5,
0.0,
-37.5,
52.5,
45.0,
37.5
],
"volume_mm3": 198963.864111409,
"surface_area_mm2": 35113.890883311,
"solid_count": 1,
"face_count": 46,
"edge_count": 80,
"vertex_count": 40
},
"comparisons": {
"volume_mm3": {
"expected": 198963.864111409,
"actual": 198963.864892732,
"absolute_delta": 0.0007813230040483177,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 35113.890883311,
"actual": 35113.890590322,
"absolute_delta": 0.00029298900335561484,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-52.5,
0.0,
-37.5,
52.5,
45.0,
37.5
],
"actual": [
-52.5000001,
-0.0,
-37.5,
52.5000001,
45.0000001,
37.5
],
"max_absolute_delta": 1.0000000116860974e-07,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 46,
"actual": 72,
"matches": false
},
"edge_count": {
"expected": 80,
"actual": 174,
"matches": false
},
"vertex_count": {
"expected": 40,
"actual": 114,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}