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

1058 lines
23 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "112459",
"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": [
-33.0,
0.0
],
"end": [
24.0,
0.0
]
},
{
"type": "line",
"start": [
24.0,
0.0
],
"end": [
24.0,
10.0
]
},
{
"type": "line",
"start": [
24.0,
10.0
],
"end": [
-33.0,
10.0
]
},
{
"type": "line",
"start": [
-33.0,
10.0
],
"end": [
-33.0,
0.0
]
}
]
}
]
}
},
{
"id": "sk_003",
"name": "草图5",
"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": [
4.0,
0.0
],
"radius_mm": 2.75
},
{
"center": [
20.0,
0.0
],
"radius_mm": 2.75
},
{
"center": [
12.0,
0.0
],
"radius_mm": 2.0
},
{
"center": [
-4.0,
0.0
],
"radius_mm": 2.0
}
]
}
},
{
"id": "sk_004",
"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": "circles",
"items": [
{
"center": [
-4.0,
0.0
],
"radius_mm": 2.5
},
{
"center": [
12.0,
0.0
],
"radius_mm": 2.5
}
]
}
},
{
"id": "sk_005",
"name": "草图7",
"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": [
6.0,
0.0
],
"end": [
-16.0,
-0.0
]
},
{
"type": "line",
"start": [
-16.0,
-0.0
],
"end": [
-16.0,
48.0
]
},
{
"type": "line",
"start": [
-16.0,
48.0
],
"end": [
6.0,
48.0
]
},
{
"type": "line",
"start": [
6.0,
48.0
],
"end": [
6.0,
0.0
]
}
]
}
]
}
},
{
"id": "sk_006",
"name": "草图9",
"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": "arc",
"start": [
-11.75,
38.0
],
"end": [
1.75,
38.0
],
"center": [
-5.0,
38.0
],
"radius_mm": 6.75,
"clockwise": false
},
{
"type": "line",
"start": [
1.75,
38.0
],
"end": [
1.75,
48.0
]
},
{
"type": "arc",
"start": [
1.75,
48.0
],
"end": [
-11.75,
48.0
],
"center": [
-5.0,
48.0
],
"radius_mm": 6.75,
"clockwise": false
},
{
"type": "line",
"start": [
-11.75,
48.0
],
"end": [
-11.75,
38.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
-5.0,
38.0
],
"end": [
-5.0,
48.0
]
}
]
}
},
{
"id": "sk_007",
"name": "草图10",
"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": [
23.0,
9.0
],
"end": [
-24.0,
9.0
]
},
{
"type": "line",
"start": [
-24.0,
9.0
],
"end": [
-24.0,
16.0
]
},
{
"type": "line",
"start": [
-24.0,
16.0
],
"end": [
23.0,
16.0
]
},
{
"type": "line",
"start": [
23.0,
16.0
],
"end": [
23.0,
9.0
]
}
]
}
]
}
},
{
"id": "sk_008",
"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": [
24.0,
16.0
],
"end": [
12.0,
16.0
]
},
{
"type": "line",
"start": [
12.0,
16.0
],
"end": [
12.0,
46.0
]
},
{
"type": "line",
"start": [
12.0,
46.0
],
"end": [
24.0,
46.0
]
},
{
"type": "line",
"start": [
24.0,
46.0
],
"end": [
24.0,
16.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_004",
"name": "凸台-拉伸1",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_001"
],
"params": {
"distance_mm": 18.0,
"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": "切除-拉伸3",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 0.0,
"reverse": false,
"end_condition": {
"type": "through_all",
"solidworks_code": 1
}
},
"execution_status": "supported",
"sketch_id": "sk_003"
},
{
"id": "f_007",
"name": "凸台-拉伸2",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 10.0,
"reverse": true,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_005"
},
{
"id": "f_006",
"name": "切除-拉伸4",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_004",
"f_005"
],
"params": {
"distance_mm": 6.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "supported",
"sketch_id": "sk_004"
},
{
"id": "f_008",
"name": "切除-拉伸6",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_004",
"f_007"
],
"params": {
"distance_mm": 10.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_006"
},
{
"id": "f_009",
"name": "凸台-拉伸3",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_004",
"f_007"
],
"params": {
"distance_mm": 10.0,
"reverse": true,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_007"
},
{
"id": "f_010",
"name": "凸台-拉伸4",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_004",
"f_007"
],
"params": {
"distance_mm": 10.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_008"
},
{
"id": "f_011",
"name": "M5 螺纹孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004",
"f_010"
],
"params": {
"hole_type": "螺纹孔",
"diameter_mm": 5.0,
"depth_mm": 12.0,
"end_condition": {
"solidworks_code": 1,
"type": "through_all"
},
"positions": [
{
"mm": [
39.0,
5.0,
0.0
]
}
],
"thread": {
"diameter_mm": 5.0,
"depth_mm": 12.0,
"class": "1B"
}
},
"execution_status": "deferred",
"unresolved": [
"hole has no captured semantic selections"
]
},
{
"id": "f_012",
"name": "倒角1",
"atomic_id": "chamfer",
"depends_on": [
"f_007",
"f_004",
"f_010"
],
"params": {
"distance_mm": 1.0,
"angle_rad": 0.78539816339745
},
"execution_status": "deferred"
},
{
"id": "f_013",
"name": "倒角2",
"atomic_id": "chamfer",
"depends_on": [
"f_007",
"f_010"
],
"params": {
"distance_mm": 10.0,
"angle_rad": 0.78539816339745
},
"execution_status": "deferred"
}
],
"meta": {
"unit": "mm",
"source": "112459.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete_with_blockers",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.18558763182005436,
"volume": 2.3641736537586542e-05,
"surface_area": 0.008732981201526964,
"center_of_mass": [
-0.007668206326248413,
0.010393655711915775,
-0.008276295287970298
],
"principal_moments": [
3.392583061590667e-05,
9.485684531682293e-05,
0.00010436853592264939
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.032999999999999995,
-2.694222958124177e-18,
-0.04599999999999999,
0.024000000000000007,
0.048,
0.009000000000000001
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "倒角2",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAgAAAB4AAAAdwAAAHEAAABwAAAAbgAAAGwAAABrAAAAZQAAAA==",
"persist_reference_sha256": "aaa1a25c71c17993904bd2053e649b6a26f21b6efc6682f0b6c485ae683fb948",
"component": null,
"geometry": {
"box": [
-0.032999999999999995,
-2.694222958124177e-18,
-0.04599999999999999,
0.024000000000000007,
0.048,
0.009
],
"face_count": 30,
"edge_count": 71,
"vertex_count": 38
},
"stable_id": "aaa1a25c71c17993904bd2053e649b6a26f21b6efc6682f0b6c485ae683fb948"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 37,
"surface_counts": {
"cylinder": 15,
"plane": 22
},
"axis_count": 15,
"repeat_spacings_mm": [
{
"spacing_mm": 16.0,
"pair_count": 3
},
{
"spacing_mm": 10.0,
"pair_count": 3
},
{
"spacing_mm": 8.0,
"pair_count": 3
},
{
"spacing_mm": 17.088,
"pair_count": 2
},
{
"spacing_mm": 6.0,
"pair_count": 2
}
],
"metrics": {
"bounding_box_mm": [
-33.0,
-0.0,
-46.0,
24.0,
48.0,
9.0
],
"volume_mm3": 23641.736537587,
"surface_area_mm2": 8732.981201527,
"solid_count": 1,
"face_count": 37,
"edge_count": 99,
"vertex_count": 66
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-33.0,
-0.0,
-46.0,
24.0,
48.0,
9.0
],
"volume_mm3": 23641.736537587,
"surface_area_mm2": 8732.981201527,
"solid_count": 1,
"face_count": 30,
"edge_count": 71,
"vertex_count": 38
},
"comparisons": {
"volume_mm3": {
"expected": 23641.736537587,
"actual": 23641.736537587,
"absolute_delta": 0.0,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 8732.981201527,
"actual": 8732.981201527,
"absolute_delta": 0.0,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-33.0,
-0.0,
-46.0,
24.0,
48.0,
9.0
],
"actual": [
-33.0,
-0.0,
-46.0,
24.0,
48.0,
9.0
],
"max_absolute_delta": 0.0,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 30,
"actual": 37,
"matches": false
},
"edge_count": {
"expected": 71,
"actual": 99,
"matches": false
},
"vertex_count": {
"expected": 38,
"actual": 66,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}