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

1390 lines
32 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "073302",
"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": "inner",
"closed": false,
"segments": [
{
"type": "line",
"start": [
-29.983328701,
1.0
],
"end": [
29.983328701,
1.0
]
}
]
},
{
"role": "outer",
"closed": true,
"segments": [
{
"type": "line",
"start": [
-2.5,
-17.5
],
"end": [
2.5,
-17.5
]
},
{
"type": "line",
"start": [
2.5,
-17.5
],
"end": [
2.5,
17.5
]
},
{
"type": "line",
"start": [
2.5,
17.5
],
"end": [
-2.5,
17.5
]
},
{
"type": "line",
"start": [
-2.5,
17.5
],
"end": [
-2.5,
-17.5
]
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "circle",
"center": [
0.0,
0.0
],
"radius_mm": 30.0
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "circle",
"center": [
0.0,
0.0
],
"radius_mm": 16.5
}
]
}
],
"construction": [
{
"type": "line",
"start": [
-2.5,
-17.5
],
"end": [
2.5,
17.5
]
},
{
"type": "line",
"start": [
-2.5,
17.5
],
"end": [
2.5,
-17.5
]
}
]
}
},
{
"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": "arc",
"start": [
22.5,
-20.25
],
"end": [
22.5,
-31.25
],
"center": [
22.5,
-25.75
],
"radius_mm": 5.5,
"clockwise": false
},
{
"type": "line",
"start": [
22.5,
-31.25
],
"end": [
42.5,
-31.25
]
},
{
"type": "arc",
"start": [
42.5,
-31.25
],
"end": [
42.5,
-20.25
],
"center": [
42.5,
-25.75
],
"radius_mm": 5.5,
"clockwise": false
},
{
"type": "line",
"start": [
42.5,
-20.25
],
"end": [
22.5,
-20.25
]
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "arc",
"start": [
22.5,
27.75
],
"end": [
22.5,
16.75
],
"center": [
22.5,
22.25
],
"radius_mm": 5.5,
"clockwise": false
},
{
"type": "line",
"start": [
22.5,
16.75
],
"end": [
42.5,
16.75
]
},
{
"type": "arc",
"start": [
42.5,
16.75
],
"end": [
42.5,
27.75
],
"center": [
42.5,
22.25
],
"radius_mm": 5.5,
"clockwise": false
},
{
"type": "line",
"start": [
42.5,
27.75
],
"end": [
22.5,
27.75
]
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "arc",
"start": [
-42.5,
27.75
],
"end": [
-42.5,
16.75
],
"center": [
-42.5,
22.25
],
"radius_mm": 5.5,
"clockwise": false
},
{
"type": "line",
"start": [
-42.5,
16.75
],
"end": [
-22.5,
16.75
]
},
{
"type": "arc",
"start": [
-22.5,
16.75
],
"end": [
-22.5,
27.75
],
"center": [
-22.5,
22.25
],
"radius_mm": 5.5,
"clockwise": false
},
{
"type": "line",
"start": [
-22.5,
27.75
],
"end": [
-42.5,
27.75
]
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "arc",
"start": [
-42.5,
-20.25
],
"end": [
-42.5,
-31.25
],
"center": [
-42.5,
-25.75
],
"radius_mm": 5.5,
"clockwise": false
},
{
"type": "line",
"start": [
-42.5,
-31.25
],
"end": [
-22.5,
-31.25
]
},
{
"type": "arc",
"start": [
-22.5,
-31.25
],
"end": [
-22.5,
-20.25
],
"center": [
-22.5,
-25.75
],
"radius_mm": 5.5,
"clockwise": false
},
{
"type": "line",
"start": [
-22.5,
-20.25
],
"end": [
-42.5,
-20.25
]
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "arc",
"start": [
-42.5,
3.75
],
"end": [
-42.5,
-7.25
],
"center": [
-42.5,
-1.75
],
"radius_mm": 5.5,
"clockwise": false
},
{
"type": "line",
"start": [
-42.5,
-7.25
],
"end": [
-22.5,
-7.25
]
},
{
"type": "arc",
"start": [
-22.5,
-7.25
],
"end": [
-22.5,
3.75
],
"center": [
-22.5,
-1.75
],
"radius_mm": 5.5,
"clockwise": false
},
{
"type": "line",
"start": [
-22.5,
3.75
],
"end": [
-42.5,
3.75
]
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "arc",
"start": [
22.5,
3.75
],
"end": [
22.5,
-7.25
],
"center": [
22.5,
-1.75
],
"radius_mm": 5.5,
"clockwise": false
},
{
"type": "line",
"start": [
22.5,
-7.25
],
"end": [
42.5,
-7.25
]
},
{
"type": "arc",
"start": [
42.5,
-7.25
],
"end": [
42.5,
3.75
],
"center": [
42.5,
-1.75
],
"radius_mm": 5.5,
"clockwise": false
},
{
"type": "line",
"start": [
42.5,
3.75
],
"end": [
22.5,
3.75
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
22.5,
-25.75
],
"end": [
42.5,
-25.75
]
},
{
"type": "line",
"start": [
22.5,
22.25
],
"end": [
42.5,
22.25
]
},
{
"type": "line",
"start": [
-42.5,
22.25
],
"end": [
-22.5,
22.25
]
},
{
"type": "line",
"start": [
-42.5,
-25.75
],
"end": [
-22.5,
-25.75
]
},
{
"type": "line",
"start": [
-42.5,
-1.75
],
"end": [
-22.5,
-1.75
]
},
{
"type": "line",
"start": [
22.5,
-1.75
],
"end": [
42.5,
-1.75
]
},
{
"type": "line",
"start": [
-22.5,
22.25
],
"end": [
-22.5,
-25.75
]
},
{
"type": "line",
"start": [
22.5,
22.25
],
"end": [
22.5,
-25.75
]
}
]
}
}
]
},
"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": 69.5,
"reverse": false,
"end_condition": {
"type": "through_all_and_blind",
"solidworks_code": 6
}
},
"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": "reference_plane",
"depends_on": [
"f_004"
],
"params": {
"plane": {
"origin_mm": [
0.0,
1.0,
34.75
],
"x_dir": [
0.0,
0.0,
1.0
],
"normal": [
0.0,
1.0,
0.0
]
},
"offset_mm": 0.0,
"angle_rad": 0.0,
"reverse": false,
"solidworks_type": 1,
"references": [
{
"kind": "feature",
"stable_id": "376ca0534c00623f5557d0c8e50e2acef85fea318815694f94ab22d15b6be748",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_004"
},
{
"kind": "face",
"stable_id": "be7584f284d044159fc1aaf221aa9caf93fe9ea20a1c3bb7de7528092a9057bd",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"surface": {
"type": "cylinder",
"parameters": [
0.0,
0.0,
0.03475,
0.0,
0.0,
-1.0,
0.03
]
},
"box": [
-0.029983328701129897,
0.001,
-0.03475,
0.029983328701129897,
0.03,
0.03475
],
"area": 0.006411194929115089
}
},
{
"kind": "face",
"stable_id": "a0b9585ee8e7d159a792cbf800bb055d5421dd463dd7025c7d6d3115d2deae48",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"surface": {
"type": "plane",
"parameters": [
0.0,
1.0,
0.0,
0.0,
0.001,
0.03475
]
},
"box": [
0.016469669092000604,
0.001,
-0.03475,
0.029983328701129897,
0.001,
0.03475
],
"area": 0.0009391993428344859
}
}
]
},
"execution_status": "deferred",
"selectors": [
{
"kind": "feature",
"stable_id": "376ca0534c00623f5557d0c8e50e2acef85fea318815694f94ab22d15b6be748",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_004"
},
{
"kind": "face",
"stable_id": "be7584f284d044159fc1aaf221aa9caf93fe9ea20a1c3bb7de7528092a9057bd",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"surface": {
"type": "cylinder",
"parameters": [
0.0,
0.0,
0.03475,
0.0,
0.0,
-1.0,
0.03
]
},
"box": [
-0.029983328701129897,
0.001,
-0.03475,
0.029983328701129897,
0.03,
0.03475
],
"area": 0.006411194929115089
}
},
{
"kind": "face",
"stable_id": "a0b9585ee8e7d159a792cbf800bb055d5421dd463dd7025c7d6d3115d2deae48",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"surface": {
"type": "plane",
"parameters": [
0.0,
1.0,
0.0,
0.0,
0.001,
0.03475
]
},
"box": [
0.016469669092000604,
0.001,
-0.03475,
0.029983328701129897,
0.001,
0.03475
],
"area": 0.0009391993428344859
}
}
]
},
{
"id": "f_006",
"name": "M4 螺纹孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004"
],
"params": {
"hole_type": "底部螺纹孔",
"diameter_mm": 4.0,
"depth_mm": 6.0,
"end_condition": {
"solidworks_code": 0,
"type": "blind"
},
"positions": [
{
"mm": [
0.0,
23.5,
0.0
]
},
{
"mm": [
16.617009358,
16.617009358,
0.0
]
},
{
"mm": [
-16.617009358,
16.617009358,
0.0
]
}
],
"thread": {
"diameter_mm": 4.0,
"depth_mm": 6.0,
"class": "1B"
}
},
"execution_status": "deferred",
"unresolved": [
"hole has no captured semantic selections"
]
},
{
"id": "f_011",
"name": "圆角1",
"atomic_id": "fillet",
"depends_on": [
"f_004"
],
"params": {
"radius_mm": 1.0,
"tangent_propagation": false
},
"execution_status": "deferred"
},
{
"id": "f_012",
"name": "倒角1",
"atomic_id": "chamfer",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 1.0,
"angle_rad": 0.78539816339745
},
"execution_status": "deferred"
},
{
"id": "f_007",
"name": "M6 六角凹头螺钉的柱形沉头孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_005",
"f_004"
],
"params": {
"hole_type": "六角凹头 ISO 4762",
"diameter_mm": 6.6,
"depth_mm": 29.0,
"end_condition": {
"solidworks_code": 1,
"type": "through_all"
},
"positions": [
{
"mm": [
-22.5,
22.25,
0.0
]
},
{
"mm": [
22.5,
22.25,
0.0
]
},
{
"mm": [
22.5,
-25.75,
0.0
]
},
{
"mm": [
-22.5,
-25.75,
0.0
]
}
],
"counterbore": {
"diameter_mm": 11.0,
"depth_mm": 20.0
}
},
"execution_status": "deferred",
"sketch_id": "sk_001",
"unresolved": [
"hole has no captured semantic selections"
]
},
{
"id": "f_008",
"name": "切除-拉伸1",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_007",
"f_004"
],
"params": {
"distance_mm": 0.0,
"reverse": true,
"end_condition": {
"type": "through_all",
"solidworks_code": 1
}
},
"execution_status": "deferred",
"sketch_id": "sk_003"
},
{
"id": "f_009",
"name": "大小mm 暗销孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_008"
],
"params": {
"hole_type": "暗销孔",
"diameter_mm": 5.0,
"depth_mm": 9.0,
"end_condition": {
"solidworks_code": 1,
"type": "through_all"
},
"positions": [
{
"mm": [
-22.5,
-1.75,
0.0
]
}
]
},
"execution_status": "deferred",
"unresolved": [
"hole has no captured semantic selections"
]
},
{
"id": "f_010",
"name": "大小mm 暗销槽口1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_008",
"f_007"
],
"params": {
"hole_type": "暗销孔",
"diameter_mm": 5.0,
"depth_mm": 9.0,
"end_condition": {
"solidworks_code": 1,
"type": "through_all"
},
"positions": [
{
"mm": [
22.5,
-1.75,
0.0
]
}
]
},
"execution_status": "deferred",
"unresolved": [
"hole has no captured semantic selections"
]
}
],
"meta": {
"unit": "mm",
"source": "073302.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete_with_blockers",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.058668462213243455,
"volume": 5.866846221324346e-05,
"surface_area": 0.01583044221910331,
"center_of_mass": [
-1.7235570705266004e-05,
0.015975792236542483,
-0.00010461422646255907
],
"principal_moments": [
1.8903294215649102e-05,
2.6985513824042698e-05,
3.8872127188986404e-05
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.02993440481715736,
0.001,
-0.03475,
0.029936360293138765,
0.03,
0.03475
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "倒角1",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAYAAABvAAAAbgAAAG0AAABsAAAAawAAAGoAAAA=",
"persist_reference_sha256": "0700f756110bac580a894a776e7fad79b4c66f1a06972cbecee080a0df0d2cc3",
"component": null,
"geometry": {
"box": [
-0.02993440481715736,
0.001,
-0.03475,
0.029936360293138765,
0.03,
0.03475
],
"face_count": 55,
"edge_count": 124,
"vertex_count": 75
},
"stable_id": "0700f756110bac580a894a776e7fad79b4c66f1a06972cbecee080a0df0d2cc3"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 66,
"surface_counts": {
"cone": 6,
"cylinder": 29,
"plane": 31
},
"axis_count": 35,
"repeat_spacings_mm": [
{
"spacing_mm": 24.0,
"pair_count": 4
},
{
"spacing_mm": 51.0,
"pair_count": 4
},
{
"spacing_mm": 31.245,
"pair_count": 4
},
{
"spacing_mm": 17.9861,
"pair_count": 4
},
{
"spacing_mm": 19.685,
"pair_count": 4
},
{
"spacing_mm": 45.0,
"pair_count": 3
},
{
"spacing_mm": 8.0,
"pair_count": 3
},
{
"spacing_mm": 73.3655,
"pair_count": 3
},
{
"spacing_mm": 65.8369,
"pair_count": 3
},
{
"spacing_mm": 31.241,
"pair_count": 2
},
{
"spacing_mm": 54.7814,
"pair_count": 2
},
{
"spacing_mm": 65.7951,
"pair_count": 2
}
],
"metrics": {
"bounding_box_mm": [
-29.934404917,
1.0,
-34.7500001,
29.936360393,
30.0000001,
34.7500001
],
"volume_mm3": 58669.446549316,
"surface_area_mm2": 15830.565041146,
"solid_count": 1,
"face_count": 66,
"edge_count": 162,
"vertex_count": 107
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-29.934404817,
1.0,
-34.75,
29.936360293,
30.0,
34.75
],
"volume_mm3": 58668.462213243,
"surface_area_mm2": 15830.442219103,
"solid_count": 1,
"face_count": 55,
"edge_count": 124,
"vertex_count": 75
},
"comparisons": {
"volume_mm3": {
"expected": 58668.462213243,
"actual": 58669.446549316,
"absolute_delta": 0.9843360730010318,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 15830.442219103,
"actual": 15830.565041146,
"absolute_delta": 0.12282204299845034,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-29.934404817,
1.0,
-34.75,
29.936360293,
30.0,
34.75
],
"actual": [
-29.934404917,
1.0,
-34.7500001,
29.936360393,
30.0000001,
34.7500001
],
"max_absolute_delta": 1.0000000116860974e-07,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 55,
"actual": 66,
"matches": false
},
"edge_count": {
"expected": 124,
"actual": 162,
"matches": false
},
"vertex_count": {
"expected": 75,
"actual": 107,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}