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

1083 lines
23 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "086131",
"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": [
100.0,
0.0
]
},
{
"type": "line",
"start": [
100.0,
0.0
],
"end": [
100.0,
320.0
]
},
{
"type": "line",
"start": [
100.0,
320.0
],
"end": [
0.0,
320.0
]
},
{
"type": "line",
"start": [
0.0,
320.0
],
"end": [
0.0,
0.0
]
}
]
}
]
}
},
{
"id": "sk_003",
"name": "草图2",
"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": [
0.0,
0.0
],
"end": [
100.0,
0.0
]
},
{
"type": "line",
"start": [
100.0,
0.0
],
"end": [
100.0,
10.0
]
},
{
"type": "line",
"start": [
100.0,
10.0
],
"end": [
0.0,
10.0
]
},
{
"type": "line",
"start": [
0.0,
10.0
],
"end": [
0.0,
0.0
]
}
]
}
]
}
},
{
"id": "sk_004",
"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": "circle",
"center": [
50.0,
266.0
],
"radius_mm": 22.5
}
},
{
"id": "sk_005",
"name": "草图4",
"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": [
-15.0,
200.0
],
"end": [
-35.0,
200.0
]
},
{
"type": "line",
"start": [
-35.0,
200.0
],
"end": [
-90.0,
10.0
]
},
{
"type": "line",
"start": [
-90.0,
10.0
],
"end": [
-15.0,
10.0
]
},
{
"type": "line",
"start": [
-15.0,
10.0
],
"end": [
-15.0,
200.0
]
}
]
}
]
}
},
{
"id": "sk_006",
"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": "analytic_contours",
"contours": [],
"construction": [
{
"type": "line",
"start": [
50.0,
3.573769102
],
"end": [
50.0,
-119.962182923
]
}
]
}
},
{
"id": "sk_007",
"name": "草图7",
"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": []
}
}
]
},
"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_013",
"name": "Ø12.5 (12.5) 直径孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_001"
],
"params": {
"hole_type": "钻孔大小",
"diameter_mm": 12.5,
"depth_mm": 30.0,
"end_condition": {
"solidworks_code": 0,
"type": "blind"
},
"positions": [
{
"mm": [
85.0,
10.0,
50.0
]
},
{
"mm": [
15.0,
10.0,
50.0
]
}
],
"host_face": {
"kind": "face",
"stable_id": "step-face-bf7305025774ca9d75c1a2c0",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
0.0,
10.0,
20.0,
100.0,
10.0,
95.0
],
"center_mm": [
50.0,
10.0,
58.35744981
],
"normal": [
-0.0,
1.0,
-0.0
],
"surface_type": "plane"
}
}
},
"execution_status": "deferred",
"sketch_id": "sk_006",
"selectors": [
{
"kind": "face",
"stable_id": "step-face-bf7305025774ca9d75c1a2c0",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
0.0,
10.0,
20.0,
100.0,
10.0,
95.0
],
"center_mm": [
50.0,
10.0,
58.35744981
],
"normal": [
-0.0,
1.0,
-0.0
],
"surface_type": "plane"
}
}
]
},
{
"id": "f_014",
"name": "Ø8.5 (8.5) 直径孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_001"
],
"params": {
"hole_type": "钻孔大小",
"diameter_mm": 8.5,
"depth_mm": 30.0,
"end_condition": {
"solidworks_code": 0,
"type": "blind"
},
"positions": [
{
"mm": [
86.0,
304.5,
0.0
]
},
{
"mm": [
14.0,
304.5,
0.0
]
},
{
"mm": [
86.0,
232.5,
0.0
]
},
{
"mm": [
14.0,
232.5,
0.0
]
}
],
"host_face": {
"kind": "face",
"stable_id": "step-face-556e53276cfd6534b86ae885",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
0.0,
0.0,
-0.0,
100.0,
320.0,
0.0
],
"center_mm": [
50.0,
152.920092671,
0.0
],
"normal": [
0.0,
0.0,
-1.0
],
"surface_type": "plane"
}
}
},
"execution_status": "deferred",
"sketch_id": "sk_007",
"selectors": [
{
"kind": "face",
"stable_id": "step-face-556e53276cfd6534b86ae885",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
0.0,
0.0,
-0.0,
100.0,
320.0,
0.0
],
"center_mm": [
50.0,
152.920092671,
0.0
],
"normal": [
0.0,
0.0,
-1.0
],
"surface_type": "plane"
}
}
]
},
{
"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": 80.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_003"
},
{
"id": "f_009",
"name": "倒角1",
"atomic_id": "chamfer",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 5.0,
"angle_rad": 0.78539816339745
},
"execution_status": "deferred"
},
{
"id": "f_006",
"name": "切除-拉伸1",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_004",
"f_005"
],
"params": {
"distance_mm": 0.0,
"reverse": false,
"end_condition": {
"type": "through_all",
"solidworks_code": 1
}
},
"execution_status": "supported",
"sketch_id": "sk_004"
},
{
"id": "f_007",
"name": "基准面1",
"atomic_id": "reference_plane",
"depends_on": [
"f_003"
],
"params": {
"plane": {
"origin_mm": [
50.0,
0.0,
0.0
],
"normal": [
1.0,
0.0,
0.0
],
"x_dir": [
0.0,
1.0,
0.0
]
},
"offset_mm": 50.0,
"angle_rad": 0.0,
"reverse": false,
"solidworks_type": 5,
"references": [
{
"kind": "plane",
"stable_id": "deb6d30555812398da6cd3fc22d11f9b466e167f3f31b37e2945d405c3755631",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_003"
}
]
},
"execution_status": "deferred",
"selectors": [
{
"kind": "plane",
"stable_id": "deb6d30555812398da6cd3fc22d11f9b466e167f3f31b37e2945d405c3755631",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_003"
}
]
},
{
"id": "f_012",
"name": "倒角4",
"atomic_id": "chamfer",
"depends_on": [
"f_005"
],
"params": {
"distance_mm": 3.0,
"angle_rad": 0.78539816339745
},
"execution_status": "deferred"
},
{
"id": "f_008",
"name": "凸台-拉伸3",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_007",
"f_004",
"f_005"
],
"params": {
"distance_mm": 10.0,
"reverse": false,
"end_condition": {
"type": "through_all_and_blind",
"solidworks_code": 6
}
},
"execution_status": "deferred",
"sketch_id": "sk_005"
},
{
"id": "f_011",
"name": "倒角3",
"atomic_id": "chamfer",
"depends_on": [
"f_006",
"f_004"
],
"params": {
"distance_mm": 1.0,
"angle_rad": 0.78539816339745
},
"execution_status": "deferred"
},
{
"id": "f_010",
"name": "倒角2",
"atomic_id": "chamfer",
"depends_on": [
"f_004",
"f_008",
"f_005"
],
"params": {
"distance_mm": 5.0,
"angle_rad": 0.78539816339745
},
"execution_status": "deferred"
}
],
"meta": {
"unit": "mm",
"source": "086131.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete_with_blockers",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.6274972663531679,
"volume": 0.0006274972663531679,
"surface_area": 0.11004471321556289,
"center_of_mass": [
0.049999999999999996,
0.12449950166452964,
0.01846964782273724
],
"principal_moments": [
0.0006778797036662022,
0.005944839756656351,
0.006181254577338275
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
0.0,
0.0,
-2.449293598294696e-19,
0.1,
0.32,
0.095
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "Ø8.5 (8.5) 直径孔1",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAYAAABvAAAAbgAAAG0AAABsAAAAawAAAGoAAAA=",
"persist_reference_sha256": "0700f756110bac580a894a776e7fad79b4c66f1a06972cbecee080a0df0d2cc3",
"component": null,
"geometry": {
"box": [
0.0,
0.0,
-2.449293598294696e-19,
0.1,
0.32,
0.095
],
"face_count": 33,
"edge_count": 76,
"vertex_count": 38
},
"stable_id": "0700f756110bac580a894a776e7fad79b4c66f1a06972cbecee080a0df0d2cc3"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 42,
"surface_counts": {
"cone": 4,
"cylinder": 14,
"plane": 24
},
"axis_count": 18,
"repeat_spacings_mm": [
{
"spacing_mm": 72.0,
"pair_count": 4
},
{
"spacing_mm": 101.8234,
"pair_count": 2
},
{
"spacing_mm": 298.716,
"pair_count": 2
},
{
"spacing_mm": 307.0362,
"pair_count": 2
},
{
"spacing_mm": 54.5367,
"pair_count": 2
},
{
"spacing_mm": 52.7091,
"pair_count": 2
},
{
"spacing_mm": 228.051,
"pair_count": 2
},
{
"spacing_mm": 238.8457,
"pair_count": 2
},
{
"spacing_mm": 51.1297,
"pair_count": 2
},
{
"spacing_mm": 49.1757,
"pair_count": 2
},
{
"spacing_mm": 260.8774,
"pair_count": 2
},
{
"spacing_mm": 263.1748,
"pair_count": 2
}
],
"metrics": {
"bounding_box_mm": [
0.0,
0.0,
-0.0,
100.0,
320.0,
95.0
],
"volume_mm3": 627497.266353168,
"surface_area_mm2": 110044.713215563,
"solid_count": 1,
"face_count": 42,
"edge_count": 110,
"vertex_count": 70
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
0.0,
0.0,
-0.0,
100.0,
320.0,
95.0
],
"volume_mm3": 627497.266353168,
"surface_area_mm2": 110044.713215563,
"solid_count": 1,
"face_count": 33,
"edge_count": 76,
"vertex_count": 38
},
"comparisons": {
"volume_mm3": {
"expected": 627497.266353168,
"actual": 627497.266353168,
"absolute_delta": 0.0,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 110044.713215563,
"actual": 110044.713215563,
"absolute_delta": 0.0,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
0.0,
0.0,
-0.0,
100.0,
320.0,
95.0
],
"actual": [
0.0,
0.0,
-0.0,
100.0,
320.0,
95.0
],
"max_absolute_delta": 0.0,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 33,
"actual": 42,
"matches": false
},
"edge_count": {
"expected": 76,
"actual": 110,
"matches": false
},
"vertex_count": {
"expected": 38,
"actual": 70,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}