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

1428 lines
32 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "076817",
"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": "line",
"start": [
-49.0,
0.0
],
"end": [
49.0,
0.0
]
},
{
"type": "line",
"start": [
49.0,
0.0
],
"end": [
49.0,
68.0
]
},
{
"type": "line",
"start": [
49.0,
68.0
],
"end": [
29.0,
68.0
]
},
{
"type": "line",
"start": [
29.0,
68.0
],
"end": [
29.0,
43.0
]
},
{
"type": "line",
"start": [
29.0,
43.0
],
"end": [
24.0,
43.0
]
},
{
"type": "line",
"start": [
24.0,
43.0
],
"end": [
24.0,
25.0
]
},
{
"type": "line",
"start": [
24.0,
25.0
],
"end": [
-24.0,
25.0
]
},
{
"type": "line",
"start": [
-24.0,
25.0
],
"end": [
-24.0,
43.0
]
},
{
"type": "line",
"start": [
-24.0,
43.0
],
"end": [
-29.0,
43.0
]
},
{
"type": "line",
"start": [
-29.0,
43.0
],
"end": [
-29.0,
68.0
]
},
{
"type": "line",
"start": [
-29.0,
68.0
],
"end": [
-49.0,
68.0
]
},
{
"type": "line",
"start": [
-49.0,
68.0
],
"end": [
-49.0,
0.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
0.0,
50.674132805
],
"end": [
0.0,
-55.658473736
]
},
{
"type": "line",
"start": [
-62.44271556,
0.0
],
"end": [
71.026858276,
0.0
]
}
]
}
},
{
"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": [
{
"role": "outer",
"closed": true,
"segments": [
{
"type": "line",
"start": [
-25.0,
42.0
],
"end": [
-22.5,
42.0
]
},
{
"type": "line",
"start": [
-22.5,
42.0
],
"end": [
-22.5,
40.0
]
},
{
"type": "line",
"start": [
-22.5,
40.0
],
"end": [
-23.0,
40.0
]
},
{
"type": "line",
"start": [
-23.0,
40.0
],
"end": [
-23.0,
-40.0
]
},
{
"type": "line",
"start": [
-23.0,
-40.0
],
"end": [
-22.5,
-40.0
]
},
{
"type": "line",
"start": [
-22.5,
-40.0
],
"end": [
-22.5,
-42.0
]
},
{
"type": "line",
"start": [
-22.5,
-42.0
],
"end": [
-25.0,
-42.0
]
},
{
"type": "line",
"start": [
-25.0,
-42.0
],
"end": [
-25.0,
42.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
-35.965609514,
0.0
]
}
]
}
},
{
"id": "sk_004",
"name": "草图3",
"role": "profile",
"workplane": {
"origin_mm": [
-49.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": [
17.0,
68.0
],
"end": [
17.0,
65.0
]
},
{
"type": "line",
"start": [
17.0,
65.0
],
"end": [
21.0,
65.0
]
},
{
"type": "line",
"start": [
21.0,
65.0
],
"end": [
21.0,
40.0
]
},
{
"type": "line",
"start": [
21.0,
40.0
],
"end": [
25.0,
40.0
]
},
{
"type": "line",
"start": [
25.0,
40.0
],
"end": [
25.0,
68.0
]
},
{
"type": "line",
"start": [
25.0,
68.0
],
"end": [
17.0,
68.0
]
}
]
}
]
}
},
{
"id": "sk_005",
"name": "草图4",
"role": "profile",
"workplane": {
"origin_mm": [
-49.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": [
7.0,
52.0
],
"end": [
19.0,
52.0
]
},
{
"type": "line",
"start": [
19.0,
52.0
],
"end": [
19.0,
64.0
]
},
{
"type": "line",
"start": [
19.0,
64.0
],
"end": [
7.0,
64.0
]
},
{
"type": "line",
"start": [
7.0,
64.0
],
"end": [
7.0,
52.0
]
}
]
}
]
}
},
{
"id": "sk_006",
"name": "草图9",
"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": [
-44.0,
61.0
],
"end": [
-44.0,
55.0
],
"center": [
-44.0,
58.0
],
"radius_mm": 3.0,
"clockwise": false
},
{
"type": "line",
"start": [
-44.0,
55.0
],
"end": [
-34.0,
55.0
]
},
{
"type": "arc",
"start": [
-34.0,
55.0
],
"end": [
-34.0,
61.0
],
"center": [
-34.0,
58.0
],
"radius_mm": 3.0,
"clockwise": false
},
{
"type": "line",
"start": [
-34.0,
61.0
],
"end": [
-44.0,
61.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
0.0,
85.810724632
]
},
{
"type": "line",
"start": [
-44.0,
61.0
],
"end": [
-44.0,
55.0
]
},
{
"type": "line",
"start": [
-34.0,
61.0
],
"end": [
-34.0,
55.0
]
},
{
"type": "line",
"start": [
-47.968710832,
58.0
],
"end": [
-29.669098671,
58.0
]
}
]
}
},
{
"id": "sk_007",
"name": "草图10",
"role": "profile",
"workplane": {
"origin_mm": [
49.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": [
25.0,
5.0
],
"end": [
0.0,
5.0
]
},
{
"type": "line",
"start": [
0.0,
5.0
],
"end": [
0.0,
21.0
]
},
{
"type": "line",
"start": [
0.0,
21.0
],
"end": [
25.0,
21.0
]
},
{
"type": "line",
"start": [
25.0,
21.0
],
"end": [
25.0,
5.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
0.0,
13.0
],
"end": [
30.586355786,
13.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_003"
],
"params": {
"distance_mm": 25.0,
"reverse": true,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_002"
},
{
"id": "f_005",
"name": "切除-拉伸1",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 0.0,
"reverse": false,
"end_condition": {
"type": "through_all",
"solidworks_code": 1
}
},
"execution_status": "deferred",
"sketch_id": "sk_003"
},
{
"id": "f_006",
"name": "切除-拉伸2",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 0.0,
"reverse": false,
"end_condition": {
"type": "through_all",
"solidworks_code": 1
}
},
"execution_status": "deferred",
"sketch_id": "sk_004"
},
{
"id": "f_007",
"name": "切除-拉伸3",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 0.0,
"reverse": false,
"end_condition": {
"type": "through_all",
"solidworks_code": 1
}
},
"execution_status": "deferred",
"sketch_id": "sk_005"
},
{
"id": "f_008",
"name": "M5 六角凹头螺钉的柱形沉头孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004"
],
"params": {
"hole_type": "六角凹头 ISO 4762",
"diameter_mm": 5.5,
"depth_mm": 25.0,
"end_condition": {
"solidworks_code": 1,
"type": "through_all"
},
"positions": [
{
"mm": [
-32.0,
10.0,
0.0
]
},
{
"mm": [
-20.0,
10.0,
0.0
]
}
],
"counterbore": {
"diameter_mm": 10.0,
"depth_mm": 5.0
}
},
"execution_status": "deferred",
"sketch_id": "sk_001",
"unresolved": [
"hole has no captured semantic selections"
]
},
{
"id": "f_010",
"name": "M8 螺纹孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004"
],
"params": {
"hole_type": "底部螺纹孔",
"diameter_mm": 8.0,
"depth_mm": 23.0,
"end_condition": {
"solidworks_code": 1,
"type": "through_all"
},
"positions": [
{
"mm": [
-32.0,
23.0,
0.0
]
}
],
"thread": {
"diameter_mm": 8.0,
"depth_mm": 23.0,
"class": "1B"
}
},
"execution_status": "deferred",
"sketch_id": "sk_001",
"unresolved": [
"hole has no captured semantic selections"
]
},
{
"id": "f_014",
"name": "切除-拉伸5",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 1.0,
"reverse": true,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_007"
},
{
"id": "f_009",
"name": "镜向1",
"atomic_id": "pattern_mirror",
"depends_on": [
"f_008",
"f_001"
],
"params": {
"source_feature_ids": [
"f_008"
],
"mirror_plane": {
"kind": "plane",
"stable_id": "46665b39295d4001bcbef6f37ec0c75c219ac67a07e32a964234a868b3672da2",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_001"
}
},
"execution_status": "deferred",
"selectors": [
{
"kind": "plane",
"stable_id": "46665b39295d4001bcbef6f37ec0c75c219ac67a07e32a964234a868b3672da2",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_001"
}
]
},
{
"id": "f_011",
"name": "镜向2",
"atomic_id": "pattern_mirror",
"depends_on": [
"f_010",
"f_001"
],
"params": {
"source_feature_ids": [
"f_010"
],
"mirror_plane": {
"kind": "plane",
"stable_id": "46665b39295d4001bcbef6f37ec0c75c219ac67a07e32a964234a868b3672da2",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_001"
}
},
"execution_status": "deferred",
"selectors": [
{
"kind": "plane",
"stable_id": "46665b39295d4001bcbef6f37ec0c75c219ac67a07e32a964234a868b3672da2",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_001"
}
]
},
{
"id": "f_012",
"name": "切除-拉伸4",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_004",
"f_005"
],
"params": {
"distance_mm": 0.0,
"reverse": false,
"end_condition": {
"type": "through_all_both",
"solidworks_code": 2
}
},
"execution_status": "deferred",
"sketch_id": "sk_006"
},
{
"id": "f_015",
"name": "M4 螺纹孔2",
"atomic_id": "hole_wizard",
"depends_on": [
"f_014",
"f_004"
],
"params": {
"hole_type": "底部螺纹孔",
"diameter_mm": 4.0,
"depth_mm": 8.0,
"end_condition": {
"solidworks_code": 0,
"type": "blind"
},
"positions": [
{
"mm": [
-10.0,
9.0,
0.0
]
},
{
"mm": [
-10.0,
17.0,
0.0
]
}
],
"thread": {
"diameter_mm": 4.0,
"depth_mm": 8.0,
"class": "1B"
}
},
"execution_status": "deferred",
"unresolved": [
"hole has no captured semantic selections"
]
},
{
"id": "f_013",
"name": "镜向3",
"atomic_id": "pattern_mirror",
"depends_on": [
"f_012",
"f_001"
],
"params": {
"source_feature_ids": [
"f_012"
],
"mirror_plane": {
"kind": "plane",
"stable_id": "46665b39295d4001bcbef6f37ec0c75c219ac67a07e32a964234a868b3672da2",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_001"
}
},
"execution_status": "deferred",
"selectors": [
{
"kind": "plane",
"stable_id": "46665b39295d4001bcbef6f37ec0c75c219ac67a07e32a964234a868b3672da2",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_001"
}
]
}
],
"meta": {
"unit": "mm",
"source": "076817.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete_with_blockers",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.08578376910460402,
"volume": 8.578376910460402e-05,
"surface_area": 0.022778811243625657,
"center_of_mass": [
-0.011457160129185968,
0.024079026103184263,
-0.00031513345158887105
],
"principal_moments": [
2.908175123919335e-05,
9.502267200660916e-05,
0.00011651141317823137
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.025000000000000015,
-1.3877787807814457e-17,
-0.048999999999999995,
1.0409154007490214e-19,
0.068,
0.048999999999999995
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "M4 螺纹孔2",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAwAAABxAAAAbwAAAG4AAABtAAAAbAAAAGsAAABqAAAAaQAAAGgAAABnAAAAZgAAAGUAAAA=",
"persist_reference_sha256": "9676fffe1c522dbbb410c5a00cae48349faa9051daa954c48b48168d6e34d16d",
"component": null,
"geometry": {
"box": [
-0.025000000000000015,
-1.1895246692412395e-17,
-0.048999999999999995,
1.0409154007490214e-19,
0.068,
0.048999999999999995
],
"face_count": 68,
"edge_count": 168,
"vertex_count": 98
},
"stable_id": "9676fffe1c522dbbb410c5a00cae48349faa9051daa954c48b48168d6e34d16d"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 84,
"surface_counts": {
"cone": 4,
"cylinder": 30,
"plane": 50
},
"axis_count": 34,
"repeat_spacings_mm": [
{
"spacing_mm": 10.1,
"pair_count": 2
},
{
"spacing_mm": 8.0,
"pair_count": 2
},
{
"spacing_mm": 12.8845,
"pair_count": 2
},
{
"spacing_mm": 78.0,
"pair_count": 2
},
{
"spacing_mm": 44.6548,
"pair_count": 2
},
{
"spacing_mm": 87.3273,
"pair_count": 2
},
{
"spacing_mm": 55.4351,
"pair_count": 2
},
{
"spacing_mm": 59.2035,
"pair_count": 2
},
{
"spacing_mm": 93.3009,
"pair_count": 2
},
{
"spacing_mm": 83.8156,
"pair_count": 2
},
{
"spacing_mm": 10.0,
"pair_count": 2
},
{
"spacing_mm": 78.7785,
"pair_count": 2
}
],
"metrics": {
"bounding_box_mm": [
-25.0,
-0.0,
-49.0,
0.0,
68.0,
49.0
],
"volume_mm3": 85783.769104604,
"surface_area_mm2": 22778.811243626,
"solid_count": 1,
"face_count": 84,
"edge_count": 226,
"vertex_count": 150
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-25.0,
-0.0,
-49.0,
0.0,
68.0,
49.0
],
"volume_mm3": 85783.769104604,
"surface_area_mm2": 22778.811243626,
"solid_count": 1,
"face_count": 68,
"edge_count": 168,
"vertex_count": 98
},
"comparisons": {
"volume_mm3": {
"expected": 85783.769104604,
"actual": 85783.769104604,
"absolute_delta": 0.0,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 22778.811243626,
"actual": 22778.811243626,
"absolute_delta": 0.0,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-25.0,
-0.0,
-49.0,
0.0,
68.0,
49.0
],
"actual": [
-25.0,
-0.0,
-49.0,
0.0,
68.0,
49.0
],
"max_absolute_delta": 0.0,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 68,
"actual": 84,
"matches": false
},
"edge_count": {
"expected": 168,
"actual": 226,
"matches": false
},
"vertex_count": {
"expected": 98,
"actual": 150,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}