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

1553 lines
32 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "182142",
"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": [
-145.0,
7.5
],
"end": [
145.0,
7.5
]
},
{
"type": "line",
"start": [
145.0,
7.5
],
"end": [
145.0,
-7.5
]
},
{
"type": "line",
"start": [
145.0,
-7.5
],
"end": [
-145.0,
-7.5
]
},
{
"type": "line",
"start": [
-145.0,
-7.5
],
"end": [
-145.0,
7.5
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
-145.0,
7.5
],
"end": [
145.0,
-7.5
]
},
{
"type": "line",
"start": [
-145.0,
-7.5
],
"end": [
145.0,
7.5
]
}
]
}
},
{
"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": "analytic_contours",
"contours": [],
"construction": [
{
"type": "line",
"start": [
-145.0,
-2.5
],
"end": [
-139.5,
-2.5
]
},
{
"type": "line",
"start": [
-139.5,
-2.5
],
"end": [
-90.5,
-2.5
]
},
{
"type": "line",
"start": [
-90.5,
-2.5
],
"end": [
-90.5,
3.5
]
}
]
}
},
{
"id": "sk_004",
"name": "草图4",
"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": [],
"construction": [
{
"type": "line",
"start": [
-104.5,
2.5
],
"end": [
-55.5,
-3.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": "analytic_contours",
"contours": [],
"construction": [
{
"type": "line",
"start": [
-145.0,
0.0
],
"end": [
-125.0,
0.0
]
},
{
"type": "line",
"start": [
145.0,
0.0
],
"end": [
125.0,
-0.0
]
}
]
}
},
{
"id": "sk_006",
"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": "analytic_contours",
"contours": [],
"construction": [
{
"type": "line",
"start": [
-145.0,
0.0
],
"end": [
-125.0,
0.0
]
},
{
"type": "line",
"start": [
125.0,
0.0
],
"end": [
145.0,
0.0
]
}
]
}
},
{
"id": "sk_007",
"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": [],
"construction": [
{
"type": "line",
"start": [
-88.5,
-2.5
],
"end": [
-137.5,
3.5
]
}
]
}
},
{
"id": "sk_008",
"name": "草图11",
"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": [
-7.5,
0.0
],
"end": [
7.5,
0.0
]
},
{
"type": "line",
"start": [
7.5,
0.0
],
"end": [
7.5,
6.0
]
},
{
"type": "line",
"start": [
7.5,
6.0
],
"end": [
-7.5,
6.0
]
},
{
"type": "line",
"start": [
-7.5,
6.0
],
"end": [
-7.5,
0.0
]
}
]
}
]
}
},
{
"id": "sk_009",
"name": "草图12",
"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": [
-7.5,
0.0
],
"end": [
7.5,
0.0
]
},
{
"type": "line",
"start": [
7.5,
0.0
],
"end": [
7.5,
6.0
]
},
{
"type": "line",
"start": [
7.5,
6.0
],
"end": [
-7.5,
6.0
]
},
{
"type": "line",
"start": [
-7.5,
6.0
],
"end": [
-7.5,
0.0
]
}
]
}
]
}
},
{
"id": "sk_010",
"name": "草图13",
"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": [],
"construction": [
{
"type": "line",
"start": [
7.5,
3.0
],
"end": [
-7.5,
3.0
]
}
]
}
},
{
"id": "sk_011",
"name": "草图15",
"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": [],
"construction": [
{
"type": "line",
"start": [
7.5,
3.0
],
"end": [
-7.5,
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_005",
"name": "M4 螺纹孔2",
"atomic_id": "hole_wizard",
"depends_on": [
"f_001"
],
"params": {
"hole_type": "螺纹孔",
"diameter_mm": 4.0,
"depth_mm": 6.0,
"end_condition": {
"solidworks_code": 1,
"type": "through_all"
},
"positions": [
{
"mm": [
-139.5,
6.0,
2.5
]
},
{
"mm": [
-90.5,
6.0,
-3.5
]
}
],
"thread": {
"diameter_mm": 4.0,
"depth_mm": 6.0,
"class": "1B"
},
"host_face": {
"kind": "face",
"stable_id": "step-face-f3084c9688d5fb918dbb82f1",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
-150.0,
6.0,
-7.5,
150.0,
6.0,
7.5
],
"center_mm": [
0.203444194,
6.0,
0.013693359
],
"normal": [
0.0,
1.0,
0.0
],
"surface_type": "plane"
}
}
},
"execution_status": "deferred",
"sketch_id": "sk_003",
"selectors": [
{
"kind": "face",
"stable_id": "step-face-f3084c9688d5fb918dbb82f1",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
-150.0,
6.0,
-7.5,
150.0,
6.0,
7.5
],
"center_mm": [
0.203444194,
6.0,
0.013693359
],
"normal": [
0.0,
1.0,
0.0
],
"surface_type": "plane"
}
}
]
},
{
"id": "f_006",
"name": "M4 螺纹孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_001"
],
"params": {
"hole_type": "螺纹孔",
"diameter_mm": 4.0,
"depth_mm": 6.0,
"end_condition": {
"solidworks_code": 1,
"type": "through_all"
},
"positions": [
{
"mm": [
-104.5,
0.0,
2.5
]
},
{
"mm": [
-55.5,
0.0,
-3.5
]
}
],
"thread": {
"diameter_mm": 4.0,
"depth_mm": 6.0,
"class": "1B"
},
"host_face": {
"kind": "face",
"stable_id": "step-face-134578fc8cd22c5cb4a16581",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
-150.0,
-0.0,
-7.5,
150.0,
0.0,
7.5
],
"center_mm": [
0.203444194,
0.0,
0.013693359
],
"normal": [
-0.0,
-1.0,
-0.0
],
"surface_type": "plane"
}
}
},
"execution_status": "deferred",
"sketch_id": "sk_004",
"selectors": [
{
"kind": "face",
"stable_id": "step-face-134578fc8cd22c5cb4a16581",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
-150.0,
-0.0,
-7.5,
150.0,
0.0,
7.5
],
"center_mm": [
0.203444194,
0.0,
0.013693359
],
"normal": [
-0.0,
-1.0,
-0.0
],
"surface_type": "plane"
}
}
]
},
{
"id": "f_009",
"name": "M4 螺纹孔3",
"atomic_id": "hole_wizard",
"depends_on": [
"f_001"
],
"params": {
"hole_type": "螺纹孔",
"diameter_mm": 4.0,
"depth_mm": 6.0,
"end_condition": {
"solidworks_code": 0,
"type": "blind"
},
"positions": [
{
"mm": [
88.5,
0.0,
2.5
]
},
{
"mm": [
137.5,
0.0,
-3.5
]
}
],
"thread": {
"diameter_mm": 4.0,
"depth_mm": 6.0,
"class": "1B"
},
"host_face": {
"kind": "face",
"stable_id": "step-face-134578fc8cd22c5cb4a16581",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
-150.0,
-0.0,
-7.5,
150.0,
0.0,
7.5
],
"center_mm": [
0.203444194,
0.0,
0.013693359
],
"normal": [
-0.0,
-1.0,
-0.0
],
"surface_type": "plane"
}
}
},
"execution_status": "deferred",
"sketch_id": "sk_007",
"selectors": [
{
"kind": "face",
"stable_id": "step-face-134578fc8cd22c5cb4a16581",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
-150.0,
-0.0,
-7.5,
150.0,
0.0,
7.5
],
"center_mm": [
0.203444194,
0.0,
0.013693359
],
"normal": [
-0.0,
-1.0,
-0.0
],
"surface_type": "plane"
}
}
]
},
{
"id": "f_013",
"name": "M4 螺纹孔4",
"atomic_id": "hole_wizard",
"depends_on": [
"f_001"
],
"params": {
"hole_type": "螺纹孔",
"diameter_mm": 4.0,
"depth_mm": 8.0,
"end_condition": {
"solidworks_code": 0,
"type": "blind"
},
"positions": [
{
"mm": [
-150.0,
3.0,
0.0
]
}
],
"thread": {
"diameter_mm": 4.0,
"depth_mm": 8.0,
"class": "1B"
},
"host_face": {
"kind": "face",
"stable_id": "step-face-73763ac0f3a5d579877be5dd",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
-150.0,
0.0,
-5.5,
-150.0,
6.0,
5.5
],
"center_mm": [
-150.0,
3.0,
0.0
],
"normal": [
-1.0,
0.0,
0.0
],
"surface_type": "plane"
}
}
},
"execution_status": "deferred",
"sketch_id": "sk_010",
"selectors": [
{
"kind": "face",
"stable_id": "step-face-73763ac0f3a5d579877be5dd",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
-150.0,
0.0,
-5.5,
-150.0,
6.0,
5.5
],
"center_mm": [
-150.0,
3.0,
0.0
],
"normal": [
-1.0,
0.0,
0.0
],
"surface_type": "plane"
}
}
]
},
{
"id": "f_014",
"name": "M4 螺纹孔5",
"atomic_id": "hole_wizard",
"depends_on": [
"f_001"
],
"params": {
"hole_type": "螺纹孔",
"diameter_mm": 4.0,
"depth_mm": 8.0,
"end_condition": {
"solidworks_code": 0,
"type": "blind"
},
"positions": [
{
"mm": [
150.0,
3.0,
-0.0
]
}
],
"thread": {
"diameter_mm": 4.0,
"depth_mm": 8.0,
"class": "1B"
},
"host_face": {
"kind": "face",
"stable_id": "step-face-aa407a5c377ba421d01a6219",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
150.0,
0.0,
-5.5,
150.0,
6.0,
5.5
],
"center_mm": [
150.0,
3.0,
0.0
],
"normal": [
1.0,
0.0,
0.0
],
"surface_type": "plane"
}
}
},
"execution_status": "deferred",
"sketch_id": "sk_011",
"selectors": [
{
"kind": "face",
"stable_id": "step-face-aa407a5c377ba421d01a6219",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
150.0,
0.0,
-5.5,
150.0,
6.0,
5.5
],
"center_mm": [
150.0,
3.0,
0.0
],
"normal": [
1.0,
0.0,
0.0
],
"surface_type": "plane"
}
}
]
},
{
"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": 6.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_002"
},
{
"id": "f_007",
"name": "阵列(线性)1",
"atomic_id": "pattern_linear",
"depends_on": [
"f_005",
"f_004"
],
"params": {
"source_feature_ids": [
"f_005",
"f_004"
],
"direction_1": [
-1.0,
0.0,
0.0
],
"spacing_1_mm": 70.0,
"pattern_count_1": 3
},
"execution_status": "deferred"
},
{
"id": "f_008",
"name": "阵列(线性)2",
"atomic_id": "pattern_linear",
"depends_on": [
"f_006",
"f_004"
],
"params": {
"source_feature_ids": [
"f_006",
"f_004"
],
"direction_1": [
-1.0,
0.0,
0.0
],
"spacing_1_mm": 70.0,
"pattern_count_1": 3
},
"execution_status": "deferred"
},
{
"id": "f_010",
"name": "凸台-拉伸2",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 5.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_008"
},
{
"id": "f_011",
"name": "凸台-拉伸3",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 5.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_009"
},
{
"id": "f_012",
"name": "倒角1",
"atomic_id": "chamfer",
"depends_on": [
"f_011",
"f_010"
],
"params": {
"distance_mm": 2.0,
"angle_rad": 0.78539816339745
},
"execution_status": "deferred"
}
],
"meta": {
"unit": "mm",
"source": "182142.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete_with_blockers",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.026033988780847072,
"volume": 2.6033988780847072e-05,
"surface_area": 0.013593852629734546,
"center_of_mass": [
0.00018992441331767214,
0.0029999999354028088,
1.3932165700024158e-05
],
"principal_moments": [
5.752792662046397e-07,
0.00019295019527946938,
0.0001933683435006456
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.15000000000000002,
-1.734723475976807e-18,
-0.007499999999999999,
0.14999999999999997,
0.006000000000000002,
0.007500000000000001
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "M4 螺纹孔5",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAoAAAB6AAAAeQAAAHMAAAByAAAAcQAAAG4AAABtAAAAbAAAAGsAAABqAAAA",
"persist_reference_sha256": "81835e1f28bb81a9033f74df4d6016c83a6ee5fccff6df604be722454124aa27",
"component": null,
"geometry": {
"box": [
-0.15000000000000002,
-1.3532347130578224e-18,
-0.007499999999999999,
0.14999999999999997,
0.006000000000000002,
0.007500000000000001
],
"face_count": 28,
"edge_count": 58,
"vertex_count": 20
},
"stable_id": "81835e1f28bb81a9033f74df4d6016c83a6ee5fccff6df604be722454124aa27"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 46,
"surface_counts": {
"cone": 4,
"cylinder": 32,
"plane": 10
},
"axis_count": 36,
"repeat_spacings_mm": [
{
"spacing_mm": 35.5106,
"pair_count": 10
},
{
"spacing_mm": 70.0,
"pair_count": 8
},
{
"spacing_mm": 49.366,
"pair_count": 7
},
{
"spacing_mm": 105.1713,
"pair_count": 6
},
{
"spacing_mm": 16.3707,
"pair_count": 5
},
{
"spacing_mm": 84.4275,
"pair_count": 5
},
{
"spacing_mm": 21.8403,
"pair_count": 4
},
{
"spacing_mm": 140.0,
"pair_count": 4
},
{
"spacing_mm": 119.1512,
"pair_count": 4
},
{
"spacing_mm": 56.6392,
"pair_count": 3
},
{
"spacing_mm": 154.2336,
"pair_count": 3
},
{
"spacing_mm": 11.5,
"pair_count": 2
}
],
"metrics": {
"bounding_box_mm": [
-150.0000001,
-1e-07,
-7.5,
150.0,
6.0000001,
7.5
],
"volume_mm3": 26033.984773209,
"surface_area_mm2": 13593.852874688,
"solid_count": 1,
"face_count": 46,
"edge_count": 131,
"vertex_count": 87
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-150.0,
-0.0,
-7.5,
150.0,
6.0,
7.5
],
"volume_mm3": 26033.988780847,
"surface_area_mm2": 13593.852629735,
"solid_count": 1,
"face_count": 28,
"edge_count": 58,
"vertex_count": 20
},
"comparisons": {
"volume_mm3": {
"expected": 26033.988780847,
"actual": 26033.984773209,
"absolute_delta": 0.004007638002804015,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 13593.852629735,
"actual": 13593.852874688,
"absolute_delta": 0.0002449530002195388,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-150.0,
-0.0,
-7.5,
150.0,
6.0,
7.5
],
"actual": [
-150.0000001,
-1e-07,
-7.5,
150.0,
6.0000001,
7.5
],
"max_absolute_delta": 1.0000000028043132e-07,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 28,
"actual": 46,
"matches": false
},
"edge_count": {
"expected": 58,
"actual": 131,
"matches": false
},
"vertex_count": {
"expected": 20,
"actual": 87,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}