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

1268 lines
27 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "113246",
"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": "草图15",
"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": [
-70.0,
-3.0
],
"end": [
-70.0,
-20.0
]
},
{
"type": "line",
"start": [
-70.0,
-20.0
],
"end": [
0.0,
-20.0
]
},
{
"type": "line",
"start": [
0.0,
-20.0
],
"end": [
0.0,
20.0
]
},
{
"type": "line",
"start": [
0.0,
20.0
],
"end": [
-70.0,
20.0
]
},
{
"type": "line",
"start": [
-70.0,
20.0
],
"end": [
-70.0,
3.0
]
},
{
"type": "line",
"start": [
-70.0,
3.0
],
"end": [
-40.0,
3.0
]
},
{
"type": "line",
"start": [
-40.0,
3.0
],
"end": [
-40.0,
-3.0
]
},
{
"type": "line",
"start": [
-40.0,
-3.0
],
"end": [
-70.0,
-3.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
-40.0,
0.0
],
"end": [
0.0,
0.0
]
}
]
}
},
{
"id": "sk_003",
"name": "草图16",
"role": "profile",
"workplane": {
"origin_mm": [
15.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": [
0.0,
17.0
],
"end": [
-70.0,
17.0
]
},
{
"type": "line",
"start": [
-70.0,
17.0
],
"end": [
-70.0,
-17.0
]
},
{
"type": "line",
"start": [
-70.0,
-17.0
],
"end": [
0.0,
-17.0
]
},
{
"type": "line",
"start": [
0.0,
-17.0
],
"end": [
0.0,
17.0
]
}
]
}
]
}
},
{
"id": "sk_004",
"name": "草图19",
"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": [
0.0,
0.0
],
"end": [
-70.0,
0.0
]
},
{
"type": "line",
"start": [
-70.0,
0.0
],
"end": [
-70.0,
-15.0
]
},
{
"type": "line",
"start": [
-70.0,
-15.0
],
"end": [
0.0,
-15.0
]
},
{
"type": "line",
"start": [
0.0,
-15.0
],
"end": [
0.0,
0.0
]
}
]
}
]
}
},
{
"id": "sk_005",
"name": "草图33",
"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": [
-35.0,
0.0
],
"end": [
-5.0,
0.0
]
},
{
"type": "line",
"start": [
-5.0,
0.0
],
"end": [
-5.0,
-15.0
]
},
{
"type": "line",
"start": [
-5.0,
-15.0
],
"end": [
-35.0,
-15.0
]
},
{
"type": "line",
"start": [
-35.0,
-15.0
],
"end": [
-35.0,
0.0
]
}
]
}
]
}
},
{
"id": "sk_006",
"name": "草图34",
"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": [
70.0,
-3.0
],
"end": [
60.0,
-3.0
]
},
{
"type": "line",
"start": [
60.0,
-3.0
],
"end": [
60.0,
-13.0
]
},
{
"type": "line",
"start": [
60.0,
-13.0
],
"end": [
70.0,
-13.0
]
},
{
"type": "line",
"start": [
70.0,
-13.0
],
"end": [
70.0,
-3.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": 15.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_002"
},
{
"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": "extrude_cut_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 2.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_003"
},
{
"id": "f_007",
"name": "凸台-拉伸2",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 12.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_004"
},
{
"id": "f_009",
"name": "大小mm 暗销孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004"
],
"params": {
"hole_type": "暗销孔",
"diameter_mm": 2.0,
"depth_mm": 15.0,
"end_condition": {
"solidworks_code": 1,
"type": "through_all"
},
"positions": [
{
"mm": [
40.0,
3.0,
0.0
]
},
{
"mm": [
40.0,
-3.0,
0.0
]
}
]
},
"execution_status": "deferred",
"unresolved": [
"hole has no captured semantic selections"
]
},
{
"id": "f_010",
"name": "M6 间隙孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004"
],
"params": {
"hole_type": "螺钉间隙",
"diameter_mm": 6.6,
"depth_mm": 17.0,
"end_condition": {
"solidworks_code": 2,
"type": "through_all_both"
},
"positions": [
{
"mm": [
65.0,
-7.5,
0.0
]
},
{
"mm": [
45.0,
-7.5,
0.0
]
}
]
},
"execution_status": "deferred",
"unresolved": [
"hole has no captured semantic selections"
]
},
{
"id": "f_012",
"name": "M3 螺纹孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004"
],
"params": {
"hole_type": "底部螺纹孔",
"diameter_mm": 3.0,
"depth_mm": 13.0,
"end_condition": {
"solidworks_code": 1,
"type": "through_all"
},
"positions": [
{
"mm": [
20.0,
-5.0,
0.0
]
},
{
"mm": [
20.0,
-15.0,
0.0
]
}
],
"thread": {
"diameter_mm": 3.0,
"depth_mm": 13.0,
"class": "1B"
}
},
"execution_status": "deferred",
"unresolved": [
"hole has no captured semantic selections"
]
},
{
"id": "f_014",
"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_006"
},
{
"id": "f_006",
"name": "M4 间隙孔2",
"atomic_id": "hole_wizard",
"depends_on": [
"f_005"
],
"params": {
"hole_type": "螺钉间隙",
"diameter_mm": 4.5,
"depth_mm": 13.0,
"end_condition": {
"solidworks_code": 1,
"type": "through_all"
},
"positions": [
{
"mm": [
-7.0,
13.0,
0.0
]
},
{
"mm": [
-33.0,
-13.0,
0.0
]
},
{
"mm": [
-7.0,
-13.0,
0.0
]
},
{
"mm": [
-33.0,
13.0,
0.0
]
}
],
"host_face": {
"kind": "face",
"stable_id": "step-face-ce10f5589b4bde17b2ea7549",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
-70.0,
-20.0,
-0.0,
0.0,
32.0,
0.0
],
"center_mm": [
-33.56561596,
6.480176324,
0.0
],
"normal": [
0.0,
0.0,
-1.0
],
"surface_type": "plane"
}
}
},
"execution_status": "deferred",
"sketch_id": "sk_001",
"selectors": [
{
"kind": "face",
"stable_id": "step-face-ce10f5589b4bde17b2ea7549",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
-70.0,
-20.0,
-0.0,
0.0,
32.0,
0.0
],
"center_mm": [
-33.56561596,
6.480176324,
0.0
],
"normal": [
0.0,
0.0,
-1.0
],
"surface_type": "plane"
}
}
]
},
{
"id": "f_008",
"name": "M6 螺纹孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_007"
],
"params": {
"hole_type": "底部螺纹孔",
"diameter_mm": 6.0,
"depth_mm": 12.0,
"end_condition": {
"solidworks_code": 0,
"type": "blind"
},
"positions": [
{
"mm": [
-28.0,
-7.5,
0.0
]
},
{
"mm": [
-12.0,
-7.5,
0.0
]
}
],
"thread": {
"diameter_mm": 6.0,
"depth_mm": 12.0,
"class": "1B"
},
"host_face": {
"kind": "face",
"stable_id": "step-face-ce10f5589b4bde17b2ea7549",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
-70.0,
-20.0,
-0.0,
0.0,
32.0,
0.0
],
"center_mm": [
-33.56561596,
6.480176324,
0.0
],
"normal": [
0.0,
0.0,
-1.0
],
"surface_type": "plane"
}
}
},
"execution_status": "deferred",
"selectors": [
{
"kind": "face",
"stable_id": "step-face-ce10f5589b4bde17b2ea7549",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
-70.0,
-20.0,
-0.0,
0.0,
32.0,
0.0
],
"center_mm": [
-33.56561596,
6.480176324,
0.0
],
"normal": [
0.0,
0.0,
-1.0
],
"surface_type": "plane"
}
}
]
},
{
"id": "f_011",
"name": "M6 螺纹孔2",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004",
"f_010"
],
"params": {
"hole_type": "底部螺纹孔",
"diameter_mm": 6.0,
"depth_mm": 29.0,
"end_condition": {
"solidworks_code": 1,
"type": "through_all"
},
"positions": [
{
"mm": [
65.0,
-7.5,
0.0
]
},
{
"mm": [
45.0,
-7.5,
0.0
]
}
],
"thread": {
"diameter_mm": 6.0,
"depth_mm": 29.0,
"class": ""
}
},
"execution_status": "deferred",
"unresolved": [
"hole has no captured semantic selections"
]
},
{
"id": "f_013",
"name": "切除-拉伸2",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_007",
"f_004"
],
"params": {
"distance_mm": 2.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_005"
}
],
"meta": {
"unit": "mm",
"source": "113246.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete_with_blockers",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.3280829122365154,
"volume": 4.179400155879177e-05,
"surface_area": 0.013705817359110159,
"center_of_mass": [
-0.03293983897235519,
0.006933120823392568,
0.006871103830805206
],
"principal_moments": [
8.058246565768442e-05,
0.00013507809034853007,
0.00020452317543155865
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.07,
-0.020000000000000004,
-1.734723475976807e-18,
6.938893903907228e-18,
0.032,
0.015
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "切除-拉伸3",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAsAAAB6AAAAeQAAAHgAAAB2AAAAdQAAAHQAAABzAAAAcgAAAHEAAABwAAAAbwAAAA==",
"persist_reference_sha256": "a4fd3d10b03a6b1494a942ae0f7b1e708033a161d6aa16c39581c8c26e87cf42",
"component": null,
"geometry": {
"box": [
-0.07,
-0.020000000000000004,
-1.402220585023717e-18,
5.206200773004023e-18,
0.032,
0.015
],
"face_count": 36,
"edge_count": 84,
"vertex_count": 42
},
"stable_id": "a4fd3d10b03a6b1494a942ae0f7b1e708033a161d6aa16c39581c8c26e87cf42"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 50,
"surface_counts": {
"cone": 4,
"cylinder": 26,
"plane": 20
},
"axis_count": 30,
"repeat_spacings_mm": [
{
"spacing_mm": 26.0,
"pair_count": 4
},
{
"spacing_mm": 15.0,
"pair_count": 2
},
{
"spacing_mm": 16.0,
"pair_count": 2
},
{
"spacing_mm": 21.9317,
"pair_count": 2
},
{
"spacing_mm": 38.5908,
"pair_count": 2
},
{
"spacing_mm": 48.2623,
"pair_count": 2
},
{
"spacing_mm": 28.8487,
"pair_count": 2
},
{
"spacing_mm": 45.6098,
"pair_count": 2
},
{
"spacing_mm": 49.9625,
"pair_count": 2
},
{
"spacing_mm": 20.4022,
"pair_count": 2
},
{
"spacing_mm": 24.5815,
"pair_count": 2
},
{
"spacing_mm": 33.8268,
"pair_count": 2
}
],
"metrics": {
"bounding_box_mm": [
-70.0,
-20.0,
-0.0,
0.0,
32.0,
15.0
],
"volume_mm3": 41794.001558792,
"surface_area_mm2": 13705.81735911,
"solid_count": 1,
"face_count": 50,
"edge_count": 136,
"vertex_count": 90
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-70.0,
-20.0,
-0.0,
0.0,
32.0,
15.0
],
"volume_mm3": 41794.001558792,
"surface_area_mm2": 13705.81735911,
"solid_count": 1,
"face_count": 36,
"edge_count": 84,
"vertex_count": 42
},
"comparisons": {
"volume_mm3": {
"expected": 41794.001558792,
"actual": 41794.001558792,
"absolute_delta": 0.0,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 13705.81735911,
"actual": 13705.81735911,
"absolute_delta": 0.0,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-70.0,
-20.0,
-0.0,
0.0,
32.0,
15.0
],
"actual": [
-70.0,
-20.0,
-0.0,
0.0,
32.0,
15.0
],
"max_absolute_delta": 0.0,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 36,
"actual": 50,
"matches": false
},
"edge_count": {
"expected": 84,
"actual": 136,
"matches": false
},
"vertex_count": {
"expected": 42,
"actual": 90,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}