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

946 lines
20 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "096301",
"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": [
0.0,
0.0
],
"end": [
60.0,
0.0
]
},
{
"type": "line",
"start": [
60.0,
0.0
],
"end": [
60.0,
25.0
]
},
{
"type": "line",
"start": [
60.0,
25.0
],
"end": [
0.0,
25.0
]
},
{
"type": "line",
"start": [
0.0,
25.0
],
"end": [
0.0,
0.0
]
}
]
}
]
}
},
{
"id": "sk_003",
"name": "草图6",
"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": [
0.0,
5.0
],
"end": [
-8.0,
5.0
]
},
{
"type": "line",
"start": [
-8.0,
5.0
],
"end": [
-8.0,
13.5
]
},
{
"type": "line",
"start": [
-8.0,
13.5
],
"end": [
-3.5,
13.5
]
},
{
"type": "line",
"start": [
-3.5,
13.5
],
"end": [
-3.5,
17.0
]
},
{
"type": "line",
"start": [
-3.5,
17.0
],
"end": [
0.0,
17.0
]
},
{
"type": "line",
"start": [
0.0,
17.0
],
"end": [
0.0,
5.0
]
}
]
}
]
}
},
{
"id": "sk_004",
"name": "草图7",
"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": [
-2.4,
22.0
],
"end": [
-4.8,
22.0
]
},
{
"type": "line",
"start": [
-4.8,
22.0
],
"end": [
-4.8,
22.35
]
},
{
"type": "line",
"start": [
-4.8,
22.35
],
"end": [
-27.0,
22.35
]
},
{
"type": "line",
"start": [
-27.0,
22.35
],
"end": [
-27.0,
25.0
]
},
{
"type": "line",
"start": [
-27.0,
25.0
],
"end": [
0.0,
25.0
]
},
{
"type": "line",
"start": [
0.0,
25.0
],
"end": [
0.0,
20.2
]
},
{
"type": "line",
"start": [
0.0,
20.2
],
"end": [
-1.003320569,
20.2
]
},
{
"type": "line",
"start": [
-1.003320569,
20.2
],
"end": [
-2.4,
22.0
]
}
]
}
]
}
},
{
"id": "sk_005",
"name": "草图8",
"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": [
-30.178905878,
8.5
],
"end": [
5.494973811,
8.5
]
},
{
"type": "line",
"start": [
5.494973811,
8.5
],
"end": [
5.494973811,
0.0
]
},
{
"type": "line",
"start": [
5.494973811,
0.0
],
"end": [
-30.178905878,
0.0
]
},
{
"type": "line",
"start": [
-30.178905878,
0.0
],
"end": [
-30.178905878,
8.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": 27.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"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": "切除-拉伸4",
"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_006",
"name": "切除-拉伸5",
"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_007",
"name": "倒角1",
"atomic_id": "chamfer",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 1.0,
"angle_rad": 0.78539816339745
},
"execution_status": "deferred"
},
{
"id": "f_008",
"name": "切除-拉伸6",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_004",
"f_007"
],
"params": {
"distance_mm": 0.0,
"reverse": false,
"end_condition": {
"type": "through_all",
"solidworks_code": 1
}
},
"execution_status": "deferred",
"sketch_id": "sk_005"
},
{
"id": "f_009",
"name": "M6 六角凹头螺钉的柱形沉头孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_006",
"f_004",
"f_007"
],
"params": {
"hole_type": "六角凹头 ISO 4762",
"diameter_mm": 6.6,
"depth_mm": 19.75,
"end_condition": {
"solidworks_code": 0,
"type": "blind"
},
"positions": [
{
"mm": [
52.0,
-19.0,
0.0
]
},
{
"mm": [
8.0,
-19.0,
0.0
]
},
{
"mm": [
30.0,
-19.0,
0.0
]
}
],
"counterbore": {
"diameter_mm": 11.0,
"depth_mm": 6.4
}
},
"execution_status": "deferred",
"unresolved": [
"hole has no captured semantic selections"
]
},
{
"id": "f_010",
"name": "M3 螺纹孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_006",
"f_004",
"f_007"
],
"params": {
"hole_type": "底部螺纹孔",
"diameter_mm": 3.0,
"depth_mm": 6.0,
"end_condition": {
"solidworks_code": 0,
"type": "blind"
},
"positions": [
{
"mm": [
43.0,
-23.0,
0.0
]
},
{
"mm": [
43.0,
-18.0,
0.0
]
},
{
"mm": [
43.0,
-13.0,
0.0
]
},
{
"mm": [
56.5,
-13.0,
0.0
]
},
{
"mm": [
56.5,
-25.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": "096301.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete_with_blockers",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.016207667711633487,
"volume": 1.6207667711633488e-05,
"surface_area": 0.006661540147472197,
"center_of_mass": [
0.02972872798066125,
0.015671366386944507,
0.014715435806873595
],
"principal_moments": [
1.1069003953423919e-06,
4.980782972130623e-06,
5.6328061893222384e-06
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
0.0,
0.0085,
0.0,
0.06,
0.022350000000000002,
0.027
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "M3 螺纹孔1",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAYAAAB0AAAAcwAAAHIAAABxAAAAbgAAAGoAAAA=",
"persist_reference_sha256": "5c8f3e38c5cd469c95613b5bd9b88d1968adb79308142785d2dc26e5ad0ead7b",
"component": null,
"geometry": {
"box": [
0.0,
0.0085,
0.0,
0.06,
0.022350000000000002,
0.027
],
"face_count": 47,
"edge_count": 84,
"vertex_count": 41
},
"stable_id": "5c8f3e38c5cd469c95613b5bd9b88d1968adb79308142785d2dc26e5ad0ead7b"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 66,
"surface_counts": {
"cone": 16,
"cylinder": 22,
"plane": 28
},
"axis_count": 38,
"repeat_spacings_mm": [
{
"spacing_mm": 7.5,
"pair_count": 7
},
{
"spacing_mm": 5.0,
"pair_count": 4
},
{
"spacing_mm": 9.0139,
"pair_count": 4
},
{
"spacing_mm": 10.0,
"pair_count": 2
},
{
"spacing_mm": 12.5,
"pair_count": 2
},
{
"spacing_mm": 16.8003,
"pair_count": 2
},
{
"spacing_mm": 18.3984,
"pair_count": 2
},
{
"spacing_mm": 13.6473,
"pair_count": 2
},
{
"spacing_mm": 15.5724,
"pair_count": 2
},
{
"spacing_mm": 14.3962,
"pair_count": 2
},
{
"spacing_mm": 16.2327,
"pair_count": 2
},
{
"spacing_mm": 15.2069,
"pair_count": 2
}
],
"metrics": {
"bounding_box_mm": [
0.0,
8.5,
-0.0,
60.0,
22.35,
27.0
],
"volume_mm3": 16207.667711633,
"surface_area_mm2": 6661.540147472,
"solid_count": 1,
"face_count": 66,
"edge_count": 147,
"vertex_count": 91
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
0.0,
8.5,
0.0,
60.0,
22.35,
27.0
],
"volume_mm3": 16207.667711633,
"surface_area_mm2": 6661.540147472,
"solid_count": 1,
"face_count": 47,
"edge_count": 84,
"vertex_count": 41
},
"comparisons": {
"volume_mm3": {
"expected": 16207.667711633,
"actual": 16207.667711633,
"absolute_delta": 0.0,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 6661.540147472,
"actual": 6661.540147472,
"absolute_delta": 0.0,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
0.0,
8.5,
0.0,
60.0,
22.35,
27.0
],
"actual": [
0.0,
8.5,
-0.0,
60.0,
22.35,
27.0
],
"max_absolute_delta": 0.0,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 47,
"actual": 66,
"matches": false
},
"edge_count": {
"expected": 84,
"actual": 147,
"matches": false
},
"vertex_count": {
"expected": 41,
"actual": 91,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}