Files
cdsl-cad/json_to_cdsl/output/224719.cdsl.json
T
2026-08-24 14:52:08 +08:00

1503 lines
34 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "224719",
"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": [
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": "arc",
"start": [
-9.8,
1.8
],
"end": [
-7.6,
4.0
],
"center": [
-9.8,
4.0
],
"radius_mm": 2.2,
"clockwise": false
},
{
"type": "line",
"start": [
-7.6,
4.0
],
"end": [
-7.6,
9.8
]
},
{
"type": "arc",
"start": [
-7.6,
9.8
],
"end": [
-6.6,
10.8
],
"center": [
-6.6,
9.8
],
"radius_mm": 1.0,
"clockwise": true
},
{
"type": "line",
"start": [
-6.6,
10.8
],
"end": [
6.6,
10.8
]
},
{
"type": "arc",
"start": [
6.6,
10.8
],
"end": [
7.6,
9.8
],
"center": [
6.6,
9.8
],
"radius_mm": 1.0,
"clockwise": true
},
{
"type": "line",
"start": [
7.6,
9.8
],
"end": [
7.6,
4.0
]
},
{
"type": "arc",
"start": [
7.6,
4.0
],
"end": [
9.8,
1.8
],
"center": [
9.8,
4.0
],
"radius_mm": 2.2,
"clockwise": false
},
{
"type": "line",
"start": [
9.8,
1.8
],
"end": [
17.8,
1.8
]
},
{
"type": "line",
"start": [
17.8,
1.8
],
"end": [
17.8,
0.0
]
},
{
"type": "line",
"start": [
17.8,
0.0
],
"end": [
19.0,
0.0
]
},
{
"type": "line",
"start": [
19.0,
0.0
],
"end": [
19.0,
1.8
]
},
{
"type": "arc",
"start": [
19.0,
1.8
],
"end": [
17.8,
3.0
],
"center": [
17.8,
1.8
],
"radius_mm": 1.2,
"clockwise": false
},
{
"type": "line",
"start": [
17.8,
3.0
],
"end": [
9.8,
3.0
]
},
{
"type": "arc",
"start": [
9.8,
3.0
],
"end": [
8.8,
4.0
],
"center": [
9.8,
4.0
],
"radius_mm": 1.0,
"clockwise": true
},
{
"type": "line",
"start": [
8.8,
4.0
],
"end": [
8.8,
9.8
]
},
{
"type": "arc",
"start": [
8.8,
9.8
],
"end": [
6.6,
12.0
],
"center": [
6.6,
9.8
],
"radius_mm": 2.2,
"clockwise": false
},
{
"type": "line",
"start": [
6.6,
12.0
],
"end": [
-6.6,
12.0
]
},
{
"type": "arc",
"start": [
-6.6,
12.0
],
"end": [
-8.8,
9.8
],
"center": [
-6.6,
9.8
],
"radius_mm": 2.2,
"clockwise": false
},
{
"type": "line",
"start": [
-8.8,
9.8
],
"end": [
-8.8,
4.0
]
},
{
"type": "arc",
"start": [
-8.8,
4.0
],
"end": [
-9.8,
3.0
],
"center": [
-9.8,
4.0
],
"radius_mm": 1.0,
"clockwise": true
},
{
"type": "line",
"start": [
-9.8,
3.0
],
"end": [
-17.8,
3.0
]
},
{
"type": "arc",
"start": [
-17.8,
3.0
],
"end": [
-19.0,
1.8
],
"center": [
-17.8,
1.8
],
"radius_mm": 1.2,
"clockwise": false
},
{
"type": "line",
"start": [
-19.0,
1.8
],
"end": [
-19.0,
0.0
]
},
{
"type": "line",
"start": [
-19.0,
0.0
],
"end": [
-17.8,
0.0
]
},
{
"type": "line",
"start": [
-17.8,
0.0
],
"end": [
-17.8,
1.8
]
},
{
"type": "line",
"start": [
-17.8,
1.8
],
"end": [
-9.8,
1.8
]
}
]
}
]
}
},
{
"id": "sk_003",
"name": "草图2",
"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": [
-17.8,
1.8
],
"end": [
-17.8,
1.0
]
},
{
"type": "line",
"start": [
-17.8,
1.0
],
"end": [
17.8,
1.0
]
},
{
"type": "line",
"start": [
17.8,
1.0
],
"end": [
17.8,
1.8
]
},
{
"type": "line",
"start": [
17.8,
1.8
],
"end": [
-17.8,
1.8
]
}
]
}
]
}
},
{
"id": "sk_004",
"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": [
14.0,
6.0
],
"end": [
17.5,
6.0
]
},
{
"type": "line",
"start": [
17.5,
6.0
],
"end": [
17.5,
3.0
]
},
{
"type": "line",
"start": [
17.5,
3.0
],
"end": [
15.75,
1.25
]
},
{
"type": "line",
"start": [
15.75,
1.25
],
"end": [
15.75,
0.0
]
},
{
"type": "line",
"start": [
15.75,
0.0
],
"end": [
14.0,
0.0
]
},
{
"type": "line",
"start": [
14.0,
0.0
],
"end": [
14.0,
6.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
14.0,
0.0
],
"end": [
14.0,
6.0
]
}
]
}
},
{
"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": [
-14.0,
6.0
],
"end": [
-10.5,
6.0
]
},
{
"type": "line",
"start": [
-10.5,
6.0
],
"end": [
-10.5,
3.0
]
},
{
"type": "line",
"start": [
-10.5,
3.0
],
"end": [
-12.25,
1.25
]
},
{
"type": "line",
"start": [
-12.25,
1.25
],
"end": [
-12.25,
0.0
]
},
{
"type": "line",
"start": [
-12.25,
0.0
],
"end": [
-14.0,
0.0
]
},
{
"type": "line",
"start": [
-14.0,
0.0
],
"end": [
-14.0,
6.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
-14.0,
0.0
],
"end": [
-14.0,
6.0
]
}
]
}
},
{
"id": "sk_006",
"name": "cp_body",
"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_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_004",
"name": "凸台-拉伸1",
"atomic_id": "extrude_add_two_sided",
"depends_on": [
"f_003"
],
"params": {
"distance_mm": 6.0,
"reverse": true,
"end_condition": {
"type": "blind",
"solidworks_code": 0
},
"reverse_distance_mm": 6.0,
"reverse_end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_002"
},
{
"id": "f_008",
"name": "基准面4",
"atomic_id": "reference_plane",
"depends_on": [
"f_003"
],
"params": {
"plane": {
"origin_mm": [
6.0,
0.0,
0.0
],
"normal": [
1.0,
0.0,
0.0
],
"x_dir": [
0.0,
1.0,
0.0
]
},
"offset_mm": 6.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_005",
"name": "凸台-拉伸2",
"atomic_id": "extrude_add_two_sided",
"depends_on": [
"f_003",
"f_004"
],
"params": {
"distance_mm": 5.95,
"reverse": true,
"end_condition": {
"type": "blind",
"solidworks_code": 0
},
"reverse_distance_mm": 5.95,
"reverse_end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_003"
},
{
"id": "f_006",
"name": "切除-旋转1",
"atomic_id": "revolve_cut",
"depends_on": [
"f_003",
"f_004"
],
"params": {
"angle_deg": 360.0,
"axis": {
"origin_mm": [
14.0,
0.0,
0.0
],
"direction": [
0.0,
1.0,
0.0
]
},
"reverse": true,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_004",
"selectors": [
{
"kind": "axis",
"stable_id": "c2f1767bb4b520fcaba9ec338f9843e5900cc0eb961e623a5175697f415b7793",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"start": [
0.014,
0.0,
0.0
],
"end": [
0.014,
0.006,
0.0
]
}
}
]
},
{
"id": "f_007",
"name": "切除-旋转2",
"atomic_id": "revolve_cut",
"depends_on": [
"f_003",
"f_004"
],
"params": {
"angle_deg": 360.0,
"axis": {
"origin_mm": [
-14.0,
0.0,
0.0
],
"direction": [
0.0,
1.0,
0.0
]
},
"reverse": true,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_005",
"selectors": [
{
"kind": "axis",
"stable_id": "ef1dc1ba14e275fa0711c585a47863ca5ebccfbf7106071af245734cf156960e",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"start": [
-0.014,
0.0,
0.0
],
"end": [
-0.014,
0.006,
0.0
]
}
}
]
},
{
"id": "f_009",
"name": "cp_body XY",
"atomic_id": "reference_plane",
"depends_on": [
"f_008"
],
"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": -1
},
"execution_status": "deferred"
},
{
"id": "f_010",
"name": "cp_body XZ",
"atomic_id": "reference_plane",
"depends_on": [
"f_009"
],
"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": -1
},
"execution_status": "deferred"
},
{
"id": "f_011",
"name": "cp_body YZ",
"atomic_id": "reference_plane",
"depends_on": [
"f_010"
],
"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": -1
},
"execution_status": "deferred"
},
{
"id": "f_012",
"name": "cp_body X",
"atomic_id": "reference_axis",
"depends_on": [
"f_009",
"f_010"
],
"params": {
"axis": {
"selector": {
"kind": "feature",
"stable_id": "bb8db50690578e6daf7cbd4e19cc989f3a7bfde6c1ecef1a86e60f5af18b2ec5",
"source": "solidworks",
"confidence": 1.0
}
}
},
"execution_status": "deferred",
"selectors": [
{
"kind": "feature",
"stable_id": "bb8db50690578e6daf7cbd4e19cc989f3a7bfde6c1ecef1a86e60f5af18b2ec5",
"source": "solidworks",
"confidence": 1.0
},
{
"kind": "plane",
"stable_id": "bb8db50690578e6daf7cbd4e19cc989f3a7bfde6c1ecef1a86e60f5af18b2ec5",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_009"
},
{
"kind": "plane",
"stable_id": "cc822751c3d402c24a5adfe3bfd717caeb78b209ad02c1c30164ac4e3b911e7e",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_010"
}
]
},
{
"id": "f_013",
"name": "cp_body Y",
"atomic_id": "reference_axis",
"depends_on": [
"f_009",
"f_011"
],
"params": {
"axis": {
"selector": {
"kind": "feature",
"stable_id": "bb8db50690578e6daf7cbd4e19cc989f3a7bfde6c1ecef1a86e60f5af18b2ec5",
"source": "solidworks",
"confidence": 1.0
}
}
},
"execution_status": "deferred",
"selectors": [
{
"kind": "feature",
"stable_id": "bb8db50690578e6daf7cbd4e19cc989f3a7bfde6c1ecef1a86e60f5af18b2ec5",
"source": "solidworks",
"confidence": 1.0
},
{
"kind": "plane",
"stable_id": "bb8db50690578e6daf7cbd4e19cc989f3a7bfde6c1ecef1a86e60f5af18b2ec5",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_009"
},
{
"kind": "plane",
"stable_id": "e6f89605bcb568ca52736b13ab71157ad88b2b53ad9553acbbb37d30eb144123",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_011"
}
]
},
{
"id": "f_014",
"name": "cp_body Z",
"atomic_id": "reference_axis",
"depends_on": [
"f_011",
"f_010"
],
"params": {
"axis": {
"selector": {
"kind": "feature",
"stable_id": "e6f89605bcb568ca52736b13ab71157ad88b2b53ad9553acbbb37d30eb144123",
"source": "solidworks",
"confidence": 1.0
}
}
},
"execution_status": "deferred",
"selectors": [
{
"kind": "feature",
"stable_id": "e6f89605bcb568ca52736b13ab71157ad88b2b53ad9553acbbb37d30eb144123",
"source": "solidworks",
"confidence": 1.0
},
{
"kind": "plane",
"stable_id": "e6f89605bcb568ca52736b13ab71157ad88b2b53ad9553acbbb37d30eb144123",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_011"
},
{
"kind": "plane",
"stable_id": "cc822751c3d402c24a5adfe3bfd717caeb78b209ad02c1c30164ac4e3b911e7e",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_010"
}
]
}
],
"meta": {
"unit": "mm",
"source": "05_壳体与盖件/0501_箱体壳体/050199_通用壳体/224719.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "hybrid_semantic_surfaceir_pending",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.0010667968449904045,
"volume": 1.0667968449904046e-06,
"surface_area": 0.0020114490611243836,
"center_of_mass": [
7.753871943260836e-19,
0.004938173238128891,
-6.40684206444707e-18
],
"principal_moments": [
3.171615904821118e-08,
1.2845721727295932e-07,
1.3303111567073777e-07
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.006,
0.0,
-0.019000000000000003,
0.006,
0.012,
0.019000000000000003
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "切除-旋转2",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAQAAABoAAAAZwAAAGYAAABlAAAA",
"persist_reference_sha256": "b5fdc8a80d75492240d2f0abebd3a4cf9537f5703d925dc302bac9d91636edc0",
"component": null,
"geometry": {
"box": [
-0.006,
0.0,
-0.019,
0.006,
0.012,
0.019000000000000003
],
"face_count": 38,
"edge_count": 104,
"vertex_count": 64
},
"stable_id": "b5fdc8a80d75492240d2f0abebd3a4cf9537f5703d925dc302bac9d91636edc0"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 42,
"surface_counts": {
"cone": 4,
"cylinder": 14,
"plane": 24
},
"axis_count": 18,
"repeat_spacings_mm": [
{
"spacing_mm": 1.25,
"pair_count": 2
},
{
"spacing_mm": 28.0,
"pair_count": 2
},
{
"spacing_mm": 28.0279,
"pair_count": 2
},
{
"spacing_mm": 7.8232,
"pair_count": 2
},
{
"spacing_mm": 12.8009,
"pair_count": 2
},
{
"spacing_mm": 23.0968,
"pair_count": 2
},
{
"spacing_mm": 24.6982,
"pair_count": 2
},
{
"spacing_mm": 32.3658,
"pair_count": 2
},
{
"spacing_mm": 7.1234,
"pair_count": 2
},
{
"spacing_mm": 8.3451,
"pair_count": 2
},
{
"spacing_mm": 13.6675,
"pair_count": 2
},
{
"spacing_mm": 23.5881,
"pair_count": 2
}
],
"metrics": {
"bounding_box_mm": [
-6.0,
0.0,
-19.0,
6.0,
12.0,
19.0
],
"volume_mm3": 1066.79684499,
"surface_area_mm2": 2011.449061124,
"solid_count": 1,
"face_count": 42,
"edge_count": 118,
"vertex_count": 76
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-6.0,
0.0,
-19.0,
6.0,
12.0,
19.0
],
"volume_mm3": 1066.79684499,
"surface_area_mm2": 2011.449061124,
"solid_count": 1,
"face_count": 38,
"edge_count": 104,
"vertex_count": 64
},
"comparisons": {
"volume_mm3": {
"expected": 1066.79684499,
"actual": 1066.79684499,
"absolute_delta": 0.0,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 2011.449061124,
"actual": 2011.449061124,
"absolute_delta": 0.0,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-6.0,
0.0,
-19.0,
6.0,
12.0,
19.0
],
"actual": [
-6.0,
0.0,
-19.0,
6.0,
12.0,
19.0
],
"max_absolute_delta": 0.0,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 38,
"actual": 42,
"matches": false
},
"edge_count": {
"expected": 104,
"actual": 118,
"matches": false
},
"vertex_count": {
"expected": 64,
"actual": 76,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}