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

655 lines
14 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "118434",
"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": [
-200.0,
-200.0
],
"end": [
200.0,
-200.0
]
},
{
"type": "line",
"start": [
200.0,
-200.0
],
"end": [
200.0,
200.0
]
},
{
"type": "line",
"start": [
200.0,
200.0
],
"end": [
-200.0,
200.0
]
},
{
"type": "line",
"start": [
-200.0,
200.0
],
"end": [
-200.0,
-200.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
-200.0,
-200.0
],
"end": [
200.0,
200.0
]
},
{
"type": "line",
"start": [
-200.0,
200.0
],
"end": [
200.0,
-200.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": 20.0,
"reverse": false,
"end_condition": {
"type": "through_all_and_blind",
"solidworks_code": 6
}
},
"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": "M12 螺纹孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004"
],
"params": {
"hole_type": "底部螺纹孔",
"diameter_mm": 12.0,
"depth_mm": 20.0,
"end_condition": {
"solidworks_code": 1,
"type": "through_all"
},
"positions": [
{
"mm": [
-105.0,
-68.0,
0.0
]
},
{
"mm": [
-105.0,
68.0,
0.0
]
},
{
"mm": [
105.0,
68.0,
0.0
]
},
{
"mm": [
105.0,
-68.0,
0.0
]
}
],
"thread": {
"diameter_mm": 12.0,
"depth_mm": 20.0,
"class": "1B"
}
},
"execution_status": "deferred",
"unresolved": [
"hole has no captured semantic selections"
]
},
{
"id": "f_006",
"name": "M5 螺纹孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004"
],
"params": {
"hole_type": "底部螺纹孔",
"diameter_mm": 5.0,
"depth_mm": 20.0,
"end_condition": {
"solidworks_code": 1,
"type": "through_all"
},
"positions": [
{
"mm": [
29.4,
121.5,
0.0
]
},
{
"mm": [
29.4,
103.5,
0.0
]
}
],
"thread": {
"diameter_mm": 5.0,
"depth_mm": 20.0,
"class": "1B"
}
},
"execution_status": "deferred",
"unresolved": [
"hole has no captured semantic selections"
]
},
{
"id": "f_007",
"name": "打孔尺寸(%根据)内六角圆柱头螺钉的类型1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004"
],
"params": {
"hole_type": "内六角圆柱头螺钉 GB/T 70.1-2000",
"diameter_mm": 9.0,
"depth_mm": 20.0,
"end_condition": {
"solidworks_code": 1,
"type": "through_all"
},
"positions": [
{
"mm": [
-170.0,
170.0,
0.0
]
},
{
"mm": [
0.0,
170.0,
0.0
]
},
{
"mm": [
170.0,
170.0,
0.0
]
},
{
"mm": [
170.0,
-170.0,
0.0
]
},
{
"mm": [
0.0,
-170.0,
0.0
]
},
{
"mm": [
-170.0,
-170.0,
0.0
]
}
],
"counterbore": {
"diameter_mm": 15.0,
"depth_mm": 9.0
}
},
"execution_status": "deferred",
"sketch_id": "sk_001",
"unresolved": [
"hole has no captured semantic selections"
]
},
{
"id": "f_008",
"name": "倒角1",
"atomic_id": "chamfer",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 1.0,
"angle_rad": 0.78539816339745
},
"execution_status": "deferred"
}
],
"meta": {
"unit": "mm",
"source": "118434.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete_with_blockers",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 8.5793385711479,
"volume": 0.003177532804128852,
"surface_area": 0.3561052035104989,
"center_of_mass": [
5.127500850741935e-06,
-1.962053896953831e-05,
1.0571065893807933e-05
],
"principal_moments": [
0.11419347325278903,
0.11445586272396892,
0.22807802100880498
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.19999999999999998,
-0.19999999999999998,
-0.01,
0.20000000000000004,
0.20000000000000004,
0.01
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "倒角1",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAQAAABoAAAAZwAAAGYAAABlAAAA",
"persist_reference_sha256": "b5fdc8a80d75492240d2f0abebd3a4cf9537f5703d925dc302bac9d91636edc0",
"component": null,
"geometry": {
"box": [
-0.19999999999999998,
-0.19999999999999998,
-0.01,
0.20000000000000004,
0.20000000000000004,
0.01
],
"face_count": 50,
"edge_count": 84,
"vertex_count": 24
},
"stable_id": "b5fdc8a80d75492240d2f0abebd3a4cf9537f5703d925dc302bac9d91636edc0"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 68,
"surface_counts": {
"cylinder": 36,
"plane": 32
},
"axis_count": 36,
"repeat_spacings_mm": [
{
"spacing_mm": 340.0,
"pair_count": 5
},
{
"spacing_mm": 170.0,
"pair_count": 4
},
{
"spacing_mm": 380.1316,
"pair_count": 4
},
{
"spacing_mm": 246.7164,
"pair_count": 4
},
{
"spacing_mm": 120.9504,
"pair_count": 4
},
{
"spacing_mm": 293.307,
"pair_count": 4
},
{
"spacing_mm": 363.6881,
"pair_count": 4
},
{
"spacing_mm": 260.1327,
"pair_count": 4
},
{
"spacing_mm": 146.3865,
"pair_count": 4
},
{
"spacing_mm": 480.8326,
"pair_count": 2
},
{
"spacing_mm": 136.0,
"pair_count": 2
},
{
"spacing_mm": 250.1919,
"pair_count": 2
}
],
"metrics": {
"bounding_box_mm": [
-200.0,
-200.0,
-10.0,
200.0,
200.0,
10.0
],
"volume_mm3": 3177532.804128847,
"surface_area_mm2": 356105.203510499,
"solid_count": 1,
"face_count": 68,
"edge_count": 156,
"vertex_count": 96
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-200.0,
-200.0,
-10.0,
200.0,
200.0,
10.0
],
"volume_mm3": 3177532.804128852,
"surface_area_mm2": 356105.203510499,
"solid_count": 1,
"face_count": 50,
"edge_count": 84,
"vertex_count": 24
},
"comparisons": {
"volume_mm3": {
"expected": 3177532.804128852,
"actual": 3177532.804128847,
"absolute_delta": 5.122274160385132e-09,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 356105.203510499,
"actual": 356105.203510499,
"absolute_delta": 0.0,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-200.0,
-200.0,
-10.0,
200.0,
200.0,
10.0
],
"actual": [
-200.0,
-200.0,
-10.0,
200.0,
200.0,
10.0
],
"max_absolute_delta": 0.0,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 50,
"actual": 68,
"matches": false
},
"edge_count": {
"expected": 84,
"actual": 156,
"matches": false
},
"vertex_count": {
"expected": 24,
"actual": 96,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}