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

1615 lines
36 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "067766",
"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": [
848.889969305,
304.746561098
],
"end": [
854.049969306,
304.746561098
]
},
{
"type": "line",
"start": [
854.049969306,
304.746561098
],
"end": [
854.049969306,
303.25626195
]
},
{
"type": "line",
"start": [
854.049969306,
303.25626195
],
"end": [
855.049969306,
303.25626195
]
},
{
"type": "line",
"start": [
855.049969306,
303.25626195
],
"end": [
855.049969306,
304.746561098
]
},
{
"type": "line",
"start": [
855.049969306,
304.746561098
],
"end": [
855.59996926,
304.746561098
]
},
{
"type": "line",
"start": [
855.59996926,
304.746561098
],
"end": [
855.59996926,
305.046561093
]
},
{
"type": "line",
"start": [
855.59996926,
305.046561093
],
"end": [
858.04996926,
305.046561093
]
},
{
"type": "line",
"start": [
858.04996926,
305.046561093
],
"end": [
858.04996926,
303.046561093
]
},
{
"type": "line",
"start": [
858.04996926,
303.046561093
],
"end": [
868.14996926,
303.046561093
]
},
{
"type": "line",
"start": [
868.14996926,
303.046561093
],
"end": [
868.14996926,
305.046561093
]
},
{
"type": "line",
"start": [
868.14996926,
305.046561093
],
"end": [
870.59996926,
305.046561093
]
},
{
"type": "line",
"start": [
870.59996926,
305.046561093
],
"end": [
870.59996926,
285.046561093
]
},
{
"type": "line",
"start": [
870.59996926,
285.046561093
],
"end": [
833.771695117,
285.046561093
]
},
{
"type": "line",
"start": [
833.771695117,
285.046561093
],
"end": [
833.771695117,
308.046561093
]
},
{
"type": "line",
"start": [
833.771695117,
308.046561093
],
"end": [
838.771695117,
308.046561093
]
},
{
"type": "line",
"start": [
838.771695117,
308.046561093
],
"end": [
838.771695117,
305.446484445
]
},
{
"type": "line",
"start": [
838.771695117,
305.446484445
],
"end": [
845.391137674,
303.671408026
]
},
{
"type": "line",
"start": [
845.391137674,
303.671408026
],
"end": [
848.889969305,
303.671408026
]
},
{
"type": "line",
"start": [
848.889969305,
303.671408026
],
"end": [
848.889969305,
304.746561098
]
}
]
}
]
}
},
{
"id": "sk_003",
"name": "草图2",
"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": [
858.04996926,
-80.0
],
"end": [
848.02996926,
-80.0
]
},
{
"type": "line",
"start": [
848.02996926,
-80.0
],
"end": [
848.02996926,
-71.98
]
},
{
"type": "line",
"start": [
848.02996926,
-71.98
],
"end": [
858.04996926,
-71.98
]
},
{
"type": "line",
"start": [
858.04996926,
-71.98
],
"end": [
858.04996926,
-80.0
]
}
]
}
]
}
},
{
"id": "sk_004",
"name": "草图3",
"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": [
855.59996926,
80.0
],
"end": [
858.04996926,
80.0
]
},
{
"type": "line",
"start": [
858.04996926,
80.0
],
"end": [
858.04996926,
71.98
]
},
{
"type": "line",
"start": [
858.04996926,
71.98
],
"end": [
855.59996926,
71.98
]
},
{
"type": "line",
"start": [
855.59996926,
71.98
],
"end": [
855.59996926,
80.0
]
}
]
}
]
}
},
{
"id": "sk_005",
"name": "草图6",
"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": [
858.04996926,
71.98
],
"end": [
863.04996926,
71.98
]
},
{
"type": "line",
"start": [
863.04996926,
71.98
],
"end": [
863.04996926,
80.0
]
},
{
"type": "line",
"start": [
863.04996926,
80.0
],
"end": [
858.04996926,
80.0
]
},
{
"type": "line",
"start": [
858.04996926,
80.0
],
"end": [
858.04996926,
71.98
]
}
]
}
]
}
},
{
"id": "sk_006",
"name": "草图7",
"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": [
848.889969305,
-71.98
],
"end": [
848.02996926,
-71.98
]
},
{
"type": "line",
"start": [
848.02996926,
-71.98
],
"end": [
848.02996926,
-80.0
]
},
{
"type": "line",
"start": [
848.02996926,
-80.0
],
"end": [
848.889969305,
-80.0
]
},
{
"type": "line",
"start": [
848.889969305,
-80.0
],
"end": [
848.889969305,
-71.98
]
}
]
}
]
}
},
{
"id": "sk_007",
"name": "草图10",
"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": [
-71.98,
288.846561093
],
"end": [
-69.98,
288.846561093
]
},
{
"type": "line",
"start": [
-69.98,
288.846561093
],
"end": [
-69.98,
285.046561093
]
},
{
"type": "line",
"start": [
-69.98,
285.046561093
],
"end": [
-71.98,
285.046561093
]
},
{
"type": "line",
"start": [
-71.98,
285.046561093
],
"end": [
-71.98,
288.846561093
]
}
]
}
]
}
},
{
"id": "sk_008",
"name": "草图11",
"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": [
-870.59996926,
300.096561093
],
"end": [
-868.59996926,
300.096561093
]
},
{
"type": "line",
"start": [
-868.59996926,
300.096561093
],
"end": [
-868.59996926,
290.046561093
]
},
{
"type": "line",
"start": [
-868.59996926,
290.046561093
],
"end": [
-870.59996926,
290.046561093
]
},
{
"type": "line",
"start": [
-870.59996926,
290.046561093
],
"end": [
-870.59996926,
300.096561093
]
}
]
}
]
}
},
{
"id": "sk_009",
"name": "草图16",
"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": "circles",
"items": [
{
"center": [
863.09996926,
-10.0
],
"radius_mm": 2.505
},
{
"center": [
863.09996926,
-60.0
],
"radius_mm": 2.505
}
]
}
}
]
},
"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": 80.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": "切除-拉伸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": "M4 螺纹孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004"
],
"params": {
"hole_type": "螺纹孔",
"diameter_mm": 4.0,
"depth_mm": 8.0,
"end_condition": {
"solidworks_code": 0,
"type": "blind"
},
"positions": [
{
"mm": [
-863.12496926,
20.0,
0.0
]
},
{
"mm": [
-863.12496926,
43.0,
0.0
]
},
{
"mm": [
-863.12496926,
66.0,
0.0
]
}
],
"thread": {
"diameter_mm": 4.0,
"depth_mm": 8.0,
"class": "1B"
}
},
"execution_status": "deferred",
"unresolved": [
"hole has no captured semantic selections"
]
},
{
"id": "f_008",
"name": "倒角1",
"atomic_id": "chamfer",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 0.5,
"angle_rad": 0.78539816339745
},
"execution_status": "deferred"
},
{
"id": "f_011",
"name": "倒角2",
"atomic_id": "chamfer",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 8.0,
"angle_rad": 0.002
},
"execution_status": "deferred"
},
{
"id": "f_012",
"name": "M4 螺纹孔2",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004"
],
"params": {
"hole_type": "螺纹孔",
"diameter_mm": 4.0,
"depth_mm": 8.0,
"end_condition": {
"solidworks_code": 0,
"type": "blind"
},
"positions": [
{
"mm": [
845.59996926,
293.046561093,
0.0
]
},
{
"mm": [
865.59996926,
293.046561093,
0.0
]
}
],
"thread": {
"diameter_mm": 4.0,
"depth_mm": 8.0,
"class": "1B"
},
"host_face": {
"kind": "face",
"stable_id": "step-face-a9466ea821feb862ba7c79e9",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
833.771695117,
285.046561093,
-0.0,
870.59996926,
307.546561093,
0.0
],
"center_mm": [
851.219048289,
294.857875288,
0.0
],
"normal": [
0.0,
0.0,
-1.0
],
"surface_type": "plane"
}
}
},
"execution_status": "deferred",
"selectors": [
{
"kind": "face",
"stable_id": "step-face-a9466ea821feb862ba7c79e9",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
833.771695117,
285.046561093,
-0.0,
870.59996926,
307.546561093,
0.0
],
"center_mm": [
851.219048289,
294.857875288,
0.0
],
"normal": [
0.0,
0.0,
-1.0
],
"surface_type": "plane"
}
}
]
},
{
"id": "f_013",
"name": "切除-拉伸4",
"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_007"
},
{
"id": "f_014",
"name": "切除-拉伸5",
"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_008"
},
{
"id": "f_016",
"name": "M5 螺纹孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004"
],
"params": {
"hole_type": "螺纹孔",
"diameter_mm": 5.0,
"depth_mm": 10.0,
"end_condition": {
"solidworks_code": 0,
"type": "blind"
},
"positions": [
{
"mm": [
-856.771695117,
294.046561093,
0.0
]
},
{
"mm": [
-841.771695117,
294.046561093,
0.0
]
}
],
"thread": {
"diameter_mm": 5.0,
"depth_mm": 10.0,
"class": "1B"
}
},
"execution_status": "deferred",
"unresolved": [
"hole has no captured semantic selections"
]
},
{
"id": "f_017",
"name": "切除-拉伸6",
"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_009"
},
{
"id": "f_006",
"name": "切除-拉伸2",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_005",
"f_004"
],
"params": {
"distance_mm": 0.0,
"reverse": false,
"end_condition": {
"type": "through_all",
"solidworks_code": 1
}
},
"execution_status": "deferred",
"sketch_id": "sk_004"
},
{
"id": "f_009",
"name": "切除-拉伸3",
"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": "deferred",
"sketch_id": "sk_005"
},
{
"id": "f_010",
"name": "凸台-拉伸2",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_004",
"f_005"
],
"params": {
"distance_mm": 0.0,
"reverse": true,
"end_condition": {
"type": "up_to_surface",
"solidworks_code": 4,
"reference": {
"kind": "face",
"stable_id": "cabe38092a7a2dd4e31283b4a53654761202c18d2642d1cce156509034c62b8b",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"surface": {
"type": "plane",
"parameters": [
0.0,
1.0,
0.0,
0.8337716951167266,
0.285046561092684,
0.08
]
},
"box": [
0.8337716951167266,
0.285046561092684,
0.0,
0.8705999692602135,
0.285046561092684,
0.08
],
"area": 0.002825801531478959
}
}
}
},
"execution_status": "deferred",
"sketch_id": "sk_006"
},
{
"id": "f_015",
"name": "M4 螺纹孔3",
"atomic_id": "hole_wizard",
"depends_on": [
"f_014"
],
"params": {
"hole_type": "螺纹孔",
"diameter_mm": 4.0,
"depth_mm": 8.0,
"end_condition": {
"solidworks_code": 0,
"type": "blind"
},
"positions": [
{
"mm": [
-53.0,
295.046561093,
0.0
]
},
{
"mm": [
-33.0,
295.046561093,
0.0
]
}
],
"thread": {
"diameter_mm": 4.0,
"depth_mm": 8.0,
"class": "1B"
}
},
"execution_status": "deferred",
"unresolved": [
"hole has no captured semantic selections"
]
},
{
"id": "f_018",
"name": "M6 螺纹孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004",
"f_013"
],
"params": {
"hole_type": "螺纹孔",
"diameter_mm": 6.0,
"depth_mm": 12.0,
"end_condition": {
"solidworks_code": 0,
"type": "blind"
},
"positions": [
{
"mm": [
852.185832188,
10.0,
0.0
]
},
{
"mm": [
852.185832188,
34.99,
0.0
]
},
{
"mm": [
852.185832188,
59.98,
0.0
]
}
],
"thread": {
"diameter_mm": 6.0,
"depth_mm": 12.0,
"class": "1B"
}
},
"execution_status": "deferred",
"unresolved": [
"hole has no captured semantic selections"
]
}
],
"meta": {
"unit": "mm",
"source": "067766.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete_with_blockers",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.05055366183948513,
"volume": 5.055366183948513e-05,
"surface_area": 0.014499940670783348,
"center_of_mass": [
0.8505841451252265,
0.29494146789847114,
0.03849323761414511
],
"principal_moments": [
7.536808920322145e-06,
2.6515563524766797e-05,
3.062049569310114e-05
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
0.8337716951167266,
0.285046561092684,
-1.2981256070961913e-18,
0.8705999692602135,
0.308046561092684,
0.08
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "M6 螺纹孔1",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAA0AAABxAAAAcAAAAG8AAABuAAAAbQAAAGwAAABrAAAAagAAAGkAAABoAAAAZwAAAGYAAABlAAAA",
"persist_reference_sha256": "481bb0c0cc1cd31c8f2e159a1f445f067ddb384df4665cfcb54ee77b9b04bf0b",
"component": null,
"geometry": {
"box": [
0.8337716951167266,
0.285046561092684,
-1.2981256070961913e-18,
0.8705999692602135,
0.308046561092684,
0.08
],
"face_count": 70,
"edge_count": 147,
"vertex_count": 88
},
"stable_id": "481bb0c0cc1cd31c8f2e159a1f445f067ddb384df4665cfcb54ee77b9b04bf0b"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 96,
"surface_counts": {
"cone": 24,
"cylinder": 28,
"plane": 44
},
"axis_count": 52,
"repeat_spacings_mm": [
{
"spacing_mm": 11.5,
"pair_count": 7
},
{
"spacing_mm": 30.2242,
"pair_count": 4
},
{
"spacing_mm": 24.99,
"pair_count": 4
},
{
"spacing_mm": 20.0,
"pair_count": 4
},
{
"spacing_mm": 23.0705,
"pair_count": 4
},
{
"spacing_mm": 23.0,
"pair_count": 4
},
{
"spacing_mm": 25.7148,
"pair_count": 4
},
{
"spacing_mm": 17.0,
"pair_count": 3
},
{
"spacing_mm": 52.792,
"pair_count": 2
},
{
"spacing_mm": 49.98,
"pair_count": 2
},
{
"spacing_mm": 14.0,
"pair_count": 2
},
{
"spacing_mm": 15.0,
"pair_count": 2
}
],
"metrics": {
"bounding_box_mm": [
833.771695117,
285.046560993,
-1e-07,
870.59996926,
308.046561093,
80.0
],
"volume_mm3": 50553.661824203,
"surface_area_mm2": 14499.940902023,
"solid_count": 1,
"face_count": 96,
"edge_count": 229,
"vertex_count": 146
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
833.771695117,
285.046561093,
-0.0,
870.59996926,
308.046561093,
80.0
],
"volume_mm3": 50553.661839485,
"surface_area_mm2": 14499.940670783,
"solid_count": 1,
"face_count": 70,
"edge_count": 147,
"vertex_count": 88
},
"comparisons": {
"volume_mm3": {
"expected": 50553.661839485,
"actual": 50553.661824203,
"absolute_delta": 1.5281999367289245e-05,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 14499.940670783,
"actual": 14499.940902023,
"absolute_delta": 0.0002312399992661085,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
833.771695117,
285.046561093,
-0.0,
870.59996926,
308.046561093,
80.0
],
"actual": [
833.771695117,
285.046560993,
-1e-07,
870.59996926,
308.046561093,
80.0
],
"max_absolute_delta": 1e-07,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 70,
"actual": 96,
"matches": false
},
"edge_count": {
"expected": 147,
"actual": 229,
"matches": false
},
"vertex_count": {
"expected": 88,
"actual": 146,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}