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

682 lines
15 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "007567",
"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": [
40.0,
0.0
]
},
{
"type": "line",
"start": [
40.0,
0.0
],
"end": [
40.0,
-23.0
]
},
{
"type": "line",
"start": [
40.0,
-23.0
],
"end": [
0.0,
-23.0
]
},
{
"type": "line",
"start": [
0.0,
-23.0
],
"end": [
0.0,
0.0
]
}
]
}
]
}
},
{
"id": "sk_003",
"name": "草图2",
"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": [
-40.0,
-23.0
],
"end": [
0.0,
-23.0
]
},
{
"type": "line",
"start": [
0.0,
-23.0
],
"end": [
0.0,
-14.3
]
},
{
"type": "line",
"start": [
0.0,
-14.3
],
"end": [
-40.0,
-14.3
]
},
{
"type": "line",
"start": [
-40.0,
-14.3
],
"end": [
-40.0,
-23.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": 10.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_add_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 16.5,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"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.0,
"depth_mm": 26.500025,
"end_condition": {
"solidworks_code": 1,
"type": "through_all"
},
"positions": [
{
"mm": [
11.0,
-8.0,
0.0
]
},
{
"mm": [
29.0,
-8.0,
0.0
]
}
],
"counterbore": {
"diameter_mm": 10.0,
"depth_mm": 6.4
},
"host_face": {
"kind": "face",
"stable_id": "step-face-de55b16c61db026f3ff08eb2",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
0.5,
-14.3,
0.0,
39.5,
-0.5,
0.0
],
"center_mm": [
20.0,
-7.305142976,
0.0
],
"normal": [
0.0,
-0.0,
-1.0
],
"surface_type": "plane"
}
}
},
"execution_status": "deferred",
"selectors": [
{
"kind": "face",
"stable_id": "step-face-de55b16c61db026f3ff08eb2",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
0.5,
-14.3,
0.0,
39.5,
-0.5,
0.0
],
"center_mm": [
20.0,
-7.305142976,
0.0
],
"normal": [
0.0,
-0.0,
-1.0
],
"surface_type": "plane"
}
}
]
},
{
"id": "f_007",
"name": "倒角1",
"atomic_id": "chamfer",
"depends_on": [
"f_005",
"f_004",
"f_006"
],
"params": {
"distance_mm": 0.5,
"angle_rad": 0.6981317007977333
},
"execution_status": "deferred"
},
{
"id": "f_008",
"name": "M5 六角凹头螺钉的柱形沉头孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004",
"f_007"
],
"params": {
"hole_type": "六角凹头 ISO 4762",
"diameter_mm": 5.5,
"depth_mm": 26.5,
"end_condition": {
"solidworks_code": 1,
"type": "through_all"
},
"positions": [
{
"mm": [
29.5,
-17.5,
0.0
]
},
{
"mm": [
15.5,
-17.5,
0.0
]
}
],
"counterbore": {
"diameter_mm": 10.0,
"depth_mm": 5.4
}
},
"execution_status": "deferred",
"unresolved": [
"hole has no captured semantic selections"
]
}
],
"meta": {
"unit": "mm",
"source": "007567.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete_with_blockers",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.011838240821115367,
"volume": 1.1838240821115366e-05,
"surface_area": 0.0059456015547568715,
"center_of_mass": [
0.019613387556266692,
-0.014385192574315399,
-0.0007353948360919882
],
"principal_moments": [
1.1837007333738105e-06,
2.064251160029375e-06,
2.6505640584068426e-06
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
0.0,
-0.023,
-0.0165,
0.04000000000000001,
0.0,
0.010000000000000002
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "M5 六角凹头螺钉的柱形沉头孔1",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAQAAABoAAAAZwAAAGYAAABlAAAA",
"persist_reference_sha256": "b5fdc8a80d75492240d2f0abebd3a4cf9537f5703d925dc302bac9d91636edc0",
"component": null,
"geometry": {
"box": [
5.138003387434861e-20,
-0.023,
-0.0165,
0.04000000000000001,
0.0,
0.01
],
"face_count": 51,
"edge_count": 90,
"vertex_count": 38
},
"stable_id": "b5fdc8a80d75492240d2f0abebd3a4cf9537f5703d925dc302bac9d91636edc0"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 64,
"surface_counts": {
"cone": 8,
"cylinder": 17,
"plane": 39
},
"axis_count": 25,
"repeat_spacings_mm": [
{
"spacing_mm": 18.0,
"pair_count": 3
},
{
"spacing_mm": 3.1805,
"pair_count": 2
},
{
"spacing_mm": 18.2788,
"pair_count": 2
},
{
"spacing_mm": 6.8195,
"pair_count": 2
},
{
"spacing_mm": 19.2485,
"pair_count": 2
},
{
"spacing_mm": 10.0,
"pair_count": 2
},
{
"spacing_mm": 20.5913,
"pair_count": 2
}
],
"metrics": {
"bounding_box_mm": [
0.0,
-23.0,
-16.5,
40.0,
0.0,
10.0
],
"volume_mm3": 11838.240821115,
"surface_area_mm2": 5945.601554757,
"solid_count": 1,
"face_count": 64,
"edge_count": 137,
"vertex_count": 78
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
0.0,
-23.0,
-16.5,
40.0,
0.0,
10.0
],
"volume_mm3": 11838.240821115,
"surface_area_mm2": 5945.601554757,
"solid_count": 1,
"face_count": 51,
"edge_count": 90,
"vertex_count": 38
},
"comparisons": {
"volume_mm3": {
"expected": 11838.240821115,
"actual": 11838.240821115,
"absolute_delta": 0.0,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 5945.601554757,
"actual": 5945.601554757,
"absolute_delta": 0.0,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
0.0,
-23.0,
-16.5,
40.0,
0.0,
10.0
],
"actual": [
0.0,
-23.0,
-16.5,
40.0,
0.0,
10.0
],
"max_absolute_delta": 0.0,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 51,
"actual": 64,
"matches": false
},
"edge_count": {
"expected": 90,
"actual": 137,
"matches": false
},
"vertex_count": {
"expected": 38,
"actual": 78,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}