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

1389 lines
30 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "206025",
"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": [
-32.5,
-15.25
],
"end": [
32.5,
-15.25
]
},
{
"type": "line",
"start": [
32.5,
-15.25
],
"end": [
32.5,
15.25
]
},
{
"type": "line",
"start": [
32.5,
15.25
],
"end": [
-32.5,
15.25
]
},
{
"type": "line",
"start": [
-32.5,
15.25
],
"end": [
-32.5,
-15.25
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
-32.5,
-15.25
],
"end": [
32.5,
15.25
]
},
{
"type": "line",
"start": [
-32.5,
15.25
],
"end": [
32.5,
-15.25
]
}
]
}
},
{
"id": "sk_003",
"name": "草图5",
"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": [
32.5,
-15.25
],
"end": [
22.5,
-15.25
]
},
{
"type": "line",
"start": [
22.5,
-15.25
],
"end": [
22.5,
1.75
]
},
{
"type": "line",
"start": [
22.5,
1.75
],
"end": [
32.5,
1.75
]
},
{
"type": "line",
"start": [
32.5,
1.75
],
"end": [
32.5,
-15.25
]
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "line",
"start": [
-22.5,
-15.25
],
"end": [
-22.5,
1.75
]
},
{
"type": "line",
"start": [
-22.5,
1.75
],
"end": [
-32.5,
1.75
]
},
{
"type": "line",
"start": [
-32.5,
1.75
],
"end": [
-32.5,
-15.25
]
},
{
"type": "line",
"start": [
-32.5,
-15.25
],
"end": [
-22.5,
-15.25
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
0.0,
15.25
],
"end": [
0.0,
-22.482407574
]
}
]
}
},
{
"id": "sk_004",
"name": "草图6",
"role": "profile",
"workplane": {
"origin_mm": [
-4.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": [
27.0,
-6.75
],
"radius_mm": 2.5
}
},
{
"id": "sk_005",
"name": "草图7",
"role": "profile",
"workplane": {
"origin_mm": [
33.6,
-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": [
-27.0,
-6.75
],
"radius_mm": 4.1
}
},
{
"id": "sk_006",
"name": "草图8",
"role": "profile",
"workplane": {
"origin_mm": [
33.6,
-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": [
-14.0,
15.25
],
"end": [
14.0,
15.25
]
},
{
"type": "line",
"start": [
14.0,
15.25
],
"end": [
14.0,
-15.25
]
},
{
"type": "line",
"start": [
14.0,
-15.25
],
"end": [
-14.0,
-15.25
]
},
{
"type": "line",
"start": [
-14.0,
-15.25
],
"end": [
-14.0,
15.25
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
0.0,
15.25
],
"end": [
0.0,
-22.039363785
]
}
]
}
},
{
"id": "sk_007",
"name": "草图13",
"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": [
10.0,
18.25
],
"end": [
-10.0,
18.25
]
},
{
"type": "line",
"start": [
-10.0,
18.25
],
"end": [
-10.0,
1.25
]
},
{
"type": "line",
"start": [
-10.0,
1.25
],
"end": [
10.0,
1.25
]
},
{
"type": "line",
"start": [
10.0,
1.25
],
"end": [
10.0,
18.25
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
-0.0,
-14.75
],
"end": [
0.0,
22.107443709
]
}
]
}
}
]
},
"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": 33.6,
"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": "M8x1.0 螺纹孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004"
],
"params": {
"hole_type": "螺纹孔",
"diameter_mm": 8.0,
"depth_mm": 33.6,
"end_condition": {
"solidworks_code": 1,
"type": "through_all"
},
"positions": [
{
"mm": [
0.0,
-9.75,
0.0
]
},
{
"mm": [
0.0,
9.25,
0.0
]
}
],
"thread": {
"diameter_mm": 8.0,
"depth_mm": 33.6,
"class": "2B"
},
"host_face": {
"kind": "face",
"stable_id": "step-face-fd53246b407ae9b39b5b77f1",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
-32.0,
-14.75,
-0.0,
32.0,
14.75,
0.0
],
"center_mm": [
-0.0,
0.147573722,
0.0
],
"normal": [
0.0,
0.0,
-1.0
],
"surface_type": "plane"
}
}
},
"execution_status": "deferred",
"sketch_id": "sk_001",
"selectors": [
{
"kind": "face",
"stable_id": "step-face-fd53246b407ae9b39b5b77f1",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
-32.0,
-14.75,
-0.0,
32.0,
14.75,
0.0
],
"center_mm": [
-0.0,
0.147573722,
0.0
],
"normal": [
0.0,
0.0,
-1.0
],
"surface_type": "plane"
}
}
]
},
{
"id": "f_006",
"name": "凸台-拉伸3",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 4.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_003"
},
{
"id": "f_013",
"name": "切除-拉伸6",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 15.0,
"reverse": true,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_006"
},
{
"id": "f_016",
"name": "Ø5.0 (5) 直径孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004"
],
"params": {
"hole_type": "钻孔大小",
"diameter_mm": 5.0,
"depth_mm": 8.0,
"end_condition": {
"solidworks_code": 0,
"type": "blind"
},
"positions": [
{
"mm": [
19.5,
1.25,
0.0
]
},
{
"mm": [
-19.5,
1.25,
0.0
]
}
],
"host_face": {
"kind": "face",
"stable_id": "step-face-fd53246b407ae9b39b5b77f1",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
-32.0,
-14.75,
-0.0,
32.0,
14.75,
0.0
],
"center_mm": [
-0.0,
0.147573722,
0.0
],
"normal": [
0.0,
0.0,
-1.0
],
"surface_type": "plane"
}
}
},
"execution_status": "deferred",
"sketch_id": "sk_001",
"selectors": [
{
"kind": "face",
"stable_id": "step-face-fd53246b407ae9b39b5b77f1",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
-32.0,
-14.75,
-0.0,
32.0,
14.75,
0.0
],
"center_mm": [
-0.0,
0.147573722,
0.0
],
"normal": [
0.0,
0.0,
-1.0
],
"surface_type": "plane"
}
}
]
},
{
"id": "f_007",
"name": "倒角1",
"atomic_id": "chamfer",
"depends_on": [
"f_006"
],
"params": {
"distance_mm": 2.0,
"angle_rad": 0.78539816339745
},
"execution_status": "deferred"
},
{
"id": "f_008",
"name": "切除-拉伸2",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_006",
"f_004"
],
"params": {
"distance_mm": 0.0,
"reverse": false,
"end_condition": {
"type": "through_all",
"solidworks_code": 1
}
},
"execution_status": "supported",
"sketch_id": "sk_004"
},
{
"id": "f_011",
"name": "倒角2",
"atomic_id": "chamfer",
"depends_on": [
"f_004",
"f_006"
],
"params": {
"distance_mm": 0.5,
"angle_rad": 0.78539816339745
},
"execution_status": "deferred"
},
{
"id": "f_014",
"name": "倒角5",
"atomic_id": "chamfer",
"depends_on": [
"f_004",
"f_013"
],
"params": {
"distance_mm": 1.0,
"angle_rad": 0.78539816339745
},
"execution_status": "deferred"
},
{
"id": "f_015",
"name": "M5 螺纹孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004",
"f_013"
],
"params": {
"hole_type": "螺纹孔",
"diameter_mm": 5.0,
"depth_mm": 8.0,
"end_condition": {
"solidworks_code": 0,
"type": "blind"
},
"positions": [
{
"mm": [
19.5,
10.75,
0.0
]
},
{
"mm": [
-19.5,
10.75,
0.0
]
}
],
"thread": {
"diameter_mm": 5.0,
"depth_mm": 8.0,
"class": "2B"
},
"host_face": {
"kind": "face",
"stable_id": "step-face-fd53246b407ae9b39b5b77f1",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
-32.0,
-14.75,
-0.0,
32.0,
14.75,
0.0
],
"center_mm": [
-0.0,
0.147573722,
0.0
],
"normal": [
0.0,
0.0,
-1.0
],
"surface_type": "plane"
}
}
},
"execution_status": "deferred",
"sketch_id": "sk_001",
"selectors": [
{
"kind": "face",
"stable_id": "step-face-fd53246b407ae9b39b5b77f1",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
-32.0,
-14.75,
-0.0,
32.0,
14.75,
0.0
],
"center_mm": [
-0.0,
0.147573722,
0.0
],
"normal": [
0.0,
0.0,
-1.0
],
"surface_type": "plane"
}
}
]
},
{
"id": "f_009",
"name": "切除-拉伸3",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_004",
"f_008"
],
"params": {
"distance_mm": 15.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "supported",
"sketch_id": "sk_005"
},
{
"id": "f_017",
"name": "倒角7",
"atomic_id": "chamfer",
"depends_on": [
"f_006",
"f_004",
"f_007",
"f_011"
],
"params": {
"distance_mm": 0.5,
"angle_rad": 0.78539816339745
},
"execution_status": "deferred"
},
{
"id": "f_010",
"name": "镜向1",
"atomic_id": "pattern_mirror",
"depends_on": [
"f_003",
"f_009",
"f_008"
],
"params": {
"source_feature_ids": [
"f_009",
"f_008"
],
"mirror_plane": {
"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_018",
"name": "切除-拉伸7",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_004",
"f_017"
],
"params": {
"distance_mm": 1.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_007"
},
{
"id": "f_012",
"name": "倒角3",
"atomic_id": "chamfer",
"depends_on": [
"f_009",
"f_004",
"f_010"
],
"params": {
"distance_mm": 0.3,
"angle_rad": 0.78539816339745
},
"execution_status": "deferred"
},
{
"id": "f_019",
"name": "圆角1",
"atomic_id": "fillet",
"depends_on": [
"f_018"
],
"params": {
"radius_mm": 2.0,
"tangent_propagation": false
},
"execution_status": "deferred"
},
{
"id": "f_020",
"name": "倒角8",
"atomic_id": "chamfer",
"depends_on": [
"f_018",
"f_004"
],
"params": {
"distance_mm": 0.3,
"angle_rad": 0.78539816339745
},
"execution_status": "deferred"
}
],
"meta": {
"unit": "mm",
"source": "206025.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete_with_blockers",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.3968534114843263,
"volume": 5.029827775466746e-05,
"surface_area": 0.013210715155577573,
"center_of_mass": [
-1.4447897456628115e-08,
6.972761003659942e-05,
0.013971903210042786
],
"principal_moments": [
6.57468487333472e-05,
0.0002003478562878723,
0.0002051161983101333
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.03250000000000001,
-0.015249999999999996,
-0.004000000000000002,
0.032499999999999994,
0.015250000000000007,
0.033600000000000005
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "倒角8",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAoAAAB2AAAAdQAAAHQAAABzAAAAcQAAAHAAAABvAAAAbgAAAGsAAABqAAAA",
"persist_reference_sha256": "707277c337151e87997506978e6005021d5dea514756f713bbd4c6ecebddc39f",
"component": null,
"geometry": {
"box": [
-0.03250000000000001,
-0.015249999999999996,
-0.004,
0.032499999999999994,
0.015250000000000007,
0.033600000000000005
],
"face_count": 83,
"edge_count": 183,
"vertex_count": 102
},
"stable_id": "707277c337151e87997506978e6005021d5dea514756f713bbd4c6ecebddc39f"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 99,
"surface_counts": {
"cone": 14,
"cylinder": 22,
"plane": 63
},
"axis_count": 36,
"repeat_spacings_mm": [
{
"spacing_mm": 8.0,
"pair_count": 4
},
{
"spacing_mm": 39.0,
"pair_count": 4
},
{
"spacing_mm": 39.8121,
"pair_count": 4
},
{
"spacing_mm": 9.5,
"pair_count": 4
},
{
"spacing_mm": 12.4197,
"pair_count": 4
},
{
"spacing_mm": 40.1404,
"pair_count": 4
},
{
"spacing_mm": 40.9298,
"pair_count": 4
},
{
"spacing_mm": 10.9659,
"pair_count": 2
},
{
"spacing_mm": 18.5809,
"pair_count": 2
},
{
"spacing_mm": 49.5101,
"pair_count": 2
},
{
"spacing_mm": 40.3759,
"pair_count": 2
},
{
"spacing_mm": 39.6637,
"pair_count": 2
}
],
"metrics": {
"bounding_box_mm": [
-32.5,
-15.25,
-4.0,
32.5,
15.25,
33.6
],
"volume_mm3": 50298.277754668,
"surface_area_mm2": 13210.715155578,
"solid_count": 1,
"face_count": 99,
"edge_count": 237,
"vertex_count": 144
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-32.5,
-15.25,
-4.0,
32.5,
15.25,
33.6
],
"volume_mm3": 50298.277754667,
"surface_area_mm2": 13210.715155578,
"solid_count": 1,
"face_count": 83,
"edge_count": 183,
"vertex_count": 102
},
"comparisons": {
"volume_mm3": {
"expected": 50298.277754667,
"actual": 50298.277754668,
"absolute_delta": 1.0040821507573128e-09,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 13210.715155578,
"actual": 13210.715155578,
"absolute_delta": 0.0,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-32.5,
-15.25,
-4.0,
32.5,
15.25,
33.6
],
"actual": [
-32.5,
-15.25,
-4.0,
32.5,
15.25,
33.6
],
"max_absolute_delta": 0.0,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 83,
"actual": 99,
"matches": false
},
"edge_count": {
"expected": 183,
"actual": 237,
"matches": false
},
"vertex_count": {
"expected": 102,
"actual": 144,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}