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

1187 lines
24 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "009595",
"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": [
-500.0,
35.0
],
"end": [
500.0,
35.0
]
},
{
"type": "line",
"start": [
500.0,
35.0
],
"end": [
500.0,
-35.0
]
},
{
"type": "line",
"start": [
500.0,
-35.0
],
"end": [
-500.0,
-35.0
]
},
{
"type": "line",
"start": [
-500.0,
-35.0
],
"end": [
-500.0,
35.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
-0.0,
0.0
],
"end": [
-0.0,
-40.298137912
]
},
{
"type": "line",
"start": [
-500.0,
35.0
],
"end": [
500.0,
-35.0
]
},
{
"type": "line",
"start": [
-500.0,
-35.0
],
"end": [
500.0,
35.0
]
}
]
}
},
{
"id": "sk_003",
"name": "草图3",
"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": "circles",
"items": [
{
"center": [
-400.0,
5.0
],
"radius_mm": 16.0
},
{
"center": [
-140.0,
5.0
],
"radius_mm": 16.0
},
{
"center": [
-270.0,
5.0
],
"radius_mm": 15.0
},
{
"center": [
270.0,
5.0
],
"radius_mm": 15.0
},
{
"center": [
140.0,
5.0
],
"radius_mm": 16.0
},
{
"center": [
400.0,
5.0
],
"radius_mm": 16.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": 15.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": "切除-拉伸2",
"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": "supported",
"sketch_id": "sk_003"
},
{
"id": "f_006",
"name": "M6 六角凹头螺钉的柱形沉头孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004"
],
"params": {
"hole_type": "六角凹头 ISO 4762",
"diameter_mm": 6.6,
"depth_mm": 15.0,
"end_condition": {
"solidworks_code": 1,
"type": "through_all"
},
"positions": [
{
"mm": [
-490.0,
27.0,
0.0
]
},
{
"mm": [
-490.0,
7.0,
0.0
]
},
{
"mm": [
-490.0,
-13.0,
0.0
]
},
{
"mm": [
-50.0,
-13.0,
0.0
]
},
{
"mm": [
-50.0,
7.0,
0.0
]
},
{
"mm": [
-50.0,
27.0,
0.0
]
},
{
"mm": [
50.0,
27.0,
0.0
]
},
{
"mm": [
50.0,
7.0,
0.0
]
},
{
"mm": [
50.0,
-13.0,
0.0
]
},
{
"mm": [
490.0,
-13.0,
0.0
]
},
{
"mm": [
490.0,
7.0,
0.0
]
},
{
"mm": [
490.0,
27.0,
0.0
]
}
],
"counterbore": {
"diameter_mm": 11.0,
"depth_mm": 6.4
},
"host_face": {
"kind": "face",
"stable_id": "step-face-17e8daacfd1495ec78ef0cad",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
-500.0,
-35.0,
0.0,
500.0,
35.0,
0.0
],
"center_mm": [
-0.0,
-0.442176187,
0.0
],
"normal": [
0.0,
-0.0,
-1.0
],
"surface_type": "plane"
}
}
},
"execution_status": "deferred",
"sketch_id": "sk_001",
"selectors": [
{
"kind": "face",
"stable_id": "step-face-17e8daacfd1495ec78ef0cad",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
-500.0,
-35.0,
0.0,
500.0,
35.0,
0.0
],
"center_mm": [
-0.0,
-0.442176187,
0.0
],
"normal": [
0.0,
-0.0,
-1.0
],
"surface_type": "plane"
}
}
]
},
{
"id": "f_007",
"name": "M6 螺纹孔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": [
-455.0,
-7.5,
0.0
]
}
],
"thread": {
"diameter_mm": 6.0,
"depth_mm": 15.0,
"class": "1B"
},
"host_face": {
"kind": "face",
"stable_id": "step-face-17e8daacfd1495ec78ef0cad",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
-500.0,
-35.0,
0.0,
500.0,
35.0,
0.0
],
"center_mm": [
-0.0,
-0.442176187,
0.0
],
"normal": [
0.0,
-0.0,
-1.0
],
"surface_type": "plane"
}
}
},
"execution_status": "deferred",
"selectors": [
{
"kind": "face",
"stable_id": "step-face-17e8daacfd1495ec78ef0cad",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
-500.0,
-35.0,
0.0,
500.0,
35.0,
0.0
],
"center_mm": [
-0.0,
-0.442176187,
0.0
],
"normal": [
0.0,
-0.0,
-1.0
],
"surface_type": "plane"
}
}
]
},
{
"id": "f_008",
"name": "阵列(线性)1",
"atomic_id": "pattern_linear",
"depends_on": [
"f_007",
"f_004"
],
"params": {
"source_feature_ids": [
"f_007",
"f_004"
],
"direction_1": [
1.0,
0.0,
0.0
],
"spacing_1_mm": 130.0,
"pattern_count_1": 8
},
"execution_status": "deferred"
},
{
"id": "f_009",
"name": "M5 螺纹孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004",
"f_005"
],
"params": {
"hole_type": "底部螺纹孔",
"diameter_mm": 5.0,
"depth_mm": 15.0,
"end_condition": {
"solidworks_code": 1,
"type": "through_all"
},
"positions": [
{
"mm": [
-400.0,
26.5,
0.0
]
},
{
"mm": [
-421.5,
5.0,
0.0
]
},
{
"mm": [
-400.0,
-16.5,
0.0
]
},
{
"mm": [
-378.5,
5.0,
0.0
]
},
{
"mm": [
-161.5,
5.0,
0.0
]
},
{
"mm": [
-140.0,
-16.5,
0.0
]
},
{
"mm": [
-118.5,
5.0,
0.0
]
},
{
"mm": [
-140.0,
26.5,
0.0
]
},
{
"mm": [
378.5,
5.0,
0.0
]
},
{
"mm": [
400.0,
-16.5,
0.0
]
},
{
"mm": [
421.5,
5.0,
0.0
]
},
{
"mm": [
400.0,
26.5,
0.0
]
},
{
"mm": [
140.0,
26.5,
0.0
]
},
{
"mm": [
118.5,
5.0,
0.0
]
},
{
"mm": [
140.0,
-16.5,
0.0
]
},
{
"mm": [
161.5,
5.0,
0.0
]
}
],
"thread": {
"diameter_mm": 5.0,
"depth_mm": 15.0,
"class": "1B"
},
"host_face": {
"kind": "face",
"stable_id": "step-face-17e8daacfd1495ec78ef0cad",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
-500.0,
-35.0,
0.0,
500.0,
35.0,
0.0
],
"center_mm": [
-0.0,
-0.442176187,
0.0
],
"normal": [
0.0,
-0.0,
-1.0
],
"surface_type": "plane"
}
}
},
"execution_status": "deferred",
"sketch_id": "sk_001",
"selectors": [
{
"kind": "face",
"stable_id": "step-face-17e8daacfd1495ec78ef0cad",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
-500.0,
-35.0,
0.0,
500.0,
35.0,
0.0
],
"center_mm": [
-0.0,
-0.442176187,
0.0
],
"normal": [
0.0,
-0.0,
-1.0
],
"surface_type": "plane"
}
}
]
},
{
"id": "f_010",
"name": "M6 六角凹头螺钉的柱形沉头孔2",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004",
"f_005"
],
"params": {
"hole_type": "六角凹头 ISO 4762",
"diameter_mm": 6.6,
"depth_mm": 15.0,
"end_condition": {
"solidworks_code": 1,
"type": "through_all"
},
"positions": [
{
"mm": [
-250.0,
-15.0,
0.0
]
},
{
"mm": [
-290.0,
25.0,
0.0
]
},
{
"mm": [
-290.0,
-15.0,
0.0
]
},
{
"mm": [
-250.0,
25.0,
0.0
]
},
{
"mm": [
290.0,
-15.0,
0.0
]
},
{
"mm": [
250.0,
25.0,
0.0
]
},
{
"mm": [
290.0,
25.0,
0.0
]
},
{
"mm": [
250.0,
-15.0,
0.0
]
}
],
"counterbore": {
"diameter_mm": 11.0,
"depth_mm": 6.4
},
"host_face": {
"kind": "face",
"stable_id": "step-face-17e8daacfd1495ec78ef0cad",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
-500.0,
-35.0,
0.0,
500.0,
35.0,
0.0
],
"center_mm": [
-0.0,
-0.442176187,
0.0
],
"normal": [
0.0,
-0.0,
-1.0
],
"surface_type": "plane"
}
}
},
"execution_status": "deferred",
"sketch_id": "sk_001",
"selectors": [
{
"kind": "face",
"stable_id": "step-face-17e8daacfd1495ec78ef0cad",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
-500.0,
-35.0,
0.0,
500.0,
35.0,
0.0
],
"center_mm": [
-0.0,
-0.442176187,
0.0
],
"normal": [
0.0,
-0.0,
-1.0
],
"surface_type": "plane"
}
}
]
}
],
"meta": {
"unit": "mm",
"source": "009595.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete_with_blockers",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.9562595377829467,
"volume": 0.0009562595377829467,
"surface_area": 0.18333060208000168,
"center_of_mass": [
-4.866822296599831e-17,
-0.00041935215720308275,
0.007464992760075841
],
"principal_moments": [
0.00043105888587442075,
0.07923439690235975,
0.07962954775102736
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.5,
-0.035,
0.0,
0.5,
0.035,
0.015000000000000001
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "M6 六角凹头螺钉的柱形沉头孔2",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAcAAABvAAAAbgAAAG0AAABsAAAAawAAAGcAAABlAAAA",
"persist_reference_sha256": "12205f2e6e1ca5b4340f2a3d2753773f44dfa9ac01e0a94e3af61f58fa2015df",
"component": null,
"geometry": {
"box": [
-0.5,
-0.035,
0.0,
0.49999999999999994,
0.035,
0.015000000000000001
],
"face_count": 104,
"edge_count": 152,
"vertex_count": 16
},
"stable_id": "12205f2e6e1ca5b4340f2a3d2753773f44dfa9ac01e0a94e3af61f58fa2015df"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 182,
"surface_counts": {
"cone": 16,
"cylinder": 140,
"plane": 26
},
"axis_count": 156,
"repeat_spacings_mm": [
{
"spacing_mm": 260.0,
"pair_count": 22
},
{
"spacing_mm": 540.0,
"pair_count": 21
},
{
"spacing_mm": 130.0,
"pair_count": 18
},
{
"spacing_mm": 30.4056,
"pair_count": 16
},
{
"spacing_mm": 26.2155,
"pair_count": 16
},
{
"spacing_mm": 131.2402,
"pair_count": 14
},
{
"spacing_mm": 40.0,
"pair_count": 12
},
{
"spacing_mm": 260.6223,
"pair_count": 12
},
{
"spacing_mm": 390.0,
"pair_count": 10
},
{
"spacing_mm": 390.4152,
"pair_count": 10
},
{
"spacing_mm": 541.4795,
"pair_count": 8
},
{
"spacing_mm": 155.635,
"pair_count": 8
}
],
"metrics": {
"bounding_box_mm": [
-500.0,
-35.0,
0.0,
500.0,
35.0,
15.0
],
"volume_mm3": 956259.537782948,
"surface_area_mm2": 183330.602080002,
"solid_count": 1,
"face_count": 182,
"edge_count": 448,
"vertex_count": 296
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-500.0,
-35.0,
0.0,
500.0,
35.0,
15.0
],
"volume_mm3": 956259.537782947,
"surface_area_mm2": 183330.602080002,
"solid_count": 1,
"face_count": 104,
"edge_count": 152,
"vertex_count": 16
},
"comparisons": {
"volume_mm3": {
"expected": 956259.537782947,
"actual": 956259.537782948,
"absolute_delta": 1.0477378964424133e-09,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 183330.602080002,
"actual": 183330.602080002,
"absolute_delta": 0.0,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-500.0,
-35.0,
0.0,
500.0,
35.0,
15.0
],
"actual": [
-500.0,
-35.0,
0.0,
500.0,
35.0,
15.0
],
"max_absolute_delta": 0.0,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 104,
"actual": 182,
"matches": false
},
"edge_count": {
"expected": 152,
"actual": 448,
"matches": false
},
"vertex_count": {
"expected": 16,
"actual": 296,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}