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

741 lines
16 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "132181",
"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": [
-30.0,
50.0
],
"end": [
30.0,
50.0
]
},
{
"type": "line",
"start": [
30.0,
50.0
],
"end": [
30.0,
-50.0
]
},
{
"type": "line",
"start": [
30.0,
-50.0
],
"end": [
-30.0,
-50.0
]
},
{
"type": "line",
"start": [
-30.0,
-50.0
],
"end": [
-30.0,
50.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
-30.0,
50.0
],
"end": [
30.0,
-50.0
]
},
{
"type": "line",
"start": [
-30.0,
-50.0
],
"end": [
30.0,
50.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": "outer",
"closed": true,
"segments": [
{
"type": "arc",
"start": [
-24.2,
30.0
],
"end": [
-15.8,
30.0
],
"center": [
-20.0,
30.0
],
"radius_mm": 4.2,
"clockwise": false
},
{
"type": "line",
"start": [
-15.8,
30.0
],
"end": [
-15.8,
40.0
]
},
{
"type": "arc",
"start": [
-15.8,
40.0
],
"end": [
-24.2,
40.0
],
"center": [
-20.0,
40.0
],
"radius_mm": 4.2,
"clockwise": false
},
{
"type": "line",
"start": [
-24.2,
40.0
],
"end": [
-24.2,
30.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
-20.0,
30.0
],
"end": [
-20.0,
40.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": "extrude_add_blind",
"depends_on": [
"f_002"
],
"params": {
"distance_mm": 10.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_002"
},
{
"id": "f_005",
"name": "倒角1",
"atomic_id": "chamfer",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 6.0,
"angle_rad": 0.78539816339745
},
"execution_status": "deferred"
},
{
"id": "f_006",
"name": "M5 六角凹头螺钉的柱形沉头孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004"
],
"params": {
"hole_type": "六角凹头 ISO 4762",
"diameter_mm": 5.5,
"depth_mm": 10.0,
"end_condition": {
"solidworks_code": 1,
"type": "through_all"
},
"positions": [
{
"mm": [
20.0,
45.0,
0.0
]
},
{
"mm": [
0.0,
45.0,
0.0
]
},
{
"mm": [
-20.0,
45.0,
0.0
]
},
{
"mm": [
-0.0,
20.0,
0.0
]
},
{
"mm": [
-0.0,
-40.0,
0.0
]
}
],
"counterbore": {
"diameter_mm": 9.5,
"depth_mm": 5.4
}
},
"execution_status": "deferred",
"unresolved": [
"hole has no captured semantic selections"
]
},
{
"id": "f_007",
"name": "Ø5.0 (5) 直径孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004"
],
"params": {
"hole_type": "钻孔大小",
"diameter_mm": 5.0,
"depth_mm": 10.0,
"end_condition": {
"solidworks_code": 1,
"type": "through_all"
},
"positions": [
{
"mm": [
10.0,
45.0,
0.0
]
},
{
"mm": [
-10.0,
45.0,
0.0
]
}
]
},
"execution_status": "deferred",
"unresolved": [
"hole has no captured semantic selections"
]
},
{
"id": "f_008",
"name": "切除-拉伸1",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 32.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_003"
},
{
"id": "f_009",
"name": "阵列(线性)1",
"atomic_id": "pattern_linear",
"depends_on": [
"f_008",
"f_004"
],
"params": {
"source_feature_ids": [
"f_008",
"f_004"
],
"direction_1": [
1.0,
0.0,
0.0
],
"spacing_1_mm": 40.0,
"pattern_count_1": 2,
"direction_2": [
0.0,
0.0,
1.0
],
"spacing_2_mm": 60.0,
"pattern_count_2": 2
},
"execution_status": "deferred"
}
],
"meta": {
"unit": "mm",
"source": "132181.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete_with_blockers",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.05121033339508578,
"volume": 5.121033339508578e-05,
"surface_area": 0.016999205694732743,
"center_of_mass": [
2.1546913711368595e-18,
0.0049428554090003305,
0.0005681254552181245
],
"principal_moments": [
1.5438713959370293e-05,
3.950853829809488e-05,
5.409276653560144e-05
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.030000000000000006,
-1.8369701987208948e-20,
-0.05000000000000001,
0.03000000000000001,
0.010000000000000002,
0.049999999999999996
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "阵列(线性)1",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAUAAABuAAAAbQAAAGwAAABrAAAAagAAAA==",
"persist_reference_sha256": "caf919f6293620a1ba224ee3f6f6f70df79033cadb172cef982d8e85edfafca6",
"component": null,
"geometry": {
"box": [
-0.030000000000000006,
-1.8369701987208948e-20,
-0.05000000000000001,
0.03000000000000001,
0.010000000000000002,
0.049999999999999996
],
"face_count": 41,
"edge_count": 90,
"vertex_count": 44
},
"stable_id": "caf919f6293620a1ba224ee3f6f6f70df79033cadb172cef982d8e85edfafca6"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 57,
"surface_counts": {
"cylinder": 36,
"plane": 21
},
"axis_count": 36,
"repeat_spacings_mm": [
{
"spacing_mm": 60.0,
"pair_count": 5
},
{
"spacing_mm": 40.0,
"pair_count": 5
},
{
"spacing_mm": 72.111,
"pair_count": 4
},
{
"spacing_mm": 33.3017,
"pair_count": 4
},
{
"spacing_mm": 31.3688,
"pair_count": 4
},
{
"spacing_mm": 41.2311,
"pair_count": 4
},
{
"spacing_mm": 10.0,
"pair_count": 4
},
{
"spacing_mm": 87.8009,
"pair_count": 4
},
{
"spacing_mm": 14.1421,
"pair_count": 4
},
{
"spacing_mm": 66.9627,
"pair_count": 4
},
{
"spacing_mm": 29.7321,
"pair_count": 4
},
{
"spacing_mm": 20.0,
"pair_count": 3
}
],
"metrics": {
"bounding_box_mm": [
-30.0,
-0.0,
-50.0,
30.0,
10.0,
50.0
],
"volume_mm3": 51210.333395086,
"surface_area_mm2": 16999.205694733,
"solid_count": 1,
"face_count": 57,
"edge_count": 150,
"vertex_count": 100
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-30.0,
-0.0,
-50.0,
30.0,
10.0,
50.0
],
"volume_mm3": 51210.333395086,
"surface_area_mm2": 16999.205694733,
"solid_count": 1,
"face_count": 41,
"edge_count": 90,
"vertex_count": 44
},
"comparisons": {
"volume_mm3": {
"expected": 51210.333395086,
"actual": 51210.333395086,
"absolute_delta": 0.0,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 16999.205694733,
"actual": 16999.205694733,
"absolute_delta": 0.0,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-30.0,
-0.0,
-50.0,
30.0,
10.0,
50.0
],
"actual": [
-30.0,
-0.0,
-50.0,
30.0,
10.0,
50.0
],
"max_absolute_delta": 0.0,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 41,
"actual": 57,
"matches": false
},
"edge_count": {
"expected": 90,
"actual": 150,
"matches": false
},
"vertex_count": {
"expected": 44,
"actual": 100,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}