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

1246 lines
26 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "200394",
"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": [
-40.0,
0.0
],
"end": [
40.0,
0.0
]
},
{
"type": "line",
"start": [
40.0,
0.0
],
"end": [
40.0,
4.0
]
},
{
"type": "line",
"start": [
40.0,
4.0
],
"end": [
137.0,
4.0
]
},
{
"type": "line",
"start": [
137.0,
4.0
],
"end": [
137.0,
38.0
]
},
{
"type": "line",
"start": [
137.0,
38.0
],
"end": [
-137.0,
38.0
]
},
{
"type": "line",
"start": [
-137.0,
38.0
],
"end": [
-137.0,
4.0
]
},
{
"type": "line",
"start": [
-137.0,
4.0
],
"end": [
-40.0,
4.0
]
},
{
"type": "line",
"start": [
-40.0,
4.0
],
"end": [
-40.0,
0.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
0.0,
72.271045257
]
}
]
}
},
{
"id": "sk_003",
"name": "草图5",
"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": [
11.0,
-125.0
],
"end": [
124.0,
-125.0
]
},
{
"type": "line",
"start": [
124.0,
-125.0
],
"end": [
124.0,
125.0
]
},
{
"type": "line",
"start": [
124.0,
125.0
],
"end": [
11.0,
125.0
]
},
{
"type": "line",
"start": [
11.0,
125.0
],
"end": [
11.0,
-125.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
11.0,
-125.0
],
"end": [
124.0,
125.0
]
},
{
"type": "line",
"start": [
11.0,
125.0
],
"end": [
124.0,
-125.0
]
}
]
}
},
{
"id": "sk_004",
"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": "circles",
"items": [
{
"center": [
103.5,
90.0
],
"radius_mm": 4.441179706
},
{
"center": [
103.5,
38.0
],
"radius_mm": 4.645090308
},
{
"center": [
31.5,
90.0
],
"radius_mm": 4.441179706
},
{
"center": [
31.5,
38.0
],
"radius_mm": 6.5
},
{
"center": [
31.5,
-38.0
],
"radius_mm": 6.5
},
{
"center": [
103.5,
-38.0
],
"radius_mm": 6.5
},
{
"center": [
31.5,
-90.0
],
"radius_mm": 6.5
},
{
"center": [
103.5,
-90.0
],
"radius_mm": 6.5
}
]
}
},
{
"id": "sk_005",
"name": "草图8",
"role": "profile",
"workplane": {
"origin_mm": [
125.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": "circles",
"items": [
{
"center": [
-25.0,
25.0
],
"radius_mm": 3.195701999
},
{
"center": [
25.0,
25.0
],
"radius_mm": 2.19309483
},
{
"center": [
25.0,
7.0
],
"radius_mm": 2.855466351
},
{
"center": [
-25.0,
7.0
],
"radius_mm": 3.195701999
}
]
}
},
{
"id": "sk_006",
"name": "草图10",
"role": "profile",
"workplane": {
"origin_mm": [
125.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": "circle",
"center": [
-0.0,
16.0
],
"radius_mm": 10.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": 250.0,
"reverse": false,
"end_condition": {
"type": "through_all_and_blind",
"solidworks_code": 6
}
},
"execution_status": "deferred",
"sketch_id": "sk_002"
},
{
"id": "f_008",
"name": "M12 螺纹孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_001"
],
"params": {
"hole_type": "底部螺纹孔",
"diameter_mm": 12.0,
"depth_mm": 24.0,
"end_condition": {
"solidworks_code": 0,
"type": "blind"
},
"positions": [
{
"mm": [
103.5,
32.0,
90.0
]
},
{
"mm": [
31.5,
32.0,
90.0
]
},
{
"mm": [
103.5,
32.0,
38.0
]
},
{
"mm": [
31.5,
32.0,
38.0
]
},
{
"mm": [
103.5,
32.0,
-38.0
]
},
{
"mm": [
103.5,
32.0,
-90.0
]
},
{
"mm": [
31.5,
32.0,
-38.0
]
},
{
"mm": [
31.5,
32.0,
-90.0
]
}
],
"thread": {
"diameter_mm": 12.0,
"depth_mm": 24.0,
"class": "1B"
},
"host_face": {
"kind": "face",
"stable_id": "step-face-24f6d2fee9f946d90827938c",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
11.0,
32.0,
-125.0,
124.0,
32.0,
125.0
],
"center_mm": [
66.799756366,
32.0,
0.0
],
"normal": [
-0.0,
1.0,
-0.0
],
"surface_type": "plane"
}
}
},
"execution_status": "deferred",
"sketch_id": "sk_004",
"selectors": [
{
"kind": "face",
"stable_id": "step-face-24f6d2fee9f946d90827938c",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
11.0,
32.0,
-125.0,
124.0,
32.0,
125.0
],
"center_mm": [
66.799756366,
32.0,
0.0
],
"normal": [
-0.0,
1.0,
-0.0
],
"surface_type": "plane"
}
}
]
},
{
"id": "f_009",
"name": "M8 螺纹孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_001"
],
"params": {
"hole_type": "底部螺纹孔",
"diameter_mm": 8.0,
"depth_mm": 16.0,
"end_condition": {
"solidworks_code": 0,
"type": "blind"
},
"positions": [
{
"mm": [
25.0,
7.0,
125.0
]
},
{
"mm": [
25.0,
25.0,
125.0
]
},
{
"mm": [
-25.0,
25.0,
125.0
]
},
{
"mm": [
-25.0,
7.0,
125.0
]
}
],
"thread": {
"diameter_mm": 8.0,
"depth_mm": 16.0,
"class": "1B"
},
"host_face": {
"kind": "face",
"stable_id": "step-face-9272b3266a89c66d23c2433f",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
-132.0,
0.0,
125.0,
132.0,
38.0,
125.0
],
"center_mm": [
-5.609436509,
19.372893562,
125.0
],
"normal": [
0.0,
-0.0,
1.0
],
"surface_type": "plane"
}
}
},
"execution_status": "deferred",
"sketch_id": "sk_005",
"selectors": [
{
"kind": "face",
"stable_id": "step-face-9272b3266a89c66d23c2433f",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
-132.0,
0.0,
125.0,
132.0,
38.0,
125.0
],
"center_mm": [
-5.609436509,
19.372893562,
125.0
],
"normal": [
0.0,
-0.0,
1.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_005",
"name": "打孔尺寸根据内六角圆柱头螺钉的类型1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004"
],
"params": {
"hole_type": "内六角圆柱头螺钉 GB/T 70.1-2000",
"diameter_mm": 11.0,
"depth_mm": 38.0,
"end_condition": {
"solidworks_code": 1,
"type": "through_all"
},
"positions": [
{
"mm": [
121.0,
-90.0,
0.0
]
},
{
"mm": [
121.0,
-38.0,
0.0
]
},
{
"mm": [
49.0,
-38.0,
0.0
]
},
{
"mm": [
49.0,
-90.0,
0.0
]
},
{
"mm": [
49.0,
90.0,
0.0
]
},
{
"mm": [
49.0,
38.0,
0.0
]
},
{
"mm": [
121.0,
38.0,
0.0
]
},
{
"mm": [
121.0,
90.0,
0.0
]
},
{
"mm": [
-121.0,
90.0,
0.0
]
},
{
"mm": [
-121.0,
38.0,
0.0
]
},
{
"mm": [
-49.0,
38.0,
0.0
]
},
{
"mm": [
-49.0,
90.0,
0.0
]
},
{
"mm": [
-49.0,
-90.0,
0.0
]
},
{
"mm": [
-49.0,
-38.0,
0.0
]
},
{
"mm": [
-121.0,
-38.0,
0.0
]
},
{
"mm": [
-121.0,
-90.0,
0.0
]
}
],
"counterbore": {
"diameter_mm": 18.0,
"depth_mm": 18.0
}
},
"execution_status": "deferred",
"unresolved": [
"hole has no captured semantic selections"
]
},
{
"id": "f_006",
"name": "切除-拉伸1",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 6.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_003"
},
{
"id": "f_007",
"name": "倒角1",
"atomic_id": "chamfer",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 5.0,
"angle_rad": 0.78539816339745
},
"execution_status": "deferred"
},
{
"id": "f_010",
"name": "切除-拉伸2",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 30.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "supported",
"sketch_id": "sk_006"
},
{
"id": "f_011",
"name": "倒角2",
"atomic_id": "chamfer",
"depends_on": [
"f_010"
],
"params": {
"distance_mm": 10.0,
"angle_rad": 0.78539816339745
},
"execution_status": "deferred"
}
],
"meta": {
"unit": "mm",
"source": "200394.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete_with_blockers",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 2.121272823207033,
"volume": 0.002121272823207033,
"surface_area": 0.2057495656840317,
"center_of_mass": [
-0.00560384874690342,
0.019117007540455647,
-0.0005518206191058428
],
"principal_moments": [
0.011195846795601106,
0.01289820289863872,
0.02369339576134825
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.137,
0.0,
-0.125,
0.137,
0.037999999999999964,
0.125
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "倒角2",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAYAAAB1AAAAdAAAAHMAAAByAAAAawAAAGoAAAA=",
"persist_reference_sha256": "27fc24d8b57bd86899d1e13a3fb9911956e140b812a02dbc9e7d1b912e282b35",
"component": null,
"geometry": {
"box": [
-0.137,
0.0,
-0.125,
0.137,
0.037999999999999964,
0.125
],
"face_count": 92,
"edge_count": 162,
"vertex_count": 53
},
"stable_id": "27fc24d8b57bd86899d1e13a3fb9911956e140b812a02dbc9e7d1b912e282b35"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 146,
"surface_counts": {
"cone": 18,
"cylinder": 90,
"plane": 38
},
"axis_count": 108,
"repeat_spacings_mm": [
{
"spacing_mm": 52.0,
"pair_count": 14
},
{
"spacing_mm": 128.0,
"pair_count": 14
},
{
"spacing_mm": 72.0,
"pair_count": 12
},
{
"spacing_mm": 88.8144,
"pair_count": 12
},
{
"spacing_mm": 146.8605,
"pair_count": 12
},
{
"spacing_mm": 18.5,
"pair_count": 8
},
{
"spacing_mm": 55.1928,
"pair_count": 8
},
{
"spacing_mm": 129.33,
"pair_count": 8
},
{
"spacing_mm": 199.189,
"pair_count": 8
},
{
"spacing_mm": 152.618,
"pair_count": 8
},
{
"spacing_mm": 161.2335,
"pair_count": 8
},
{
"spacing_mm": 212.8004,
"pair_count": 8
}
],
"metrics": {
"bounding_box_mm": [
-137.0,
-0.0,
-125.0,
137.0,
38.0,
125.0
],
"volume_mm3": 2121272.823207032,
"surface_area_mm2": 205749.565684032,
"solid_count": 1,
"face_count": 146,
"edge_count": 368,
"vertex_count": 241
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-137.0,
0.0,
-125.0,
137.0,
38.0,
125.0
],
"volume_mm3": 2121272.823207033,
"surface_area_mm2": 205749.565684032,
"solid_count": 1,
"face_count": 92,
"edge_count": 162,
"vertex_count": 53
},
"comparisons": {
"volume_mm3": {
"expected": 2121272.823207033,
"actual": 2121272.823207032,
"absolute_delta": 9.313225746154785e-10,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 205749.565684032,
"actual": 205749.565684032,
"absolute_delta": 0.0,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-137.0,
0.0,
-125.0,
137.0,
38.0,
125.0
],
"actual": [
-137.0,
-0.0,
-125.0,
137.0,
38.0,
125.0
],
"max_absolute_delta": 0.0,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 92,
"actual": 146,
"matches": false
},
"edge_count": {
"expected": 162,
"actual": 368,
"matches": false
},
"vertex_count": {
"expected": 53,
"actual": 241,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}