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

826 lines
18 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "146415",
"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": [
-60.0,
-20.0
],
"end": [
60.0,
-20.0
]
},
{
"type": "line",
"start": [
60.0,
-20.0
],
"end": [
60.0,
20.0
]
},
{
"type": "line",
"start": [
60.0,
20.0
],
"end": [
-60.0,
20.0
]
},
{
"type": "line",
"start": [
-60.0,
20.0
],
"end": [
-60.0,
-20.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
-89.73845903,
0.0
],
"end": [
88.260065965,
0.0
]
},
{
"type": "line",
"start": [
0.0,
66.379848607
],
"end": [
0.0,
-71.727703623
]
},
{
"type": "line",
"start": [
-60.0,
-20.0
],
"end": [
60.0,
20.0
]
},
{
"type": "line",
"start": [
-60.0,
20.0
],
"end": [
60.0,
-20.0
]
}
]
}
},
{
"id": "sk_003",
"name": "草图5",
"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": [
45.0,
0.0
],
"radius_mm": 6.0
},
{
"center": [
-45.0,
-0.0
],
"radius_mm": 6.0
}
]
}
},
{
"id": "sk_004",
"name": "草图8",
"role": "profile",
"workplane": {
"origin_mm": [
15.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": [
-60.0,
8.0
],
"end": [
-15.0,
8.0
]
},
{
"type": "line",
"start": [
-15.0,
8.0
],
"end": [
-15.0,
-8.0
]
},
{
"type": "line",
"start": [
-15.0,
-8.0
],
"end": [
-60.0,
-8.0
]
},
{
"type": "line",
"start": [
-60.0,
-8.0
],
"end": [
-60.0,
8.0
]
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "line",
"start": [
15.0,
8.0
],
"end": [
15.0,
-8.0
]
},
{
"type": "line",
"start": [
15.0,
-8.0
],
"end": [
60.0,
-8.0
]
},
{
"type": "line",
"start": [
60.0,
-8.0
],
"end": [
60.0,
8.0
]
},
{
"type": "line",
"start": [
60.0,
8.0
],
"end": [
15.0,
8.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
44.348832313,
0.0
],
"end": [
-45.317617485,
0.0
]
},
{
"type": "line",
"start": [
0.0,
22.335880352
],
"end": [
0.0,
-22.120594758
]
}
]
}
}
]
},
"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": 30.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": "切除-拉伸2",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 20.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "supported",
"sketch_id": "sk_003"
},
{
"id": "f_006",
"name": "M18x1.5 螺纹孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004"
],
"params": {
"hole_type": "底部螺纹孔",
"diameter_mm": 18.0,
"depth_mm": 30.0,
"end_condition": {
"solidworks_code": 1,
"type": "through_all"
},
"positions": [
{
"mm": [
0.0,
0.0,
0.0
]
}
],
"thread": {
"diameter_mm": 18.0,
"depth_mm": 30.0,
"class": "1B"
}
},
"execution_status": "deferred",
"sketch_id": "sk_001",
"unresolved": [
"hole has no captured semantic selections"
]
},
{
"id": "f_007",
"name": "切除-拉伸3",
"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_004"
},
{
"id": "f_008",
"name": "圆角1",
"atomic_id": "fillet",
"depends_on": [
"f_004"
],
"params": {
"radius_mm": 10.0,
"tangent_propagation": false
},
"execution_status": "deferred"
},
{
"id": "f_009",
"name": "M12 螺纹孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004"
],
"params": {
"hole_type": "底部螺纹孔",
"diameter_mm": 12.0,
"depth_mm": 12.0,
"end_condition": {
"solidworks_code": 1,
"type": "through_all"
},
"positions": [
{
"mm": [
-45.0,
-0.0,
0.0
]
},
{
"mm": [
45.0,
-0.0,
0.0
]
}
],
"thread": {
"diameter_mm": 12.0,
"depth_mm": 12.0,
"class": "1B"
}
},
"execution_status": "deferred",
"sketch_id": "sk_001",
"unresolved": [
"hole has no captured semantic selections"
]
}
],
"meta": {
"unit": "mm",
"source": "146415.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete_with_blockers",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.6880496662935637,
"volume": 8.764963901828837e-05,
"surface_area": 0.022986640522752268,
"center_of_mass": [
1.0253844129574246e-17,
0.00012031077004830104,
2.244165912948198e-19
],
"principal_moments": [
0.0001842055546951793,
0.0007454568047076736,
0.0008244926983127342
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.059999999999999984,
-0.02,
-0.015,
0.06000000000000001,
0.02,
0.015
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "M12 螺纹孔1",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAUAAAB0AAAAcwAAAG4AAAByAAAAagAAAA==",
"persist_reference_sha256": "2921807d3a04f33a19373d35776d0865a975d109bf15628af3dee4b7bed9496f",
"component": null,
"geometry": {
"box": [
-0.059999999999999984,
-0.02,
-0.015,
0.06000000000000001,
0.02,
0.015
],
"face_count": 27,
"edge_count": 70,
"vertex_count": 40
},
"stable_id": "2921807d3a04f33a19373d35776d0865a975d109bf15628af3dee4b7bed9496f"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 32,
"surface_counts": {
"cylinder": 18,
"plane": 14
},
"axis_count": 18,
"repeat_spacings_mm": [
{
"spacing_mm": 97.2111,
"pair_count": 4
},
{
"spacing_mm": 21.2132,
"pair_count": 4
},
{
"spacing_mm": 90.0,
"pair_count": 2
},
{
"spacing_mm": 51.4782,
"pair_count": 2
},
{
"spacing_mm": 92.1954,
"pair_count": 2
},
{
"spacing_mm": 20.0,
"pair_count": 2
},
{
"spacing_mm": 103.1988,
"pair_count": 2
},
{
"spacing_mm": 40.6202,
"pair_count": 2
},
{
"spacing_mm": 47.4342,
"pair_count": 2
},
{
"spacing_mm": 50.9902,
"pair_count": 2
},
{
"spacing_mm": 57.4456,
"pair_count": 2
},
{
"spacing_mm": 7.0711,
"pair_count": 2
}
],
"metrics": {
"bounding_box_mm": [
-60.0,
-20.0,
-15.0,
60.0,
20.0,
15.0
],
"volume_mm3": 87649.639018288,
"surface_area_mm2": 22986.640522752,
"solid_count": 1,
"face_count": 32,
"edge_count": 90,
"vertex_count": 60
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-60.0,
-20.0,
-15.0,
60.0,
20.0,
15.0
],
"volume_mm3": 87649.639018288,
"surface_area_mm2": 22986.640522752,
"solid_count": 1,
"face_count": 27,
"edge_count": 70,
"vertex_count": 40
},
"comparisons": {
"volume_mm3": {
"expected": 87649.639018288,
"actual": 87649.639018288,
"absolute_delta": 0.0,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 22986.640522752,
"actual": 22986.640522752,
"absolute_delta": 0.0,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-60.0,
-20.0,
-15.0,
60.0,
20.0,
15.0
],
"actual": [
-60.0,
-20.0,
-15.0,
60.0,
20.0,
15.0
],
"max_absolute_delta": 0.0,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 27,
"actual": 32,
"matches": false
},
"edge_count": {
"expected": 70,
"actual": 90,
"matches": false
},
"vertex_count": {
"expected": 40,
"actual": 60,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}