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

1117 lines
23 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "043674",
"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,
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": [
-11.5,
75.0
],
"end": [
11.5,
75.0
]
},
{
"type": "line",
"start": [
11.5,
75.0
],
"end": [
11.5,
-75.0
]
},
{
"type": "line",
"start": [
11.5,
-75.0
],
"end": [
-11.5,
-75.0
]
},
{
"type": "line",
"start": [
-11.5,
-75.0
],
"end": [
-11.5,
75.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
-11.5,
75.0
],
"end": [
11.5,
-75.0
]
},
{
"type": "line",
"start": [
-11.5,
-75.0
],
"end": [
11.5,
75.0
]
}
]
}
},
{
"id": "sk_003",
"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": [
-9.35,
75.0
],
"end": [
-2.35,
75.0
]
},
{
"type": "line",
"start": [
-2.35,
75.0
],
"end": [
-2.35,
-75.0
]
},
{
"type": "line",
"start": [
-2.35,
-75.0
],
"end": [
-9.35,
-75.0
]
},
{
"type": "line",
"start": [
-9.35,
-75.0
],
"end": [
-9.35,
75.0
]
}
]
}
]
}
},
{
"id": "sk_004",
"name": "草图9",
"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": [
-8.85,
75.0
],
"end": [
-9.35,
73.0
]
},
{
"type": "line",
"start": [
-9.35,
73.0
],
"end": [
-9.35,
75.0
]
},
{
"type": "line",
"start": [
-9.35,
75.0
],
"end": [
-8.85,
75.0
]
}
]
}
]
}
},
{
"id": "sk_005",
"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": "circle",
"center": [
19.0,
23.0
],
"radius_mm": 2.0
}
},
{
"id": "sk_006",
"name": "草图11",
"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": [
-2.35,
75.0
],
"end": [
-9.35,
75.0
]
},
{
"type": "line",
"start": [
-9.35,
75.0
],
"end": [
-9.35,
55.0
]
},
{
"type": "line",
"start": [
-9.35,
55.0
],
"end": [
-2.35,
55.0
]
},
{
"type": "line",
"start": [
-2.35,
55.0
],
"end": [
-2.35,
75.0
]
}
]
}
]
}
},
{
"id": "sk_007",
"name": "草图14",
"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": "circle",
"center": [
50.0,
23.0
],
"radius_mm": 2.6
}
}
]
},
"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_blind",
"depends_on": [
"f_002"
],
"params": {
"distance_mm": 7.5,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_002"
},
{
"id": "f_005",
"name": "Ø5.5 (5.5) 直径槽口1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004"
],
"params": {
"hole_type": "钻孔大小",
"diameter_mm": 5.5,
"depth_mm": 7.5,
"end_condition": {
"solidworks_code": 1,
"type": "through_all"
},
"positions": [
{
"mm": [
6.5,
-41.0,
0.0
]
},
{
"mm": [
6.5,
39.0,
0.0
]
},
{
"mm": [
6.5,
-1.0,
0.0
]
}
]
},
"execution_status": "deferred",
"sketch_id": "sk_001",
"unresolved": [
"hole has no captured semantic selections"
]
},
{
"id": "f_006",
"name": "凸台-拉伸2",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 22.5,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_003"
},
{
"id": "f_012",
"name": "倒角1",
"atomic_id": "chamfer",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 0.5,
"angle_rad": 0.78539816339745
},
"execution_status": "deferred"
},
{
"id": "f_016",
"name": "倒角3",
"atomic_id": "chamfer",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 1.0,
"angle_rad": 0.78539816339745
},
"execution_status": "deferred"
},
{
"id": "f_007",
"name": "M3 螺纹孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_006"
],
"params": {
"hole_type": "底部螺纹孔",
"diameter_mm": 3.0,
"depth_mm": 6.0,
"end_condition": {
"solidworks_code": 0,
"type": "blind"
},
"positions": [
{
"mm": [
-5.85,
-65.0,
0.0
]
},
{
"mm": [
-5.85,
-35.0,
0.0
]
},
{
"mm": [
-5.85,
5.0,
0.0
]
},
{
"mm": [
-5.85,
35.0,
0.0
]
}
],
"thread": {
"diameter_mm": 3.0,
"depth_mm": 6.0,
"class": "1B"
}
},
"execution_status": "deferred",
"unresolved": [
"hole has no captured semantic selections"
]
},
{
"id": "f_008",
"name": "切除-拉伸1",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_006",
"f_004"
],
"params": {
"distance_mm": 0.0,
"reverse": false,
"end_condition": {
"type": "up_to_surface",
"solidworks_code": 4
}
},
"execution_status": "deferred",
"sketch_id": "sk_004"
},
{
"id": "f_009",
"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_005"
},
{
"id": "f_010",
"name": "切除-拉伸3",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_006",
"f_004"
],
"params": {
"distance_mm": 10.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_006"
},
{
"id": "f_015",
"name": "M3 螺纹孔2",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004",
"f_005"
],
"params": {
"hole_type": "底部螺纹孔",
"diameter_mm": 3.0,
"depth_mm": 6.0,
"end_condition": {
"solidworks_code": 0,
"type": "blind"
},
"positions": [
{
"mm": [
8.0,
14.0,
0.0
]
},
{
"mm": [
8.0,
24.0,
0.0
]
},
{
"mm": [
8.0,
54.0,
0.0
]
},
{
"mm": [
8.0,
64.0,
0.0
]
}
],
"thread": {
"diameter_mm": 3.0,
"depth_mm": 6.0,
"class": "1B"
}
},
"execution_status": "deferred",
"unresolved": [
"hole has no captured semantic selections"
]
},
{
"id": "f_011",
"name": "M4 螺纹孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_010",
"f_006",
"f_004"
],
"params": {
"hole_type": "底部螺纹孔",
"diameter_mm": 4.0,
"depth_mm": 8.0,
"end_condition": {
"solidworks_code": 0,
"type": "blind"
},
"positions": [
{
"mm": [
-5.85,
60.0,
0.0
]
},
{
"mm": [
-5.85,
70.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_013",
"name": "倒角2",
"atomic_id": "chamfer",
"depends_on": [
"f_010",
"f_006"
],
"params": {
"distance_mm": 0.3,
"angle_rad": 0.78539816339745
},
"execution_status": "deferred"
},
{
"id": "f_014",
"name": "切除-拉伸4",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_006",
"f_004",
"f_009"
],
"params": {
"distance_mm": 0.0,
"reverse": false,
"end_condition": {
"type": "through_all",
"solidworks_code": 1
}
},
"execution_status": "supported",
"sketch_id": "sk_007"
}
],
"meta": {
"unit": "mm",
"source": "043674.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete_with_blockers",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.3647322261260384,
"volume": 4.55915282657548e-05,
"surface_area": 0.017279139725482444,
"center_of_mass": [
-0.003056066590603626,
0.010650932871674538,
0.002498188675760032
],
"principal_moments": [
3.8793239173495055e-05,
0.0006717038628607268,
0.0006926045196100384
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.011500000000000008,
0.0,
-0.075,
0.011500000000000008,
0.03,
0.075
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "倒角3",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAoAAAB0AAAAcwAAAHIAAABxAAAAcAAAAG8AAABuAAAAbQAAAGwAAABqAAAA",
"persist_reference_sha256": "fb77ec76b4c9d0aa4c854495beb6e83a324963c28a6f760c121d8a7cce7840d6",
"component": null,
"geometry": {
"box": [
-0.011500000000000008,
0.0,
-0.075,
0.011500000000000008,
0.03,
0.075
],
"face_count": 49,
"edge_count": 111,
"vertex_count": 64
},
"stable_id": "fb77ec76b4c9d0aa4c854495beb6e83a324963c28a6f760c121d8a7cce7840d6"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 70,
"surface_counts": {
"cone": 12,
"cylinder": 33,
"plane": 25
},
"axis_count": 45,
"repeat_spacings_mm": [
{
"spacing_mm": 40.0,
"pair_count": 8
},
{
"spacing_mm": 10.0,
"pair_count": 7
},
{
"spacing_mm": 30.0,
"pair_count": 7
},
{
"spacing_mm": 20.0562,
"pair_count": 6
},
{
"spacing_mm": 70.0,
"pair_count": 5
},
{
"spacing_mm": 60.0187,
"pair_count": 4
},
{
"spacing_mm": 7.5,
"pair_count": 4
},
{
"spacing_mm": 30.9233,
"pair_count": 4
},
{
"spacing_mm": 70.4006,
"pair_count": 4
},
{
"spacing_mm": 50.0,
"pair_count": 3
},
{
"spacing_mm": 10.1119,
"pair_count": 3
},
{
"spacing_mm": 30.0375,
"pair_count": 3
}
],
"metrics": {
"bounding_box_mm": [
-11.5,
0.0,
-75.0,
11.5,
30.0,
75.0
],
"volume_mm3": 45591.528265755,
"surface_area_mm2": 17279.139725482,
"solid_count": 1,
"face_count": 70,
"edge_count": 180,
"vertex_count": 118
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-11.5,
0.0,
-75.0,
11.5,
30.0,
75.0
],
"volume_mm3": 45591.528265755,
"surface_area_mm2": 17279.139725482,
"solid_count": 1,
"face_count": 49,
"edge_count": 111,
"vertex_count": 64
},
"comparisons": {
"volume_mm3": {
"expected": 45591.528265755,
"actual": 45591.528265755,
"absolute_delta": 0.0,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 17279.139725482,
"actual": 17279.139725482,
"absolute_delta": 0.0,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-11.5,
0.0,
-75.0,
11.5,
30.0,
75.0
],
"actual": [
-11.5,
0.0,
-75.0,
11.5,
30.0,
75.0
],
"max_absolute_delta": 0.0,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 49,
"actual": 70,
"matches": false
},
"edge_count": {
"expected": 111,
"actual": 180,
"matches": false
},
"vertex_count": {
"expected": 64,
"actual": 118,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}