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

1283 lines
28 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "160434",
"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": [
175.0,
0.0
]
},
{
"type": "line",
"start": [
175.0,
0.0
],
"end": [
175.0,
190.0
]
},
{
"type": "line",
"start": [
175.0,
190.0
],
"end": [
-0.0,
190.0
]
},
{
"type": "line",
"start": [
-0.0,
190.0
],
"end": [
0.0,
0.0
]
}
]
}
]
}
},
{
"id": "sk_003",
"name": "草图6",
"role": "profile",
"workplane": {
"origin_mm": [
14.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": "arc",
"start": [
25.0,
50.0
],
"end": [
30.0,
45.0
],
"center": [
30.0,
50.0
],
"radius_mm": 5.0,
"clockwise": false
},
{
"type": "line",
"start": [
30.0,
45.0
],
"end": [
70.0,
45.0
]
},
{
"type": "arc",
"start": [
70.0,
45.0
],
"end": [
75.0,
50.0
],
"center": [
70.0,
50.0
],
"radius_mm": 5.0,
"clockwise": false
},
{
"type": "line",
"start": [
75.0,
50.0
],
"end": [
75.0,
140.0
]
},
{
"type": "arc",
"start": [
75.0,
140.0
],
"end": [
70.0,
145.0
],
"center": [
70.0,
140.0
],
"radius_mm": 5.0,
"clockwise": true
},
{
"type": "line",
"start": [
70.0,
145.0
],
"end": [
30.0,
145.0
]
},
{
"type": "arc",
"start": [
30.0,
145.0
],
"end": [
25.0,
140.0
],
"center": [
30.0,
140.0
],
"radius_mm": 5.0,
"clockwise": false
},
{
"type": "line",
"start": [
25.0,
140.0
],
"end": [
25.0,
50.0
]
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "arc",
"start": [
145.0,
145.0
],
"end": [
150.0,
140.0
],
"center": [
145.0,
140.0
],
"radius_mm": 5.0,
"clockwise": true
},
{
"type": "line",
"start": [
150.0,
140.0
],
"end": [
150.0,
50.0
]
},
{
"type": "arc",
"start": [
150.0,
50.0
],
"end": [
145.0,
45.0
],
"center": [
145.0,
50.0
],
"radius_mm": 5.0,
"clockwise": true
},
{
"type": "line",
"start": [
145.0,
45.0
],
"end": [
105.0,
45.0
]
},
{
"type": "arc",
"start": [
105.0,
45.0
],
"end": [
100.0,
50.0
],
"center": [
105.0,
50.0
],
"radius_mm": 5.0,
"clockwise": true
},
{
"type": "line",
"start": [
100.0,
50.0
],
"end": [
100.0,
140.0
]
},
{
"type": "arc",
"start": [
100.0,
140.0
],
"end": [
105.0,
145.0
],
"center": [
105.0,
140.0
],
"radius_mm": 5.0,
"clockwise": false
},
{
"type": "line",
"start": [
105.0,
145.0
],
"end": [
145.0,
145.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
87.5,
190.0
],
"end": [
87.5,
0.0
]
},
{
"type": "line",
"start": [
-0.0,
95.0
],
"end": [
175.0,
95.0
]
},
{
"type": "line",
"start": [
150.0,
45.0
],
"end": [
100.0,
145.0
]
},
{
"type": "line",
"start": [
25.0,
145.0
],
"end": [
75.0,
45.0
]
},
{
"type": "line",
"start": [
25.0,
45.0
],
"end": [
75.0,
145.0
]
},
{
"type": "line",
"start": [
150.0,
145.0
],
"end": [
100.0,
45.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_004",
"name": "凸台-拉伸1",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_001"
],
"params": {
"distance_mm": 14.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": "M6 六角凹头螺钉的柱形沉头孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004"
],
"params": {
"hole_type": "六角凹头 ISO 4762",
"diameter_mm": 6.5,
"depth_mm": 14.0,
"end_condition": {
"solidworks_code": 2,
"type": "through_all_both"
},
"positions": [
{
"mm": [
26.5,
156.0,
0.0
]
},
{
"mm": [
118.5,
156.0,
0.0
]
},
{
"mm": [
148.5,
156.0,
0.0
]
},
{
"mm": [
26.5,
34.0,
0.0
]
},
{
"mm": [
118.5,
34.0,
0.0
]
},
{
"mm": [
148.5,
34.0,
0.0
]
},
{
"mm": [
56.5,
34.0,
0.0
]
},
{
"mm": [
56.5,
156.0,
0.0
]
}
],
"counterbore": {
"diameter_mm": 11.0,
"depth_mm": 6.5
},
"host_face": {
"kind": "face",
"stable_id": "step-face-a08d2a814a65e43cd61c6237",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
-0.0,
0.0,
0.0,
175.0,
190.0,
0.0
],
"center_mm": [
87.5,
95.0,
0.0
],
"normal": [
0.0,
0.0,
-1.0
],
"surface_type": "plane"
}
}
},
"execution_status": "deferred",
"selectors": [
{
"kind": "face",
"stable_id": "step-face-a08d2a814a65e43cd61c6237",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
-0.0,
0.0,
0.0,
175.0,
190.0,
0.0
],
"center_mm": [
87.5,
95.0,
0.0
],
"normal": [
0.0,
0.0,
-1.0
],
"surface_type": "plane"
}
}
]
},
{
"id": "f_006",
"name": "大小mm 暗销孔0",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004"
],
"params": {
"hole_type": "暗销孔",
"diameter_mm": 6.0,
"depth_mm": 14.0,
"end_condition": {
"solidworks_code": 2,
"type": "through_all_both"
},
"positions": [
{
"mm": [
57.5,
180.0,
0.0
]
},
{
"mm": [
117.5,
180.0,
0.0
]
},
{
"mm": [
117.5,
10.0,
0.0
]
},
{
"mm": [
57.5,
10.0,
0.0
]
}
],
"host_face": {
"kind": "face",
"stable_id": "step-face-a08d2a814a65e43cd61c6237",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
-0.0,
0.0,
0.0,
175.0,
190.0,
0.0
],
"center_mm": [
87.5,
95.0,
0.0
],
"normal": [
0.0,
0.0,
-1.0
],
"surface_type": "plane"
}
}
},
"execution_status": "deferred",
"selectors": [
{
"kind": "face",
"stable_id": "step-face-a08d2a814a65e43cd61c6237",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
-0.0,
0.0,
0.0,
175.0,
190.0,
0.0
],
"center_mm": [
87.5,
95.0,
0.0
],
"normal": [
0.0,
0.0,
-1.0
],
"surface_type": "plane"
}
}
]
},
{
"id": "f_007",
"name": "切除-拉伸1",
"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": "deferred",
"sketch_id": "sk_003"
},
{
"id": "f_008",
"name": "M8 六角凹头螺钉的柱形沉头孔2",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004"
],
"params": {
"hole_type": "六角凹头 ISO 4762",
"diameter_mm": 9.0,
"depth_mm": 14.0,
"end_condition": {
"solidworks_code": 2,
"type": "through_all_both"
},
"positions": [
{
"mm": [
27.5,
180.0,
0.0
]
},
{
"mm": [
87.5,
180.0,
0.0
]
},
{
"mm": [
147.5,
180.0,
0.0
]
},
{
"mm": [
87.5,
10.0,
0.0
]
},
{
"mm": [
147.5,
10.0,
0.0
]
},
{
"mm": [
27.5,
10.0,
0.0
]
}
],
"counterbore": {
"diameter_mm": 15.0,
"depth_mm": 8.6
},
"host_face": {
"kind": "face",
"stable_id": "step-face-a08d2a814a65e43cd61c6237",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
-0.0,
0.0,
0.0,
175.0,
190.0,
0.0
],
"center_mm": [
87.5,
95.0,
0.0
],
"normal": [
0.0,
0.0,
-1.0
],
"surface_type": "plane"
}
}
},
"execution_status": "deferred",
"selectors": [
{
"kind": "face",
"stable_id": "step-face-a08d2a814a65e43cd61c6237",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
-0.0,
0.0,
0.0,
175.0,
190.0,
0.0
],
"center_mm": [
87.5,
95.0,
0.0
],
"normal": [
0.0,
0.0,
-1.0
],
"surface_type": "plane"
}
}
]
},
{
"id": "f_009",
"name": "大小mm 暗销孔0",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004"
],
"params": {
"hole_type": "暗销孔",
"diameter_mm": 6.0,
"depth_mm": 14.0,
"end_condition": {
"solidworks_code": 2,
"type": "through_all_both"
},
"positions": [
{
"mm": [
57.5,
180.0,
0.0
]
},
{
"mm": [
117.5,
180.0,
0.0
]
},
{
"mm": [
117.5,
10.0,
0.0
]
},
{
"mm": [
57.5,
10.0,
0.0
]
}
],
"host_face": {
"kind": "face",
"stable_id": "step-face-a08d2a814a65e43cd61c6237",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
-0.0,
0.0,
0.0,
175.0,
190.0,
0.0
],
"center_mm": [
87.5,
95.0,
0.0
],
"normal": [
0.0,
0.0,
-1.0
],
"surface_type": "plane"
}
}
},
"execution_status": "deferred",
"selectors": [
{
"kind": "face",
"stable_id": "step-face-a08d2a814a65e43cd61c6237",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
-0.0,
0.0,
0.0,
175.0,
190.0,
0.0
],
"center_mm": [
87.5,
95.0,
0.0
],
"normal": [
0.0,
0.0,
-1.0
],
"surface_type": "plane"
}
}
]
},
{
"id": "f_010",
"name": "倒角1",
"atomic_id": "chamfer",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 4.0,
"angle_rad": 0.78539816339745
},
"execution_status": "deferred"
}
],
"meta": {
"unit": "mm",
"source": "160434.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete_with_blockers",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.8239467417056983,
"volume": 0.00030516545989099934,
"surface_area": 0.07108989829757903,
"center_of_mass": [
0.08749999999999994,
0.095,
0.007012111299360617
],
"principal_moments": [
0.002484376644858479,
0.0031456972977573616,
0.005603089541447625
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-5.551115123125783e-17,
0.0,
0.0,
0.175,
0.19,
0.014000000000000002
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "倒角1",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAYAAABvAAAAbgAAAG0AAABsAAAAawAAAGoAAAA=",
"persist_reference_sha256": "0700f756110bac580a894a776e7fad79b4c66f1a06972cbecee080a0df0d2cc3",
"component": null,
"geometry": {
"box": [
-5.434249541586293e-17,
0.0,
0.0,
0.175,
0.19,
0.014000000000000002
],
"face_count": 74,
"edge_count": 140,
"vertex_count": 48
},
"stable_id": "0700f756110bac580a894a776e7fad79b4c66f1a06972cbecee080a0df0d2cc3"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 108,
"surface_counts": {
"cylinder": 76,
"plane": 32
},
"axis_count": 76,
"repeat_spacings_mm": [
{
"spacing_mm": 33.1059,
"pair_count": 8
},
{
"spacing_mm": 173.1935,
"pair_count": 8
},
{
"spacing_mm": 122.0,
"pair_count": 7
},
{
"spacing_mm": 60.0,
"pair_count": 6
},
{
"spacing_mm": 180.2776,
"pair_count": 6
},
{
"spacing_mm": 170.0,
"pair_count": 5
},
{
"spacing_mm": 158.4677,
"pair_count": 4
},
{
"spacing_mm": 66.1211,
"pair_count": 4
},
{
"spacing_mm": 149.0503,
"pair_count": 4
},
{
"spacing_mm": 38.4187,
"pair_count": 4
},
{
"spacing_mm": 136.4001,
"pair_count": 4
},
{
"spacing_mm": 125.8769,
"pair_count": 4
}
],
"metrics": {
"bounding_box_mm": [
-0.0,
0.0,
0.0,
175.0,
190.0,
14.0
],
"volume_mm3": 305165.459890999,
"surface_area_mm2": 71089.898297579,
"solid_count": 1,
"face_count": 108,
"edge_count": 276,
"vertex_count": 184
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-0.0,
0.0,
0.0,
175.0,
190.0,
14.0
],
"volume_mm3": 305165.459890999,
"surface_area_mm2": 71089.898297579,
"solid_count": 1,
"face_count": 74,
"edge_count": 140,
"vertex_count": 48
},
"comparisons": {
"volume_mm3": {
"expected": 305165.459890999,
"actual": 305165.459890999,
"absolute_delta": 0.0,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 71089.898297579,
"actual": 71089.898297579,
"absolute_delta": 0.0,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-0.0,
0.0,
0.0,
175.0,
190.0,
14.0
],
"actual": [
-0.0,
0.0,
0.0,
175.0,
190.0,
14.0
],
"max_absolute_delta": 0.0,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 74,
"actual": 108,
"matches": false
},
"edge_count": {
"expected": 140,
"actual": 276,
"matches": false
},
"vertex_count": {
"expected": 48,
"actual": 184,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}