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

1345 lines
31 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "049454",
"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": [
0.0,
47.2
]
},
{
"type": "line",
"start": [
0.0,
47.2
],
"end": [
3.5,
47.2
]
},
{
"type": "line",
"start": [
3.5,
47.2
],
"end": [
3.5,
38.0
]
},
{
"type": "line",
"start": [
3.5,
38.0
],
"end": [
5.0,
38.0
]
},
{
"type": "line",
"start": [
5.0,
38.0
],
"end": [
5.0,
23.0
]
},
{
"type": "line",
"start": [
5.0,
23.0
],
"end": [
2.5,
23.0
]
},
{
"type": "line",
"start": [
2.5,
23.0
],
"end": [
2.5,
9.2
]
},
{
"type": "line",
"start": [
2.5,
9.2
],
"end": [
3.5,
9.2
]
},
{
"type": "line",
"start": [
3.5,
9.2
],
"end": [
3.5,
-0.0
]
},
{
"type": "line",
"start": [
3.5,
-0.0
],
"end": [
0.0,
0.0
]
}
]
}
]
}
},
{
"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": [
4.041451884,
7.0
],
"end": [
-4.041451884,
7.0
]
},
{
"type": "line",
"start": [
-4.041451884,
7.0
],
"end": [
-8.082903769,
0.0
]
},
{
"type": "line",
"start": [
-8.082903769,
0.0
],
"end": [
-4.041451884,
-7.0
]
},
{
"type": "line",
"start": [
-4.041451884,
-7.0
],
"end": [
4.041451884,
-7.0
]
},
{
"type": "line",
"start": [
4.041451884,
-7.0
],
"end": [
8.082903769,
0.0
]
},
{
"type": "line",
"start": [
8.082903769,
0.0
],
"end": [
4.041451884,
7.0
]
}
]
}
],
"construction": [
{
"type": "circle",
"center": [
0.0,
0.0
],
"radius_mm": 7.0
}
]
}
},
{
"id": "sk_004",
"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": [
{
"role": "outer",
"closed": true,
"segments": [
{
"type": "line",
"start": [
0.0,
47.2
],
"end": [
4.0,
47.2
]
},
{
"type": "line",
"start": [
4.0,
47.2
],
"end": [
4.0,
50.2
]
},
{
"type": "line",
"start": [
4.0,
50.2
],
"end": [
2.5,
50.2
]
},
{
"type": "line",
"start": [
2.5,
50.2
],
"end": [
2.5,
53.18753882
]
},
{
"type": "line",
"start": [
2.5,
53.18753882
],
"end": [
2.3,
55.2
]
},
{
"type": "line",
"start": [
2.3,
55.2
],
"end": [
2.6,
55.2
]
},
{
"type": "line",
"start": [
2.6,
55.2
],
"end": [
2.3,
57.2
]
},
{
"type": "line",
"start": [
2.3,
57.2
],
"end": [
2.6,
57.2
]
},
{
"type": "line",
"start": [
2.6,
57.2
],
"end": [
2.3,
59.2
]
},
{
"type": "line",
"start": [
2.3,
59.2
],
"end": [
0.0,
59.2
]
},
{
"type": "line",
"start": [
0.0,
59.2
],
"end": [
0.0,
47.2
]
}
]
}
]
}
},
{
"id": "sk_005",
"name": "草图8",
"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": "circles",
"items": [
{
"center": [
3.5,
10.0
],
"radius_mm": 0.5
},
{
"center": [
3.5,
12.0
],
"radius_mm": 0.5
},
{
"center": [
3.5,
14.0
],
"radius_mm": 0.5
},
{
"center": [
3.5,
16.0
],
"radius_mm": 0.5
},
{
"center": [
3.5,
18.0
],
"radius_mm": 0.5
},
{
"center": [
3.5,
20.0
],
"radius_mm": 0.5
},
{
"center": [
3.5,
22.0
],
"radius_mm": 0.5
}
]
}
}
]
},
"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": "revolve_add",
"depends_on": [
"f_001"
],
"params": {
"angle_deg": 360.0,
"axis": {
"origin_mm": [
0.0,
0.0,
0.0
],
"direction": [
0.0,
1.0,
0.0
]
},
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_002",
"selectors": [
{
"kind": "axis",
"stable_id": "e8194bc6e548ac63bc220e3164357bd1a8b1bf4f2d000262d8ac944f0b158bbb",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"start": [
0.0,
0.0,
0.0
],
"end": [
0.0,
0.04720000000000001,
0.0
]
}
}
]
},
{
"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_add_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 3.5,
"reverse": true,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_003"
},
{
"id": "f_007",
"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": [
0.0,
0.0,
0.0
]
}
],
"thread": {
"diameter_mm": 5.0,
"depth_mm": 10.0,
"class": "1B"
},
"host_face": {
"kind": "face",
"stable_id": "step-face-5fe8385eae9ce3639060786d",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
-3.5,
-0.0,
-3.5,
3.5,
-0.0,
3.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-5fe8385eae9ce3639060786d",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
-3.5,
-0.0,
-3.5,
3.5,
-0.0,
3.5
],
"center_mm": [
0.0,
-0.0,
0.0
],
"normal": [
0.0,
-1.0,
0.0
],
"surface_type": "plane"
}
}
]
},
{
"id": "f_008",
"name": "M5 螺纹孔2",
"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": [
0.0,
0.0,
0.0
]
}
],
"thread": {
"diameter_mm": 5.0,
"depth_mm": 10.0,
"class": "1B"
},
"host_face": {
"kind": "face",
"stable_id": "step-face-5fe8385eae9ce3639060786d",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
-3.5,
-0.0,
-3.5,
3.5,
-0.0,
3.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-5fe8385eae9ce3639060786d",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
-3.5,
-0.0,
-3.5,
3.5,
-0.0,
3.5
],
"center_mm": [
0.0,
-0.0,
0.0
],
"normal": [
0.0,
-1.0,
0.0
],
"surface_type": "plane"
}
}
]
},
{
"id": "f_009",
"name": "旋转2",
"atomic_id": "revolve_add",
"depends_on": [
"f_001",
"f_004"
],
"params": {
"angle_deg": 360.0,
"axis": {
"origin_mm": [
0.0,
59.2,
0.0
],
"direction": [
0.0,
-1.0,
0.0
]
},
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_004",
"selectors": [
{
"kind": "axis",
"stable_id": "b3a1f142b6665e807664c0b542290337a8a1fe7b9242fa5fa85a15c4410ce93d",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"start": [
0.0,
0.0592,
0.0
],
"end": [
8.673617379884035e-19,
0.0472,
0.0
]
}
}
]
},
{
"id": "f_010",
"name": "旋转3",
"atomic_id": "revolve_add",
"depends_on": [
"f_001",
"f_004"
],
"params": {
"angle_deg": 360.0,
"axis": {
"origin_mm": [
0.0,
-0.0,
0.0
],
"direction": [
0.0,
1.0,
0.0
]
},
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "supported",
"sketch_id": "sk_005",
"selectors": [
{
"kind": "axis",
"stable_id": "45ce16f37168fe4ebca3ae997580991c08846d1949de8a408829bdc40d49baf0",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"start": [
0.0,
-5.314412897388612e-19,
0.0
],
"end": [
0.0,
0.030081843024552694,
0.0
]
}
}
]
},
{
"id": "f_006",
"name": "阵列(线性)1",
"atomic_id": "pattern_linear",
"depends_on": [
"f_005"
],
"params": {
"source_feature_ids": [
"f_005"
],
"direction_1": [
0.0,
1.0,
0.0
],
"spacing_1_mm": 8.5,
"pattern_count_1": 2
},
"execution_status": "deferred"
}
],
"meta": {
"unit": "mm",
"source": "049454.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete_with_blockers",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.0028826595115553494,
"volume": 2.8826595115553497e-06,
"surface_area": 0.0028598342162724417,
"center_of_mass": [
2.952979986572342e-19,
0.03029606206040002,
-4.2850142571190285e-19
],
"principal_moments": [
4.783673238840248e-08,
4.648247866429701e-07,
4.648247866429701e-07
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.00808290376865476,
-1.2981256070961913e-18,
-0.007000000000000002,
0.008082903768654762,
0.0592,
0.007
],
"solid_body_count": 8,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "旋转3[2]",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAEAAABxAAAA",
"persist_reference_sha256": "aab15da3237d38955694dfb15db26147594c4fa5a199a20bcd8f02599f0ccc81",
"component": null,
"geometry": {
"box": [
-0.003999999999999993,
0.0115,
-0.003999999999999993,
0.003999999999999993,
0.0125,
0.003999999999999993
],
"face_count": 1,
"edge_count": 0,
"vertex_count": 0
},
"stable_id": "aab15da3237d38955694dfb15db26147594c4fa5a199a20bcd8f02599f0ccc81"
},
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "旋转3[4]",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAEAAABzAAAA",
"persist_reference_sha256": "119a7c935ddeed1e06e36ebfa82fc289f1d01ada899030e4304bfb040f123e7f",
"component": null,
"geometry": {
"box": [
-0.003999999999999979,
0.0155,
-0.003999999999999979,
0.003999999999999979,
0.0165,
0.003999999999999979
],
"face_count": 1,
"edge_count": 0,
"vertex_count": 0
},
"stable_id": "119a7c935ddeed1e06e36ebfa82fc289f1d01ada899030e4304bfb040f123e7f"
},
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "旋转3[6]",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAEAAAB1AAAA",
"persist_reference_sha256": "781e6aa07bb946e8c2f74c2af1f07095608579513db837bd3c26646acf84a206",
"component": null,
"geometry": {
"box": [
-0.003999999999999965,
0.0195,
-0.003999999999999965,
0.003999999999999965,
0.0205,
0.003999999999999965
],
"face_count": 1,
"edge_count": 0,
"vertex_count": 0
},
"stable_id": "781e6aa07bb946e8c2f74c2af1f07095608579513db837bd3c26646acf84a206"
},
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "旋转3[1]",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAEAAABwAAAA",
"persist_reference_sha256": "d5e62f2c215387f0bc985ba290d6fdb6c3bc386bd225da4047bc21db166f487f",
"component": null,
"geometry": {
"box": [
-0.004,
0.0095,
-0.004,
0.004,
0.0105,
0.004
],
"face_count": 1,
"edge_count": 0,
"vertex_count": 0
},
"stable_id": "d5e62f2c215387f0bc985ba290d6fdb6c3bc386bd225da4047bc21db166f487f"
},
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "旋转2",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAYAAABvAAAAbgAAAG0AAABsAAAAawAAAGoAAAA=",
"persist_reference_sha256": "0700f756110bac580a894a776e7fad79b4c66f1a06972cbecee080a0df0d2cc3",
"component": null,
"geometry": {
"box": [
-0.00808290376865476,
-1.2981256070961913e-18,
-0.007000000000000002,
0.008082903768654762,
0.0592,
0.007
],
"face_count": 41,
"edge_count": 61,
"vertex_count": 26
},
"stable_id": "0700f756110bac580a894a776e7fad79b4c66f1a06972cbecee080a0df0d2cc3"
},
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "旋转3[3]",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAEAAAByAAAA",
"persist_reference_sha256": "78fd57789eb63e9ac268664616b1bd3135e15dcb300fc0504c179638966579ec",
"component": null,
"geometry": {
"box": [
-0.003999999999999986,
0.0135,
-0.003999999999999986,
0.003999999999999986,
0.0145,
0.003999999999999986
],
"face_count": 1,
"edge_count": 0,
"vertex_count": 0
},
"stable_id": "78fd57789eb63e9ac268664616b1bd3135e15dcb300fc0504c179638966579ec"
},
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "旋转3[5]",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAEAAAB0AAAA",
"persist_reference_sha256": "390b1fa98a890dc543ba7a36ab02587525e42254877099bdfdd25afb28c0d803",
"component": null,
"geometry": {
"box": [
-0.003999999999999972,
0.0175,
-0.003999999999999972,
0.003999999999999972,
0.018500000000000003,
0.003999999999999972
],
"face_count": 1,
"edge_count": 0,
"vertex_count": 0
},
"stable_id": "390b1fa98a890dc543ba7a36ab02587525e42254877099bdfdd25afb28c0d803"
},
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "旋转3[7]",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAEAAAB2AAAA",
"persist_reference_sha256": "41072a27d4ad22b0305ab06d0e2aff6766072611172bd0582f3f3d0679fca3d7",
"component": null,
"geometry": {
"box": [
-0.0039999999999999584,
0.0215,
-0.0039999999999999584,
0.0039999999999999584,
0.0225,
0.0039999999999999584
],
"face_count": 1,
"edge_count": 0,
"vertex_count": 0
},
"stable_id": "41072a27d4ad22b0305ab06d0e2aff6766072611172bd0582f3f3d0679fca3d7"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 84,
"surface_counts": {
"cone": 10,
"cylinder": 20,
"plane": 26,
"torus": 28
},
"axis_count": 30,
"repeat_spacings_mm": [
{
"spacing_mm": 2.0,
"pair_count": 2
},
{
"spacing_mm": 22.4,
"pair_count": 2
},
{
"spacing_mm": 12.4,
"pair_count": 2
},
{
"spacing_mm": 34.8,
"pair_count": 2
}
],
"metrics": {
"bounding_box_mm": [
-8.082903769,
-0.0,
-7.0,
8.082903769,
59.2,
7.0
],
"volume_mm3": 2882.659511555,
"surface_area_mm2": 2859.834216272,
"solid_count": 8,
"face_count": 84,
"edge_count": 172,
"vertex_count": 104
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-8.082903769,
-0.0,
-7.0,
8.082903769,
59.2,
7.0
],
"volume_mm3": 2882.659511555,
"surface_area_mm2": 2859.834216272,
"solid_count": 8,
"face_count": 48,
"edge_count": 61,
"vertex_count": 26
},
"comparisons": {
"volume_mm3": {
"expected": 2882.659511555,
"actual": 2882.659511555,
"absolute_delta": 0.0,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 2859.834216272,
"actual": 2859.834216272,
"absolute_delta": 0.0,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-8.082903769,
-0.0,
-7.0,
8.082903769,
59.2,
7.0
],
"actual": [
-8.082903769,
-0.0,
-7.0,
8.082903769,
59.2,
7.0
],
"max_absolute_delta": 0.0,
"within_tolerance": true
},
"solid_count": {
"expected": 8,
"actual": 8,
"matches": true
},
"face_count": {
"expected": 48,
"actual": 84,
"matches": false
},
"edge_count": {
"expected": 61,
"actual": 172,
"matches": false
},
"vertex_count": {
"expected": 26,
"actual": 104,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}