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

900 lines
19 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "173597",
"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": [
-11.5,
6.0
],
"end": [
11.5,
6.0
]
},
{
"type": "line",
"start": [
11.5,
6.0
],
"end": [
11.5,
-6.0
]
},
{
"type": "line",
"start": [
11.5,
-6.0
],
"end": [
-11.5,
-6.0
]
},
{
"type": "line",
"start": [
-11.5,
-6.0
],
"end": [
-11.5,
6.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
-11.5,
6.0
],
"end": [
11.5,
-6.0
]
},
{
"type": "line",
"start": [
-11.5,
-6.0
],
"end": [
11.5,
6.0
]
}
]
}
},
{
"id": "sk_003",
"name": "草图2",
"role": "profile",
"workplane": {
"origin_mm": [
230.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": [
-5.0,
21.8
],
"end": [
-5.0,
-2.7
]
},
{
"type": "line",
"start": [
-5.0,
-2.7
],
"end": [
5.0,
-2.7
]
},
{
"type": "line",
"start": [
5.0,
-2.7
],
"end": [
5.0,
-0.0
]
},
{
"type": "line",
"start": [
5.0,
-0.0
],
"end": [
-0.0,
-0.0
]
},
{
"type": "line",
"start": [
-0.0,
-0.0
],
"end": [
-0.0,
4.0
]
},
{
"type": "line",
"start": [
-0.0,
4.0
],
"end": [
5.0,
4.0
]
},
{
"type": "line",
"start": [
5.0,
4.0
],
"end": [
5.0,
21.8
]
},
{
"type": "line",
"start": [
5.0,
21.8
],
"end": [
-5.0,
21.8
]
}
]
}
]
}
},
{
"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": "circles",
"items": [
{
"center": [
-0.0,
-40.0
],
"radius_mm": 4.5
},
{
"center": [
0.0,
-190.0
],
"radius_mm": 4.5
}
]
}
},
{
"id": "sk_005",
"name": "草图4",
"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": [
-0.0,
-40.0
],
"radius_mm": 2.0
},
{
"center": [
0.0,
-190.0
],
"radius_mm": 2.0
}
]
}
},
{
"id": "sk_006",
"name": "草图10",
"role": "profile",
"workplane": {
"origin_mm": [
230.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,
0.0
],
"end": [
5.0,
0.0
]
},
{
"type": "line",
"start": [
5.0,
0.0
],
"end": [
5.0,
4.0
]
},
{
"type": "line",
"start": [
5.0,
4.0
],
"end": [
0.0,
4.0
]
},
{
"type": "line",
"start": [
0.0,
4.0
],
"end": [
0.0,
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_004",
"name": "凸台-拉伸1",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_001"
],
"params": {
"distance_mm": 230.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": 10.0,
"reverse": false,
"end_condition": {
"type": "through_next",
"solidworks_code": 9
},
"reverse_distance_mm": 0.0,
"reverse_end_condition": {
"type": "through_all",
"solidworks_code": 1
}
},
"execution_status": "deferred",
"sketch_id": "sk_003"
},
{
"id": "f_008",
"name": "M4 螺纹孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004"
],
"params": {
"hole_type": "螺纹孔",
"diameter_mm": 4.0,
"depth_mm": 23.0,
"end_condition": {
"solidworks_code": 1,
"type": "through_all"
},
"positions": [
{
"mm": [
-165.0,
2.0,
0.0
]
},
{
"mm": [
-115.0,
2.0,
0.0
]
},
{
"mm": [
-65.0,
2.0,
0.0
]
}
],
"thread": {
"diameter_mm": 4.0,
"depth_mm": 23.0,
"class": "1B"
}
},
"execution_status": "deferred",
"unresolved": [
"hole has no captured semantic selections"
]
},
{
"id": "f_006",
"name": "切除-拉伸2",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_005",
"f_004"
],
"params": {
"distance_mm": 2.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "supported",
"sketch_id": "sk_004"
},
{
"id": "f_009",
"name": "切除-拉伸6",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_004",
"f_005"
],
"params": {
"distance_mm": 5.0,
"reverse": false,
"end_condition": {
"type": "through_next",
"solidworks_code": 9
},
"reverse_distance_mm": 0.0,
"reverse_end_condition": {
"type": "through_all",
"solidworks_code": 1
}
},
"execution_status": "deferred",
"sketch_id": "sk_006"
},
{
"id": "f_007",
"name": "切除-拉伸3",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_006",
"f_004"
],
"params": {
"distance_mm": 13.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "supported",
"sketch_id": "sk_005"
}
],
"meta": {
"unit": "mm",
"source": "173597.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete_with_blockers",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.04370627781703429,
"volume": 4.28492919774846e-05,
"surface_area": 0.020877191559193486,
"center_of_mass": [
5.907021174557268e-18,
-0.000760042882191309,
0.11499999999999999
],
"principal_moments": [
3.2198430375598395e-06,
0.00019380799089660535,
0.0001959053288690916
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.0115,
-0.005999999999999999,
0.0,
0.011500000000000002,
0.006000000000000002,
0.22999999999999998
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "切除-拉伸6",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAYAAABsAAAAawAAAGgAAABnAAAAZgAAAGUAAAA=",
"persist_reference_sha256": "55b8ff25e3eb41f786dd26527d67566ebe2cac436cd41b0bdf38624c40129e31",
"component": null,
"geometry": {
"box": [
-0.0115,
-0.005999999999999999,
0.0,
0.011500000000000002,
0.006000000000000002,
0.22999999999999998
],
"face_count": 22,
"edge_count": 44,
"vertex_count": 16
},
"stable_id": "55b8ff25e3eb41f786dd26527d67566ebe2cac436cd41b0bdf38624c40129e31"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 32,
"surface_counts": {
"cylinder": 20,
"plane": 12
},
"axis_count": 20,
"repeat_spacings_mm": [
{
"spacing_mm": 50.0,
"pair_count": 2
},
{
"spacing_mm": 127.0643,
"pair_count": 2
},
{
"spacing_mm": 33.8429,
"pair_count": 2
},
{
"spacing_mm": 125.7066,
"pair_count": 2
},
{
"spacing_mm": 28.3221,
"pair_count": 2
},
{
"spacing_mm": 78.3922,
"pair_count": 2
},
{
"spacing_mm": 76.1718,
"pair_count": 2
},
{
"spacing_mm": 150.0,
"pair_count": 2
},
{
"spacing_mm": 13.0,
"pair_count": 2
},
{
"spacing_mm": 150.5623,
"pair_count": 2
}
],
"metrics": {
"bounding_box_mm": [
-11.5,
-6.0,
0.0,
11.5,
6.0,
230.0
],
"volume_mm3": 42849.291977485,
"surface_area_mm2": 20877.191559193,
"solid_count": 1,
"face_count": 32,
"edge_count": 84,
"vertex_count": 56
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-11.5,
-6.0,
0.0,
11.5,
6.0,
230.0
],
"volume_mm3": 42849.291977485,
"surface_area_mm2": 20877.191559193,
"solid_count": 1,
"face_count": 22,
"edge_count": 44,
"vertex_count": 16
},
"comparisons": {
"volume_mm3": {
"expected": 42849.291977485,
"actual": 42849.291977485,
"absolute_delta": 0.0,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 20877.191559193,
"actual": 20877.191559193,
"absolute_delta": 0.0,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-11.5,
-6.0,
0.0,
11.5,
6.0,
230.0
],
"actual": [
-11.5,
-6.0,
0.0,
11.5,
6.0,
230.0
],
"max_absolute_delta": 0.0,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 22,
"actual": 32,
"matches": false
},
"edge_count": {
"expected": 44,
"actual": 84,
"matches": false
},
"vertex_count": {
"expected": 16,
"actual": 56,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}