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

1308 lines
30 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "231259",
"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": [
-12.015,
25.03
],
"end": [
-22.015,
25.03
]
},
{
"type": "line",
"start": [
-22.015,
25.03
],
"end": [
-22.015,
15.0
]
},
{
"type": "line",
"start": [
-22.015,
15.0
],
"end": [
22.015,
15.0
]
},
{
"type": "line",
"start": [
22.015,
15.0
],
"end": [
22.015,
25.03
]
},
{
"type": "line",
"start": [
22.015,
25.03
],
"end": [
12.015,
25.03
]
},
{
"type": "line",
"start": [
12.015,
25.03
],
"end": [
12.015,
45.0
]
},
{
"type": "line",
"start": [
12.015,
45.0
],
"end": [
30.0,
45.0
]
},
{
"type": "line",
"start": [
30.0,
45.0
],
"end": [
30.0,
0.0
]
},
{
"type": "line",
"start": [
30.0,
0.0
],
"end": [
-30.0,
0.0
]
},
{
"type": "line",
"start": [
-30.0,
0.0
],
"end": [
-30.0,
45.0
]
},
{
"type": "line",
"start": [
-30.0,
45.0
],
"end": [
-12.015,
45.0
]
},
{
"type": "line",
"start": [
-12.015,
45.0
],
"end": [
-12.015,
25.03
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
0.0,
11.794408529
]
}
]
}
},
{
"id": "sk_003",
"name": "草图3",
"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": [
4.5,
45.0
],
"end": [
20.0,
45.0
]
},
{
"type": "line",
"start": [
20.0,
45.0
],
"end": [
20.0,
27.7
]
},
{
"type": "line",
"start": [
20.0,
27.7
],
"end": [
4.5,
27.7
]
},
{
"type": "line",
"start": [
4.5,
27.7
],
"end": [
4.5,
45.0
]
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "line",
"start": [
-35.5,
45.0
],
"end": [
-20.0,
45.0
]
},
{
"type": "line",
"start": [
-20.0,
45.0
],
"end": [
-20.0,
35.0
]
},
{
"type": "line",
"start": [
-20.0,
35.0
],
"end": [
-35.5,
35.0
]
},
{
"type": "line",
"start": [
-35.5,
35.0
],
"end": [
-35.5,
45.0
]
}
]
}
]
}
},
{
"id": "sk_004",
"name": "草图12",
"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": [
{
"role": "outer",
"closed": true,
"segments": [
{
"type": "line",
"start": [
25.0,
-39.0
],
"end": [
-25.0,
-39.0
]
},
{
"type": "line",
"start": [
-25.0,
-39.0
],
"end": [
-25.0,
-19.0
]
},
{
"type": "line",
"start": [
-25.0,
-19.0
],
"end": [
-10.0,
-9.0
]
},
{
"type": "line",
"start": [
-10.0,
-9.0
],
"end": [
10.0,
-9.0
]
},
{
"type": "line",
"start": [
10.0,
-9.0
],
"end": [
25.0,
-19.0
]
},
{
"type": "line",
"start": [
25.0,
-19.0
],
"end": [
25.0,
-39.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
0.0,
-39.0
],
"end": [
0.0,
0.0
]
}
]
}
},
{
"id": "sk_005",
"name": "草图13",
"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": [
{
"role": "outer",
"closed": true,
"segments": [
{
"type": "line",
"start": [
-58.827671597,
-13.25
],
"end": [
61.893608879,
-13.25
]
},
{
"type": "line",
"start": [
61.893608879,
-13.25
],
"end": [
61.893608879,
-42.25
]
},
{
"type": "line",
"start": [
61.893608879,
-42.25
],
"end": [
-58.827671597,
-42.25
]
},
{
"type": "line",
"start": [
-58.827671597,
-42.25
],
"end": [
-58.827671597,
-13.25
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
-30.0,
-27.75
],
"end": [
30.0,
-27.75
]
}
]
}
}
]
},
"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": 95.0,
"reverse": false,
"end_condition": {
"type": "through_all_and_blind",
"solidworks_code": 6
}
},
"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": "切除-拉伸1",
"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_003"
},
{
"id": "f_007",
"name": "M6 螺纹孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004"
],
"params": {
"hole_type": "底部螺纹孔",
"diameter_mm": 6.0,
"depth_mm": 18.0,
"end_condition": {
"solidworks_code": 0,
"type": "blind"
},
"positions": [
{
"mm": [
-25.0,
30.0,
0.0
]
},
{
"mm": [
25.0,
30.0,
0.0
]
},
{
"mm": [
25.0,
-30.0,
0.0
]
},
{
"mm": [
-25.0,
-30.0,
0.0
]
}
],
"thread": {
"diameter_mm": 6.0,
"depth_mm": 18.0,
"class": "1B"
}
},
"execution_status": "deferred",
"sketch_id": "sk_001",
"unresolved": [
"hole has no captured semantic selections"
]
},
{
"id": "f_010",
"name": "切除-拉伸2",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 5.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_004"
},
{
"id": "f_006",
"name": "基准面1",
"atomic_id": "reference_plane",
"depends_on": [
"f_005"
],
"params": {
"plane": {
"origin_mm": [
-30.0,
45.0,
-4.5
],
"x_dir": [
0.0,
-1.0,
0.0
],
"normal": [
0.0,
0.0,
1.0
]
},
"offset_mm": 0.0,
"angle_rad": 0.0,
"reverse": false,
"solidworks_type": 1,
"references": [
{
"kind": "feature",
"stable_id": "9087d22e96044f487e95d20fbfe1978d37d5472dce9b86387da351a74fcf5d45",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_005"
},
{
"kind": "face",
"stable_id": "7e326a341b4a9fa06e435fec8f52f17cc7923cabd99f179c721077c34754b88e",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"surface": {
"type": "plane",
"parameters": [
0.0,
0.0,
1.0,
-0.03000000000000001,
0.04499999999999999,
-0.004499999999999997
]
},
"box": [
0.012015000000000001,
0.027700000000000006,
-0.004499999999999997,
0.029999999999999992,
0.045000000000000005,
-0.004499999999999997
],
"area": 0.0003111404999999997
}
},
{
"kind": "face",
"stable_id": "7b68f176bb765e5c44b22803f0e46809ded7b527457932da45c724c15e41cf50",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"surface": {
"type": "plane",
"parameters": [
-5.218379545846921e-32,
2.005460665869142e-16,
-1.0,
-0.03000000000000001,
0.04499999999999999,
-0.019999999999999993
]
},
"box": [
0.012015000000000001,
0.027700000000000006,
-0.020000000000000004,
0.029999999999999992,
0.045000000000000005,
-0.019999999999999993
],
"area": 0.0003111404999999997
}
}
]
},
"execution_status": "deferred",
"selectors": [
{
"kind": "feature",
"stable_id": "9087d22e96044f487e95d20fbfe1978d37d5472dce9b86387da351a74fcf5d45",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_005"
},
{
"kind": "face",
"stable_id": "7e326a341b4a9fa06e435fec8f52f17cc7923cabd99f179c721077c34754b88e",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"surface": {
"type": "plane",
"parameters": [
0.0,
0.0,
1.0,
-0.03000000000000001,
0.04499999999999999,
-0.004499999999999997
]
},
"box": [
0.012015000000000001,
0.027700000000000006,
-0.004499999999999997,
0.029999999999999992,
0.045000000000000005,
-0.004499999999999997
],
"area": 0.0003111404999999997
}
},
{
"kind": "face",
"stable_id": "7b68f176bb765e5c44b22803f0e46809ded7b527457932da45c724c15e41cf50",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"surface": {
"type": "plane",
"parameters": [
-5.218379545846921e-32,
2.005460665869142e-16,
-1.0,
-0.03000000000000001,
0.04499999999999999,
-0.019999999999999993
]
},
"box": [
0.012015000000000001,
0.027700000000000006,
-0.020000000000000004,
0.029999999999999992,
0.045000000000000005,
-0.019999999999999993
],
"area": 0.0003111404999999997
}
}
]
},
{
"id": "f_008",
"name": "M5 螺纹孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_005",
"f_004"
],
"params": {
"hole_type": "底部螺纹孔",
"diameter_mm": 5.0,
"depth_mm": 15.0,
"end_condition": {
"solidworks_code": 0,
"type": "blind"
},
"positions": [
{
"mm": [
-25.0,
12.25,
0.0
]
}
],
"thread": {
"diameter_mm": 5.0,
"depth_mm": 15.0,
"class": "1B"
}
},
"execution_status": "deferred",
"unresolved": [
"hole has no captured semantic selections"
]
},
{
"id": "f_009",
"name": "大小mm 暗销孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004",
"f_007"
],
"params": {
"hole_type": "暗销孔",
"diameter_mm": 5.0,
"depth_mm": 20.0,
"end_condition": {
"solidworks_code": 0,
"type": "blind"
},
"positions": [
{
"mm": [
25.0,
0.0,
0.0
]
},
{
"mm": [
-25.0,
0.0,
0.0
]
}
],
"host_face": {
"kind": "face",
"stable_id": "step-face-4245aaa96acf7da9f02b829b",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
-30.0,
-0.0,
-47.5,
30.0,
0.0,
47.5
],
"center_mm": [
-0.0,
0.0,
-0.0
],
"normal": [
0.0,
-1.0,
-0.0
],
"surface_type": "plane"
}
}
},
"execution_status": "deferred",
"sketch_id": "sk_001",
"selectors": [
{
"kind": "face",
"stable_id": "step-face-4245aaa96acf7da9f02b829b",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
-30.0,
-0.0,
-47.5,
30.0,
0.0,
47.5
],
"center_mm": [
-0.0,
0.0,
-0.0
],
"normal": [
0.0,
-1.0,
-0.0
],
"surface_type": "plane"
}
}
]
},
{
"id": "f_011",
"name": "切除-拉伸3",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_004",
"f_005"
],
"params": {
"distance_mm": 5.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_005"
},
{
"id": "f_012",
"name": "倒角1",
"atomic_id": "chamfer",
"depends_on": [
"f_004",
"f_011"
],
"params": {
"distance_mm": 10.0,
"angle_rad": 0.78539816339745
},
"execution_status": "deferred"
}
],
"meta": {
"unit": "mm",
"source": "231259.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete_with_blockers",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 1.1646947230735627,
"volume": 0.0001481799920981631,
"surface_area": 0.0350545989298587,
"center_of_mass": [
3.6044602798462515e-05,
0.017601320905712734,
-0.0007172214150786165
],
"principal_moments": [
0.0006510729663844755,
0.0011178472758184023,
0.0013776903668657658
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.030000000000000013,
-6.938893903907228e-18,
-0.0475,
0.03,
0.045000000000000075,
0.0475
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "倒角1",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAYAAABwAAAAbgAAAG0AAABsAAAAawAAAGoAAAA=",
"persist_reference_sha256": "6e898d11a6d2fa4a674d93b5c49627e45ff515cf04b25c4195f18b8f290be3b3",
"component": null,
"geometry": {
"box": [
-0.03000000000000001,
-5.841565231932873e-18,
-0.0475,
0.03,
0.045000000000000075,
0.0475
],
"face_count": 54,
"edge_count": 128,
"vertex_count": 83
},
"stable_id": "6e898d11a6d2fa4a674d93b5c49627e45ff515cf04b25c4195f18b8f290be3b3"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 68,
"surface_counts": {
"cone": 14,
"cylinder": 14,
"plane": 40
},
"axis_count": 28,
"repeat_spacings_mm": [
{
"spacing_mm": 30.0,
"pair_count": 8
},
{
"spacing_mm": 36.0555,
"pair_count": 8
},
{
"spacing_mm": 58.3095,
"pair_count": 8
},
{
"spacing_mm": 61.6441,
"pair_count": 8
},
{
"spacing_mm": 20.0,
"pair_count": 6
},
{
"spacing_mm": 50.0,
"pair_count": 6
},
{
"spacing_mm": 53.8516,
"pair_count": 6
},
{
"spacing_mm": 78.1025,
"pair_count": 4
},
{
"spacing_mm": 80.6226,
"pair_count": 4
},
{
"spacing_mm": 60.0,
"pair_count": 4
},
{
"spacing_mm": 63.2456,
"pair_count": 4
}
],
"metrics": {
"bounding_box_mm": [
-30.0,
-0.0,
-47.5,
30.0,
45.0,
47.5
],
"volume_mm3": 148179.992098163,
"surface_area_mm2": 35054.598929859,
"solid_count": 1,
"face_count": 68,
"edge_count": 170,
"vertex_count": 111
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-30.0,
-0.0,
-47.5,
30.0,
45.0,
47.5
],
"volume_mm3": 148179.992098163,
"surface_area_mm2": 35054.598929859,
"solid_count": 1,
"face_count": 54,
"edge_count": 128,
"vertex_count": 83
},
"comparisons": {
"volume_mm3": {
"expected": 148179.992098163,
"actual": 148179.992098163,
"absolute_delta": 0.0,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 35054.598929859,
"actual": 35054.598929859,
"absolute_delta": 0.0,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-30.0,
-0.0,
-47.5,
30.0,
45.0,
47.5
],
"actual": [
-30.0,
-0.0,
-47.5,
30.0,
45.0,
47.5
],
"max_absolute_delta": 0.0,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 54,
"actual": 68,
"matches": false
},
"edge_count": {
"expected": 128,
"actual": 170,
"matches": false
},
"vertex_count": {
"expected": 83,
"actual": 111,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}