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

952 lines
21 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "029179",
"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": [
0.0,
0.0
],
"end": [
498.0,
0.0
]
},
{
"type": "line",
"start": [
498.0,
0.0
],
"end": [
498.0,
10.0
]
},
{
"type": "line",
"start": [
498.0,
10.0
],
"end": [
0.0,
10.0
]
},
{
"type": "line",
"start": [
0.0,
10.0
],
"end": [
0.0,
0.0
]
}
]
}
]
}
},
{
"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": "inner",
"closed": true,
"segments": [
{
"type": "arc",
"start": [
294.0,
-77.628565995
],
"end": [
300.432982806,
-82.418822802
],
"center": [
299.0,
-77.628565995
],
"radius_mm": 5.0,
"clockwise": false
},
{
"type": "line",
"start": [
300.432982806,
-82.418822802
],
"end": [
476.362760561,
-29.790256807
]
},
{
"type": "arc",
"start": [
476.362760561,
-29.790256807
],
"end": [
474.929777756,
-20.0
],
"center": [
474.929777756,
-25.0
],
"radius_mm": 5.0,
"clockwise": true
},
{
"type": "line",
"start": [
474.929777756,
-20.0
],
"end": [
299.0,
-20.0
]
},
{
"type": "arc",
"start": [
299.0,
-20.0
],
"end": [
294.0,
-25.0
],
"center": [
299.0,
-25.0
],
"radius_mm": 5.0,
"clockwise": false
},
{
"type": "line",
"start": [
294.0,
-25.0
],
"end": [
294.0,
-77.628565995
]
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "arc",
"start": [
53.070222244,
-20.0
],
"end": [
51.637239439,
-29.790256807
],
"center": [
53.070222244,
-25.0
],
"radius_mm": 5.0,
"clockwise": false
},
{
"type": "line",
"start": [
51.637239439,
-29.790256807
],
"end": [
227.567017194,
-82.418822802
]
},
{
"type": "arc",
"start": [
227.567017194,
-82.418822802
],
"end": [
234.0,
-77.628565995
],
"center": [
229.0,
-77.628565995
],
"radius_mm": 5.0,
"clockwise": false
},
{
"type": "line",
"start": [
234.0,
-77.628565995
],
"end": [
234.0,
-25.0
]
},
{
"type": "arc",
"start": [
234.0,
-25.0
],
"end": [
229.0,
-20.0
],
"center": [
229.0,
-25.0
],
"radius_mm": 5.0,
"clockwise": true
},
{
"type": "line",
"start": [
229.0,
-20.0
],
"end": [
53.070222244,
-20.0
]
}
]
},
{
"role": "outer",
"closed": true,
"segments": [
{
"type": "line",
"start": [
0.0,
-100.0
],
"end": [
0.0,
-30.0
]
},
{
"type": "line",
"start": [
0.0,
-30.0
],
"end": [
234.0,
-100.0
]
},
{
"type": "line",
"start": [
234.0,
-100.0
],
"end": [
0.0,
-100.0
]
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "line",
"start": [
498.0,
-100.0
],
"end": [
498.0,
-38.974358974
]
},
{
"type": "line",
"start": [
498.0,
-38.974358974
],
"end": [
294.0,
-100.0
]
},
{
"type": "line",
"start": [
294.0,
-100.0
],
"end": [
498.0,
-100.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
234.0,
-20.0
],
"end": [
294.0,
-20.0
]
},
{
"type": "line",
"start": [
264.0,
-20.0
],
"end": [
264.0,
-84.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": 100.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"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": "大小mm 暗销孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004"
],
"params": {
"hole_type": "暗销孔",
"diameter_mm": 16.0,
"depth_mm": 10.0,
"end_condition": {
"solidworks_code": 1,
"type": "through_all"
},
"positions": [
{
"mm": [
264.0,
-84.0,
0.0
]
}
]
},
"execution_status": "deferred",
"unresolved": [
"hole has no captured semantic selections"
]
},
{
"id": "f_008",
"name": "倒角1",
"atomic_id": "chamfer",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 5.0,
"angle_rad": 0.78539816339745
},
"execution_status": "deferred"
},
{
"id": "f_009",
"name": "M5 螺纹孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004"
],
"params": {
"hole_type": "底部螺纹孔",
"diameter_mm": 5.0,
"depth_mm": 8.280544061,
"end_condition": {
"solidworks_code": 0,
"type": "blind"
},
"positions": [
{
"mm": [
264.0,
5.0,
0.0
]
}
],
"thread": {
"diameter_mm": 5.0,
"depth_mm": 8.280544061,
"class": "1B"
},
"host_face": {
"kind": "face",
"stable_id": "step-face-05f114255e8d69543ff9a01a",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
5.0,
0.0,
0.0,
493.0,
10.0,
0.0
],
"center_mm": [
249.0,
5.0,
0.0
],
"normal": [
0.0,
0.0,
-1.0
],
"surface_type": "plane"
}
}
},
"execution_status": "deferred",
"selectors": [
{
"kind": "face",
"stable_id": "step-face-05f114255e8d69543ff9a01a",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
5.0,
0.0,
0.0,
493.0,
10.0,
0.0
],
"center_mm": [
249.0,
5.0,
0.0
],
"normal": [
0.0,
0.0,
-1.0
],
"surface_type": "plane"
}
}
]
},
{
"id": "f_006",
"name": "Ø11.0 (11) 直径孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004",
"f_005"
],
"params": {
"hole_type": "钻孔大小",
"diameter_mm": 11.0,
"depth_mm": 10.0,
"end_condition": {
"solidworks_code": 1,
"type": "through_all"
},
"positions": [
{
"mm": [
15.0,
-10.0,
0.0
]
},
{
"mm": [
483.0,
-10.0,
0.0
]
}
]
},
"execution_status": "deferred",
"unresolved": [
"hole has no captured semantic selections"
]
},
{
"id": "f_007",
"name": "切除-拉伸1",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_004",
"f_005"
],
"params": {
"distance_mm": 0.0,
"reverse": false,
"end_condition": {
"type": "through_all",
"solidworks_code": 1
}
},
"execution_status": "deferred",
"sketch_id": "sk_003"
}
],
"meta": {
"unit": "mm",
"source": "029179.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete_with_blockers",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 1.6707712090046059,
"volume": 0.00021420143705187255,
"surface_area": 0.06379113283770645,
"center_of_mass": [
0.2521550687799616,
0.004999999817831889,
0.03645437049472619
],
"principal_moments": [
0.0014255058075543093,
0.028589308485234412,
0.02998695547833744
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
0.0,
0.0,
0.0,
0.498,
0.010000000000000002,
0.1
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "M5 螺纹孔1",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAUAAAByAAAAcQAAAHAAAABvAAAAagAAAA==",
"persist_reference_sha256": "a81403142fffc592e2749471c8e60fe63f0fec47b800c15ab12777826a1b926b",
"component": null,
"geometry": {
"box": [
0.0,
0.0,
0.0,
0.498,
0.010000000000000002,
0.1
],
"face_count": 26,
"edge_count": 68,
"vertex_count": 40
},
"stable_id": "a81403142fffc592e2749471c8e60fe63f0fec47b800c15ab12777826a1b926b"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 32,
"surface_counts": {
"cylinder": 16,
"plane": 16
},
"axis_count": 16,
"repeat_spacings_mm": [
{
"spacing_mm": 41.8388,
"pair_count": 2
},
{
"spacing_mm": 82.9156,
"pair_count": 2
},
{
"spacing_mm": 223.9227,
"pair_count": 2
},
{
"spacing_mm": 70.0,
"pair_count": 2
},
{
"spacing_mm": 36.954,
"pair_count": 2
},
{
"spacing_mm": 87.5772,
"pair_count": 2
},
{
"spacing_mm": 251.498,
"pair_count": 2
},
{
"spacing_mm": 52.6286,
"pair_count": 2
},
{
"spacing_mm": 183.6329,
"pair_count": 2
},
{
"spacing_mm": 69.3253,
"pair_count": 2
},
{
"spacing_mm": 219.2541,
"pair_count": 2
},
{
"spacing_mm": 175.9298,
"pair_count": 2
}
],
"metrics": {
"bounding_box_mm": [
0.0,
-1e-07,
0.0,
498.0,
10.0000001,
100.0000001
],
"volume_mm3": 214201.516034537,
"surface_area_mm2": 63791.12729621,
"solid_count": 1,
"face_count": 32,
"edge_count": 93,
"vertex_count": 62
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
0.0,
0.0,
0.0,
498.0,
10.0,
100.0
],
"volume_mm3": 214201.437051873,
"surface_area_mm2": 63791.132837706,
"solid_count": 1,
"face_count": 26,
"edge_count": 68,
"vertex_count": 40
},
"comparisons": {
"volume_mm3": {
"expected": 214201.437051873,
"actual": 214201.516034537,
"absolute_delta": 0.07898266398115084,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 63791.132837706,
"actual": 63791.12729621,
"absolute_delta": 0.005541496000660118,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
0.0,
0.0,
0.0,
498.0,
10.0,
100.0
],
"actual": [
0.0,
-1e-07,
0.0,
498.0,
10.0000001,
100.0000001
],
"max_absolute_delta": 1e-07,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 26,
"actual": 32,
"matches": false
},
"edge_count": {
"expected": 68,
"actual": 93,
"matches": false
},
"vertex_count": {
"expected": 40,
"actual": 62,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}