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

913 lines
20 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "080683",
"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": "line",
"start": [
12.0,
50.082903769
],
"end": [
16.0,
50.082903769
]
},
{
"type": "line",
"start": [
16.0,
50.082903769
],
"end": [
16.0,
20.082903769
]
},
{
"type": "line",
"start": [
16.0,
20.082903769
],
"end": [
30.0,
12.0
]
},
{
"type": "line",
"start": [
30.0,
12.0
],
"end": [
30.0,
6.0
]
},
{
"type": "line",
"start": [
30.0,
6.0
],
"end": [
45.5,
6.0
]
},
{
"type": "line",
"start": [
45.5,
6.0
],
"end": [
45.5,
0.0
]
},
{
"type": "line",
"start": [
45.5,
0.0
],
"end": [
12.0,
0.0
]
},
{
"type": "line",
"start": [
12.0,
0.0
],
"end": [
12.0,
50.082903769
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
0.0,
47.096328746
]
}
]
}
},
{
"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": "circles",
"items": [
{
"center": [
-26.0,
0.0
],
"radius_mm": 3.0
},
{
"center": [
26.0,
0.0
],
"radius_mm": 3.0
}
]
}
},
{
"id": "sk_004",
"name": "草图3",
"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": "circles",
"items": [
{
"center": [
26.0,
0.0
],
"radius_mm": 5.5
},
{
"center": [
-26.0,
0.0
],
"radius_mm": 5.5
}
]
}
},
{
"id": "sk_005",
"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": "circle",
"center": [
0.0,
0.0
],
"radius_mm": 32.0
}
}
]
},
"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": "revolve_add",
"depends_on": [
"f_003"
],
"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": "3ffba53f3033abcf06c23789e13f778deff016c6607768d174b0a754a7723f2b",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"start": [
0.0,
0.0,
0.0
],
"end": [
0.0,
0.04709632874577404,
0.0
]
}
}
]
},
{
"id": "f_005",
"name": "倒角1",
"atomic_id": "chamfer",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 8.0,
"angle_rad": 1.0471975511966
},
"execution_status": "deferred"
},
{
"id": "f_006",
"name": "倒角2",
"atomic_id": "chamfer",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 0.5,
"angle_rad": 0.78539816339745
},
"execution_status": "deferred"
},
{
"id": "f_007",
"name": "基准面1",
"atomic_id": "reference_plane",
"depends_on": [
"f_004"
],
"params": {
"plane": {
"origin_mm": [
-0.0,
12.5,
-0.0
],
"x_dir": [
0.0,
0.0,
-1.0
],
"normal": [
0.0,
-1.0,
0.0
]
},
"offset_mm": 12.5,
"angle_rad": 0.0,
"reverse": true,
"solidworks_type": 5,
"references": [
{
"kind": "feature",
"stable_id": "b2ed31cc8fca29a76ecd8f792d0dd68a73a0cdb3a942258bc7dcf12dd50e181e",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_004"
},
{
"kind": "face",
"stable_id": "a9e1ed484b53ebf72397d45fd3dce65bb10020628a2995064c81281defa1c59b",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"surface": {
"type": "plane",
"parameters": [
0.0,
-1.0,
0.0,
0.0,
0.0,
-0.0455
]
},
"box": [
-0.04500000000000004,
0.0,
-0.04500000000000004,
0.04500000000000004,
0.0,
0.04500000000000004
],
"area": 0.005105088062083426
}
}
]
},
"execution_status": "deferred",
"selectors": [
{
"kind": "feature",
"stable_id": "b2ed31cc8fca29a76ecd8f792d0dd68a73a0cdb3a942258bc7dcf12dd50e181e",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_004"
},
{
"kind": "face",
"stable_id": "a9e1ed484b53ebf72397d45fd3dce65bb10020628a2995064c81281defa1c59b",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"surface": {
"type": "plane",
"parameters": [
0.0,
-1.0,
0.0,
0.0,
0.0,
-0.0455
]
},
"box": [
-0.04500000000000004,
0.0,
-0.04500000000000004,
0.04500000000000004,
0.0,
0.04500000000000004
],
"area": 0.005105088062083426
}
}
]
},
{
"id": "f_011",
"name": "切除-拉伸3",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 2.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "supported",
"sketch_id": "sk_005"
},
{
"id": "f_008",
"name": "切除-拉伸1",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_007",
"f_004",
"f_005"
],
"params": {
"distance_mm": 0.0,
"reverse": true,
"end_condition": {
"type": "through_all",
"solidworks_code": 1
}
},
"execution_status": "supported",
"sketch_id": "sk_003"
},
{
"id": "f_010",
"name": "M5 螺纹孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004",
"f_006"
],
"params": {
"hole_type": "螺纹孔",
"diameter_mm": 5.0,
"depth_mm": 6.0,
"end_condition": {
"solidworks_code": 0,
"type": "blind"
},
"positions": [
{
"mm": [
-27.223611076,
27.223611076,
0.0
]
},
{
"mm": [
-27.223611076,
-27.223611076,
0.0
]
},
{
"mm": [
27.223611076,
-27.223611076,
0.0
]
},
{
"mm": [
27.223611076,
27.223611076,
0.0
]
}
],
"thread": {
"diameter_mm": 5.0,
"depth_mm": 6.0,
"class": "2B"
}
},
"execution_status": "deferred",
"unresolved": [
"hole has no captured semantic selections"
]
},
{
"id": "f_009",
"name": "切除-拉伸2",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_008",
"f_004"
],
"params": {
"distance_mm": 0.0,
"reverse": false,
"end_condition": {
"type": "through_all",
"solidworks_code": 1
}
},
"execution_status": "supported",
"sketch_id": "sk_004"
}
],
"meta": {
"unit": "mm",
"source": "080683.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete_with_blockers",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.47947461449661855,
"volume": 6.0769913117442146e-05,
"surface_area": 0.022453795317332985,
"center_of_mass": [
5.71690561085493e-19,
0.011879052401751366,
-2.785812333216175e-19
],
"principal_moments": [
0.00025858312970656217,
0.0002632932979983627,
0.0003822909032702614
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.0455,
0.0,
-0.0455,
0.0455,
0.05008290376865471,
0.0455
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "切除-拉伸3",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAUAAABwAAAAbwAAAG4AAABtAAAAagAAAA==",
"persist_reference_sha256": "b17af72035b4bd0964f578811f4cf8aea980edbe5894d2f4dd259bdb37f8bb9a",
"component": null,
"geometry": {
"box": [
-0.0455,
0.0,
-0.0455,
0.0455,
0.05008290376865471,
0.0455
],
"face_count": 25,
"edge_count": 33,
"vertex_count": 4
},
"stable_id": "b17af72035b4bd0964f578811f4cf8aea980edbe5894d2f4dd259bdb37f8bb9a"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 46,
"surface_counts": {
"cone": 12,
"cylinder": 28,
"plane": 6
},
"axis_count": 40,
"repeat_spacings_mm": [
{
"spacing_mm": 38.9647,
"pair_count": 8
},
{
"spacing_mm": 38.7072,
"pair_count": 4
},
{
"spacing_mm": 54.4472,
"pair_count": 4
},
{
"spacing_mm": 51.8259,
"pair_count": 4
},
{
"spacing_mm": 74.2777,
"pair_count": 4
},
{
"spacing_mm": 58.1526,
"pair_count": 4
},
{
"spacing_mm": 58.5282,
"pair_count": 4
},
{
"spacing_mm": 38.5032,
"pair_count": 4
},
{
"spacing_mm": 27.9038,
"pair_count": 4
},
{
"spacing_mm": 60.0823,
"pair_count": 4
},
{
"spacing_mm": 39.2934,
"pair_count": 4
},
{
"spacing_mm": 26.0,
"pair_count": 4
}
],
"metrics": {
"bounding_box_mm": [
-45.5,
0.0,
-45.5,
45.5,
50.082903769,
45.5
],
"volume_mm3": 60769.931521127,
"surface_area_mm2": 22453.79482702,
"solid_count": 1,
"face_count": 46,
"edge_count": 106,
"vertex_count": 66
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-45.5,
0.0,
-45.5,
45.5,
50.082903769,
45.5
],
"volume_mm3": 60769.913117442,
"surface_area_mm2": 22453.795317333,
"solid_count": 1,
"face_count": 25,
"edge_count": 33,
"vertex_count": 4
},
"comparisons": {
"volume_mm3": {
"expected": 60769.913117442,
"actual": 60769.931521127,
"absolute_delta": 0.018403684996883385,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 22453.795317333,
"actual": 22453.79482702,
"absolute_delta": 0.000490312999318121,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-45.5,
0.0,
-45.5,
45.5,
50.082903769,
45.5
],
"actual": [
-45.5,
0.0,
-45.5,
45.5,
50.082903769,
45.5
],
"max_absolute_delta": 0.0,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 25,
"actual": 46,
"matches": false
},
"edge_count": {
"expected": 33,
"actual": 106,
"matches": false
},
"vertex_count": {
"expected": 4,
"actual": 66,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}