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

1060 lines
23 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "142529",
"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": [
-42.5,
15.0
],
"end": [
-42.5,
-15.0
]
},
{
"type": "line",
"start": [
-42.5,
-15.0
],
"end": [
-52.5,
-15.0
]
},
{
"type": "line",
"start": [
-52.5,
-15.0
],
"end": [
-52.5,
-25.0
]
},
{
"type": "line",
"start": [
-52.5,
-25.0
],
"end": [
52.5,
-25.0
]
},
{
"type": "line",
"start": [
52.5,
-25.0
],
"end": [
52.5,
-15.0
]
},
{
"type": "line",
"start": [
52.5,
-15.0
],
"end": [
42.5,
-15.0
]
},
{
"type": "line",
"start": [
42.5,
-15.0
],
"end": [
42.5,
15.0
]
},
{
"type": "line",
"start": [
42.5,
15.0
],
"end": [
52.5,
15.0
]
},
{
"type": "line",
"start": [
52.5,
15.0
],
"end": [
52.5,
25.0
]
},
{
"type": "line",
"start": [
52.5,
25.0
],
"end": [
-52.5,
25.0
]
},
{
"type": "line",
"start": [
-52.5,
25.0
],
"end": [
-52.5,
15.0
]
},
{
"type": "line",
"start": [
-52.5,
15.0
],
"end": [
-42.5,
15.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
-42.5,
0.0
],
"end": [
-72.893399183,
0.0
]
},
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
29.159445407,
0.0
]
},
{
"type": "line",
"start": [
29.159445407,
0.0
],
"end": [
93.729845032,
0.0
]
},
{
"type": "line",
"start": [
93.729845032,
0.0
],
"end": [
0.0,
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": "circles",
"items": [
{
"center": [
-48.056543958,
20.0
],
"radius_mm": 2.6
},
{
"center": [
-48.056543958,
-20.0
],
"radius_mm": 2.6
},
{
"center": [
48.164901442,
-20.0
],
"radius_mm": 2.6
},
{
"center": [
45.943456042,
20.0
],
"radius_mm": 2.6
}
]
}
},
{
"id": "sk_004",
"name": "草图3",
"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": [
-34.40350103,
10.239782196
],
"end": [
35.59649897,
10.239782196
]
},
{
"type": "line",
"start": [
35.59649897,
10.239782196
],
"end": [
35.59649897,
-9.760217804
]
},
{
"type": "line",
"start": [
35.59649897,
-9.760217804
],
"end": [
-34.40350103,
-9.760217804
]
},
{
"type": "line",
"start": [
-34.40350103,
-9.760217804
],
"end": [
-34.40350103,
10.239782196
]
}
]
}
]
}
},
{
"id": "sk_005",
"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": [
-48.381616409,
17.5
],
"end": [
51.618383591,
17.5
]
},
{
"type": "line",
"start": [
51.618383591,
17.5
],
"end": [
51.618383591,
-17.5
]
},
{
"type": "line",
"start": [
51.618383591,
-17.5
],
"end": [
-48.381616409,
-17.5
]
},
{
"type": "line",
"start": [
-48.381616409,
-17.5
],
"end": [
-48.381616409,
17.5
]
}
]
}
]
}
},
{
"id": "sk_006",
"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": []
}
},
{
"id": "sk_007",
"name": "草图9",
"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": []
}
},
{
"id": "sk_008",
"name": "草图10",
"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": [],
"construction": [
{
"type": "line",
"start": [
-48.381616409,
-0.0
],
"end": [
51.618383591,
-0.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": "extrude_cut_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 10.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "supported",
"sketch_id": "sk_003"
},
{
"id": "f_006",
"name": "凸台-拉伸4",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 74.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_004"
},
{
"id": "f_007",
"name": "凸台-拉伸5",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_006",
"f_004"
],
"params": {
"distance_mm": 10.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_005"
},
{
"id": "f_008",
"name": "M3x0.5 螺纹孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_007"
],
"params": {
"hole_type": "底部螺纹孔",
"diameter_mm": 3.0,
"depth_mm": 6.0,
"end_condition": {
"solidworks_code": 0,
"type": "blind"
},
"positions": [
{
"mm": [
-38.381616409,
-0.0,
0.0
]
}
],
"thread": {
"diameter_mm": 3.0,
"depth_mm": 6.0,
"class": "1B"
},
"host_face": {
"kind": "face",
"stable_id": "step-face-02af816a42abd73700195867",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
-52.5,
0.0,
-25.0,
52.5,
0.0,
25.0
],
"center_mm": [
0.009326246,
0.0,
0.0
],
"normal": [
0.0,
-1.0,
0.0
],
"surface_type": "plane"
}
}
},
"execution_status": "deferred",
"selectors": [
{
"kind": "face",
"stable_id": "step-face-02af816a42abd73700195867",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
-52.5,
0.0,
-25.0,
52.5,
0.0,
25.0
],
"center_mm": [
0.009326246,
0.0,
0.0
],
"normal": [
0.0,
-1.0,
0.0
],
"surface_type": "plane"
}
}
]
},
{
"id": "f_009",
"name": "阵列(线性)1",
"atomic_id": "pattern_linear",
"depends_on": [
"f_008"
],
"params": {
"source_feature_ids": [
"f_008"
],
"direction_1": [
1.0,
0.0,
0.0
],
"spacing_1_mm": 80.0,
"pattern_count_1": 2
},
"execution_status": "deferred",
"sketch_id": "sk_008"
}
],
"meta": {
"unit": "mm",
"source": "142529.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete_with_blockers",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.18417442437892872,
"volume": 0.00018417442437892873,
"surface_area": 0.03362299958530183,
"center_of_mass": [
0.0006447329818835966,
0.044553391404286734,
-0.00013487994120158018
],
"principal_moments": [
0.00012121619822808801,
0.0002062289564193988,
0.00029309500629607927
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.052500000000000005,
0.0,
-0.025000000000000012,
0.052500000000000005,
0.09399999999999999,
0.02500000000000002
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "阵列(线性)1",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAYAAAB7AAAAegAAAHkAAAB4AAAAdQAAAHQAAAA=",
"persist_reference_sha256": "f8bbf0aab86ea52b32e9671414366a78d215142cd4e57667515c2716f739930d",
"component": null,
"geometry": {
"box": [
-0.052500000000000005,
0.0,
-0.025000000000000012,
0.0525,
0.09399999999999999,
0.02500000000000002
],
"face_count": 32,
"edge_count": 72,
"vertex_count": 42
},
"stable_id": "f8bbf0aab86ea52b32e9671414366a78d215142cd4e57667515c2716f739930d"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 40,
"surface_counts": {
"cone": 4,
"cylinder": 12,
"plane": 24
},
"axis_count": 16,
"repeat_spacings_mm": [
{
"spacing_mm": 7.5,
"pair_count": 2
},
{
"spacing_mm": 80.0,
"pair_count": 2
},
{
"spacing_mm": 80.3508,
"pair_count": 2
},
{
"spacing_mm": 131.4443,
"pair_count": 2
},
{
"spacing_mm": 126.1897,
"pair_count": 2
},
{
"spacing_mm": 96.5899,
"pair_count": 2
},
{
"spacing_mm": 89.3076,
"pair_count": 2
}
],
"metrics": {
"bounding_box_mm": [
-52.5,
0.0,
-25.0,
52.5,
94.0,
25.0
],
"volume_mm3": 184174.424378929,
"surface_area_mm2": 33622.999585302,
"solid_count": 1,
"face_count": 40,
"edge_count": 100,
"vertex_count": 66
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-52.5,
0.0,
-25.0,
52.5,
94.0,
25.0
],
"volume_mm3": 184174.424378929,
"surface_area_mm2": 33622.999585302,
"solid_count": 1,
"face_count": 32,
"edge_count": 72,
"vertex_count": 42
},
"comparisons": {
"volume_mm3": {
"expected": 184174.424378929,
"actual": 184174.424378929,
"absolute_delta": 0.0,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 33622.999585302,
"actual": 33622.999585302,
"absolute_delta": 0.0,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-52.5,
0.0,
-25.0,
52.5,
94.0,
25.0
],
"actual": [
-52.5,
0.0,
-25.0,
52.5,
94.0,
25.0
],
"max_absolute_delta": 0.0,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 32,
"actual": 40,
"matches": false
},
"edge_count": {
"expected": 72,
"actual": 100,
"matches": false
},
"vertex_count": {
"expected": 42,
"actual": 66,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}