Files
cdsl-cad/json_to_cdsl/output/_Y-6.cdsl.json
T
2026-08-24 14:52:08 +08:00

1456 lines
32 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "_Y-6",
"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": "arc",
"start": [
6.4125,
-20.8
],
"end": [
6.2125,
-21.0
],
"center": [
6.2125,
-20.8
],
"radius_mm": 0.2,
"clockwise": true
},
{
"type": "line",
"start": [
6.2125,
-21.0
],
"end": [
4.5,
-21.0
]
},
{
"type": "line",
"start": [
4.5,
-21.0
],
"end": [
4.5,
-21.5
]
},
{
"type": "line",
"start": [
4.5,
-21.5
],
"end": [
7.425,
-21.5
]
},
{
"type": "line",
"start": [
7.425,
-21.5
],
"end": [
7.425,
-22.5
]
},
{
"type": "line",
"start": [
7.425,
-22.5
],
"end": [
-0.0,
-22.5
]
},
{
"type": "line",
"start": [
-0.0,
-22.5
],
"end": [
0.0,
0.0
]
},
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
6.075,
-0.0
]
},
{
"type": "line",
"start": [
6.075,
-0.0
],
"end": [
6.075,
-6.0
]
},
{
"type": "line",
"start": [
6.075,
-6.0
],
"end": [
6.75,
-7.5
]
},
{
"type": "line",
"start": [
6.75,
-7.5
],
"end": [
6.75,
-19.125
]
},
{
"type": "line",
"start": [
6.75,
-19.125
],
"end": [
6.4125,
-20.125
]
},
{
"type": "line",
"start": [
6.4125,
-20.125
],
"end": [
6.4125,
-20.8
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
-0.0,
-22.5
],
"end": [
0.0,
0.0
]
}
]
}
},
{
"id": "sk_003",
"name": "草图2",
"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": [
0.0,
0.0
],
"radius_mm": 2.88
}
},
{
"id": "sk_004",
"name": "草图3",
"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": [
-0.925,
15.0
],
"end": [
-0.425,
14.5
],
"center": [
-0.925,
14.5
],
"radius_mm": 0.5,
"clockwise": true
},
{
"type": "line",
"start": [
-0.425,
14.5
],
"end": [
-0.425,
13.125
]
},
{
"type": "line",
"start": [
-0.425,
13.125
],
"end": [
-2.0,
13.125
]
},
{
"type": "line",
"start": [
-2.0,
13.125
],
"end": [
-2.0,
12.375
]
},
{
"type": "line",
"start": [
-2.0,
12.375
],
"end": [
-0.925,
12.375
]
},
{
"type": "arc",
"start": [
-0.925,
12.375
],
"end": [
-0.425,
11.875
],
"center": [
-0.925,
11.875
],
"radius_mm": 0.5,
"clockwise": true
},
{
"type": "line",
"start": [
-0.425,
11.875
],
"end": [
-0.425,
10.875
]
},
{
"type": "line",
"start": [
-0.425,
10.875
],
"end": [
-0.1,
9.0
]
},
{
"type": "line",
"start": [
-0.1,
9.0
],
"end": [
-0.1,
1.875
]
},
{
"type": "line",
"start": [
-0.1,
1.875
],
"end": [
-1.1,
0.0
]
},
{
"type": "line",
"start": [
-1.1,
0.0
],
"end": [
-1.1,
-4.0
]
},
{
"type": "line",
"start": [
-1.1,
-4.0
],
"end": [
-6.5,
-8.0
]
},
{
"type": "line",
"start": [
-6.5,
-8.0
],
"end": [
-6.5,
15.0
]
},
{
"type": "line",
"start": [
-6.5,
15.0
],
"end": [
-0.925,
15.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
-6.5,
-8.0
],
"end": [
-6.5,
15.0
]
}
]
}
},
{
"id": "sk_005",
"name": "草图4",
"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": [
12.075,
15.0
],
"end": [
12.575,
14.5
],
"center": [
12.075,
14.5
],
"radius_mm": 0.5,
"clockwise": true
},
{
"type": "line",
"start": [
12.575,
14.5
],
"end": [
12.575,
13.125
]
},
{
"type": "line",
"start": [
12.575,
13.125
],
"end": [
11.0,
13.125
]
},
{
"type": "line",
"start": [
11.0,
13.125
],
"end": [
11.0,
12.375
]
},
{
"type": "line",
"start": [
11.0,
12.375
],
"end": [
12.075,
12.375
]
},
{
"type": "arc",
"start": [
12.075,
12.375
],
"end": [
12.575,
11.875
],
"center": [
12.075,
11.875
],
"radius_mm": 0.5,
"clockwise": true
},
{
"type": "line",
"start": [
12.575,
11.875
],
"end": [
12.575,
10.875
]
},
{
"type": "line",
"start": [
12.575,
10.875
],
"end": [
12.9,
9.0
]
},
{
"type": "line",
"start": [
12.9,
9.0
],
"end": [
12.9,
1.875
]
},
{
"type": "line",
"start": [
12.9,
1.875
],
"end": [
11.9,
0.0
]
},
{
"type": "line",
"start": [
11.9,
0.0
],
"end": [
11.9,
-4.0
]
},
{
"type": "line",
"start": [
11.9,
-4.0
],
"end": [
6.5,
-8.0
]
},
{
"type": "line",
"start": [
6.5,
-8.0
],
"end": [
6.5,
15.0
]
},
{
"type": "line",
"start": [
6.5,
15.0
],
"end": [
12.075,
15.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
6.5,
-8.0
],
"end": [
6.5,
15.0
]
}
]
}
},
{
"id": "sk_006",
"name": "草图5",
"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": [
0.0,
0.0
],
"radius_mm": 1.6
}
},
{
"id": "sk_007",
"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,
6.5
],
"radius_mm": 3.0
}
},
{
"id": "sk_008",
"name": "草图7",
"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,
-6.5
],
"radius_mm": 3.0
}
},
{
"id": "sk_009",
"name": "草图8",
"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": 3.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,
-22.5,
0.0
],
"direction": [
0.0,
1.0,
0.0
]
},
"reverse": true,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_002",
"selectors": [
{
"kind": "axis",
"stable_id": "f87efe06a325cb0852e78d8538635bbd795a992e12839bfa3d24e42badc048e0",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"start": [
-4.133046444150524e-18,
-0.0225,
0.0
],
"end": [
0.0,
0.0,
0.0
]
}
}
]
},
{
"id": "f_005",
"name": "凸台-拉伸1",
"atomic_id": "extrude_add_two_sided",
"depends_on": [
"f_003",
"f_004"
],
"params": {
"distance_mm": 6.75,
"reverse": true,
"end_condition": {
"type": "blind",
"solidworks_code": 0
},
"reverse_distance_mm": 6.75,
"reverse_end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "supported",
"sketch_id": "sk_003"
},
{
"id": "f_006",
"name": "旋转2",
"atomic_id": "revolve_add",
"depends_on": [
"f_003",
"f_004"
],
"params": {
"angle_deg": 360.0,
"axis": {
"origin_mm": [
-6.5,
-8.0,
0.0
],
"direction": [
0.0,
1.0,
0.0
]
},
"reverse": true,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_004",
"selectors": [
{
"kind": "axis",
"stable_id": "24cf522c398fa8fcd742c5883e09862bf232ac02c1d24a0d4bbda30da513a991",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"start": [
-0.006500000000000002,
-0.007999999999999998,
0.0
],
"end": [
-0.006499999999999997,
0.015,
0.0
]
}
}
]
},
{
"id": "f_007",
"name": "旋转3",
"atomic_id": "revolve_add",
"depends_on": [
"f_003",
"f_004"
],
"params": {
"angle_deg": 360.0,
"axis": {
"origin_mm": [
6.5,
-8.0,
0.0
],
"direction": [
0.0,
1.0,
0.0
]
},
"reverse": true,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_005",
"selectors": [
{
"kind": "axis",
"stable_id": "7a8466b1a92f4c4b6446304c5042b1531946e629991caa8c4c2780815b7175ad",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"start": [
0.006499999999999991,
-0.008,
0.0
],
"end": [
0.006499999999999995,
0.015,
0.0
]
}
}
]
},
{
"id": "f_008",
"name": "切除-拉伸1",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_003",
"f_004"
],
"params": {
"distance_mm": 6.75,
"reverse": true,
"end_condition": {
"type": "blind",
"solidworks_code": 0
},
"reverse_distance_mm": 6.75,
"reverse_end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "supported",
"sketch_id": "sk_006"
},
{
"id": "f_009",
"name": "切除-拉伸2",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_002",
"f_004"
],
"params": {
"distance_mm": 15.0,
"reverse": true,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "supported",
"sketch_id": "sk_007"
},
{
"id": "f_010",
"name": "切除-拉伸3",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_002",
"f_004"
],
"params": {
"distance_mm": 15.0,
"reverse": true,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "supported",
"sketch_id": "sk_008"
},
{
"id": "f_011",
"name": "基准面4",
"atomic_id": "reference_plane",
"depends_on": [
"f_010"
],
"params": {
"plane": {
"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
]
},
"offset_mm": 0.0,
"angle_rad": 0.0,
"reverse": false,
"solidworks_type": -1,
"derived_from_sketch_id": "sk_009"
},
"execution_status": "deferred"
},
{
"id": "f_012",
"name": "切除-拉伸4",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_011",
"f_004"
],
"params": {
"distance_mm": 19.3,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "supported",
"sketch_id": "sk_009"
}
],
"meta": {
"unit": "mm",
"source": "03_连接与管件/0302_管接头/030207_活接头/标准_Y型气动三通接头φ6.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "hybrid_semantic_surfaceir_pending",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.0058347267909850346,
"volume": 5.834726790985034e-06,
"surface_area": 0.004140257742735395,
"center_of_mass": [
-1.0325600851204638e-09,
-0.0016767610382580783,
3.802568026598447e-08
],
"principal_moments": [
2.915122097181865e-07,
6.740183285981516e-07,
8.247837983624796e-07
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.007425000000000002,
-0.0225,
-0.012900000000000002,
0.007425000000000002,
0.015000000000000005,
0.012900000000000002
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "切除-拉伸4",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAgAAABsAAAAawAAAGoAAABpAAAAaAAAAGcAAABmAAAAZQAAAA==",
"persist_reference_sha256": "8f915f015d7c8dec5095b8a2651c7c09d509b15f28b7058721a2245671109928",
"component": null,
"geometry": {
"box": [
-0.007425000000000002,
-0.0225,
-0.012900000000000002,
0.007425000000000002,
0.015000000000000003,
0.0129
],
"face_count": 53,
"edge_count": 80,
"vertex_count": 28
},
"stable_id": "8f915f015d7c8dec5095b8a2651c7c09d509b15f28b7058721a2245671109928"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 82,
"surface_counts": {
"cone": 14,
"cylinder": 40,
"plane": 18,
"torus": 10
},
"axis_count": 54,
"repeat_spacings_mm": [
{
"spacing_mm": 13.0,
"pair_count": 5
},
{
"spacing_mm": 17.6865,
"pair_count": 4
},
{
"spacing_mm": 23.4201,
"pair_count": 4
},
{
"spacing_mm": 12.9928,
"pair_count": 4
},
{
"spacing_mm": 12.3212,
"pair_count": 4
},
{
"spacing_mm": 9.3708,
"pair_count": 4
},
{
"spacing_mm": 992.0443,
"pair_count": 4
},
{
"spacing_mm": 15.0,
"pair_count": 3
},
{
"spacing_mm": 19.3259,
"pair_count": 2
},
{
"spacing_mm": 7.4701,
"pair_count": 2
},
{
"spacing_mm": 13.8235,
"pair_count": 2
},
{
"spacing_mm": 8.0802,
"pair_count": 2
}
],
"metrics": {
"bounding_box_mm": [
-7.425,
-22.5,
-12.9000001,
7.425,
15.0,
12.9000001
],
"volume_mm3": 5834.787059315,
"surface_area_mm2": 4140.27241033,
"solid_count": 1,
"face_count": 82,
"edge_count": 179,
"vertex_count": 108
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-7.425,
-22.5,
-12.9,
7.425,
15.0,
12.9
],
"volume_mm3": 5834.726790985,
"surface_area_mm2": 4140.257742735,
"solid_count": 1,
"face_count": 53,
"edge_count": 80,
"vertex_count": 28
},
"comparisons": {
"volume_mm3": {
"expected": 5834.726790985,
"actual": 5834.787059315,
"absolute_delta": 0.06026833000032639,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 4140.257742735,
"actual": 4140.27241033,
"absolute_delta": 0.014667594999991707,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-7.425,
-22.5,
-12.9,
7.425,
15.0,
12.9
],
"actual": [
-7.425,
-22.5,
-12.9000001,
7.425,
15.0,
12.9000001
],
"max_absolute_delta": 9.99999993922529e-08,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 53,
"actual": 82,
"matches": false
},
"edge_count": {
"expected": 80,
"actual": 179,
"matches": false
},
"vertex_count": {
"expected": 28,
"actual": 108,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}