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

650 lines
14 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "185510",
"geometry": {
"sketches": [
{
"id": "sk_001",
"name": "Origin",
"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": [
20.0,
-50.0
],
"end": [
20.0,
50.0
]
},
{
"type": "line",
"start": [
20.0,
50.0
],
"end": [
-20.0,
50.0
]
},
{
"type": "line",
"start": [
-20.0,
50.0
],
"end": [
-20.0,
-50.0
]
},
{
"type": "line",
"start": [
-20.0,
-50.0
],
"end": [
20.0,
-50.0
]
}
]
}
]
}
}
]
},
"features": [
{
"id": "f_001",
"name": "Front",
"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": "Top",
"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": "Right",
"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": "reference_plane",
"depends_on": [
"f_003"
],
"params": {
"plane": {
"origin_mm": [
15.0,
0.0,
0.0
],
"normal": [
1.0,
0.0,
0.0
],
"x_dir": [
0.0,
1.0,
0.0
]
},
"offset_mm": 15.0,
"angle_rad": 0.0,
"reverse": false,
"solidworks_type": 5,
"references": [
{
"kind": "plane",
"stable_id": "ca9b26738aafbe5077b4fa72173b363ed58490758883745da2a3d01a70c27cd8",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_003"
}
]
},
"execution_status": "deferred",
"selectors": [
{
"kind": "plane",
"stable_id": "ca9b26738aafbe5077b4fa72173b363ed58490758883745da2a3d01a70c27cd8",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_003"
}
]
},
{
"id": "f_005",
"name": "凸台-拉伸1",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 15.0,
"reverse": true,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_002"
},
{
"id": "f_006",
"name": "M6 六角头螺栓的柱形沉头孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_005"
],
"params": {
"hole_type": "六角螺栓 - ANSI B18.2.3.5M",
"diameter_mm": 6.5,
"depth_mm": 15.0,
"end_condition": {
"solidworks_code": 1,
"type": "through_all"
},
"positions": [
{
"mm": [
0.0,
0.0,
0.0
]
}
],
"counterbore": {
"diameter_mm": 11.0,
"depth_mm": 7.5
},
"host_face": {
"kind": "face",
"stable_id": "step-face-0d56bb8229af64e42c57c5a4",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
0.0,
-50.0,
-20.0,
0.0,
50.0,
20.0
],
"center_mm": [
-0.0,
-0.0,
0.0
],
"normal": [
-1.0,
0.0,
-0.0
],
"surface_type": "plane"
}
}
},
"execution_status": "deferred",
"selectors": [
{
"kind": "face",
"stable_id": "step-face-0d56bb8229af64e42c57c5a4",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
0.0,
-50.0,
-20.0,
0.0,
50.0,
20.0
],
"center_mm": [
-0.0,
-0.0,
0.0
],
"normal": [
-1.0,
0.0,
-0.0
],
"surface_type": "plane"
}
}
]
},
{
"id": "f_007",
"name": "M8 六角头螺栓的柱形沉头孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_005"
],
"params": {
"hole_type": "六角螺栓 - ANSI B18.2.3.5M",
"diameter_mm": 9.0,
"depth_mm": 15.0,
"end_condition": {
"solidworks_code": 1,
"type": "through_all"
},
"positions": [
{
"mm": [
0.0,
-32.5,
0.0
]
},
{
"mm": [
0.0,
32.5,
0.0
]
}
],
"counterbore": {
"diameter_mm": 15.0,
"depth_mm": 7.5
},
"host_face": {
"kind": "face",
"stable_id": "step-face-0d56bb8229af64e42c57c5a4",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
0.0,
-50.0,
-20.0,
0.0,
50.0,
20.0
],
"center_mm": [
-0.0,
-0.0,
0.0
],
"normal": [
-1.0,
0.0,
-0.0
],
"surface_type": "plane"
}
}
},
"execution_status": "deferred",
"selectors": [
{
"kind": "face",
"stable_id": "step-face-0d56bb8229af64e42c57c5a4",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
0.0,
-50.0,
-20.0,
0.0,
50.0,
20.0
],
"center_mm": [
-0.0,
-0.0,
0.0
],
"normal": [
-1.0,
0.0,
-0.0
],
"surface_type": "plane"
}
}
]
},
{
"id": "f_008",
"name": "倒角1",
"atomic_id": "chamfer",
"depends_on": [
"f_005"
],
"params": {
"distance_mm": 3.0,
"angle_rad": 0.7853981633974483
},
"execution_status": "deferred"
}
],
"meta": {
"unit": "mm",
"source": "185510.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete_with_blockers",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.14783791348390518,
"volume": 5.516340055369596e-05,
"surface_area": 0.013281030682555286,
"center_of_mass": [
0.0074162091012580375,
3.118980441453262e-18,
2.9990196552435213e-20
],
"principal_moments": [
2.3820288769374205e-05,
0.00012469935451311248,
0.00014297779744160453
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
0.0,
-0.05,
-0.02,
0.015,
0.05,
0.02
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "倒角1",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAMAAABpAAAAaAAAAGcAAAA=",
"persist_reference_sha256": "41edf035ecfffb634600fa7f630e0fc1dc112e3f3d6eb033ea6eabb782ca8166",
"component": null,
"geometry": {
"box": [
0.0,
-0.05,
-0.02,
0.015,
0.05,
0.02
],
"face_count": 19,
"edge_count": 36,
"vertex_count": 16
},
"stable_id": "41edf035ecfffb634600fa7f630e0fc1dc112e3f3d6eb033ea6eabb782ca8166"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 25,
"surface_counts": {
"cylinder": 12,
"plane": 13
},
"axis_count": 12,
"repeat_spacings_mm": [
{
"spacing_mm": 35.7946,
"pair_count": 2
}
],
"metrics": {
"bounding_box_mm": [
0.0,
-50.0,
-20.0,
15.0,
50.0,
20.0
],
"volume_mm3": 55163.400553696,
"surface_area_mm2": 13281.030682555,
"solid_count": 1,
"face_count": 25,
"edge_count": 60,
"vertex_count": 40
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
0.0,
-50.0,
-20.0,
15.0,
50.0,
20.0
],
"volume_mm3": 55163.400553696,
"surface_area_mm2": 13281.030682555,
"solid_count": 1,
"face_count": 19,
"edge_count": 36,
"vertex_count": 16
},
"comparisons": {
"volume_mm3": {
"expected": 55163.400553696,
"actual": 55163.400553696,
"absolute_delta": 0.0,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 13281.030682555,
"actual": 13281.030682555,
"absolute_delta": 0.0,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
0.0,
-50.0,
-20.0,
15.0,
50.0,
20.0
],
"actual": [
0.0,
-50.0,
-20.0,
15.0,
50.0,
20.0
],
"max_absolute_delta": 0.0,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 19,
"actual": 25,
"matches": false
},
"edge_count": {
"expected": 36,
"actual": 60,
"matches": false
},
"vertex_count": {
"expected": 16,
"actual": 40,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}