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

718 lines
16 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "134998",
"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": "arc",
"start": [
-160.0,
0.0
],
"end": [
0.0,
-160.0
],
"center": [
0.0,
0.0
],
"radius_mm": 160.0,
"clockwise": false
},
{
"type": "line",
"start": [
0.0,
-160.0
],
"end": [
60.0,
-160.0
]
},
{
"type": "line",
"start": [
60.0,
-160.0
],
"end": [
60.0,
-140.0
]
},
{
"type": "line",
"start": [
60.0,
-140.0
],
"end": [
0.0,
-140.0
]
},
{
"type": "arc",
"start": [
0.0,
-140.0
],
"end": [
-140.0,
0.0
],
"center": [
0.0,
0.0
],
"radius_mm": 140.0,
"clockwise": false
},
{
"type": "line",
"start": [
-140.0,
0.0
],
"end": [
-140.0,
60.0
]
},
{
"type": "line",
"start": [
-140.0,
60.0
],
"end": [
-160.0,
60.0
]
},
{
"type": "line",
"start": [
-160.0,
60.0
],
"end": [
-160.0,
0.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
-1000.0,
0.0
],
"end": [
49000.0,
0.0
]
},
{
"type": "line",
"start": [
0.0,
-1000.0
],
"end": [
-0.0,
49000.0
]
}
]
}
},
{
"id": "sk_003",
"name": "草图4",
"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": [],
"construction": [
{
"type": "circle",
"center": [
0.0,
0.0
],
"radius_mm": 150.0
},
{
"type": "line",
"start": [
-1000.0,
0.0
],
"end": [
49000.0,
0.0
]
},
{
"type": "line",
"start": [
0.0,
-1000.0
],
"end": [
-0.0,
49000.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": 5.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": "fillet",
"depends_on": [
"f_004"
],
"params": {
"radius_mm": 2.0,
"tangent_propagation": false
},
"execution_status": "deferred"
},
{
"id": "f_006",
"name": "M5 六角凹锥坑头螺钉的锥形沉头孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004"
],
"params": {
"hole_type": "六角凹头锥孔头- DIN 7991",
"diameter_mm": 5.5,
"depth_mm": 5.0,
"end_condition": {
"solidworks_code": 1,
"type": "through_all"
},
"positions": [
{
"mm": [
150.0,
45.0,
0.0
]
},
{
"mm": [
150.0,
15.0,
0.0
]
},
{
"mm": [
-15.0,
-150.0,
0.0
]
},
{
"mm": [
-45.0,
-150.0,
0.0
]
}
],
"countersink": {
"diameter_mm": 11.47,
"angle_rad": 1.5707963267948966
}
},
"execution_status": "deferred",
"unresolved": [
"hole has no captured semantic selections"
]
},
{
"id": "f_007",
"name": "M5 六角凹锥坑头螺钉的锥形沉头孔2",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004"
],
"params": {
"hole_type": "六角凹头锥孔头- DIN 7991",
"diameter_mm": 5.5,
"depth_mm": 5.0,
"end_condition": {
"solidworks_code": 1,
"type": "through_all"
},
"positions": [
{
"mm": [
13.073361412,
-149.429204714,
0.0
]
},
{
"mm": [
38.822856765,
-144.888873943,
0.0
]
},
{
"mm": [
149.429204714,
-13.073361412,
0.0
]
},
{
"mm": [
144.888873943,
-38.822856765,
0.0
]
}
],
"countersink": {
"diameter_mm": 11.47,
"angle_rad": 1.5707963267948966
}
},
"execution_status": "deferred",
"sketch_id": "sk_003",
"unresolved": [
"hole has no captured semantic selections"
]
}
],
"meta": {
"unit": "mm",
"source": "134998.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete_with_blockers",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.2632952068275781,
"volume": 3.3755795747125404e-05,
"surface_area": 0.018119007718626918,
"center_of_mass": [
-0.08417713428374973,
-0.08417713428374966,
0.0025390330967081953
],
"principal_moments": [
0.00020103567437835504,
0.0021182345922053747,
0.0023181853683137067
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.16,
-0.16,
-8.673617379884035e-19,
0.06,
0.06,
0.005
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "M5 六角凹锥坑头螺钉的锥形沉头孔2",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAMAAABsAAAAawAAAGoAAAA=",
"persist_reference_sha256": "2db9119400da0ea5cb25d03727526719c18c6bd5ffe1fb84e98a0f4cd5d771fa",
"component": null,
"geometry": {
"box": [
-0.16,
-0.16,
-8.673617379884035e-19,
0.06,
0.06,
0.005
],
"face_count": 30,
"edge_count": 60,
"vertex_count": 24
},
"stable_id": "2db9119400da0ea5cb25d03727526719c18c6bd5ffe1fb84e98a0f4cd5d771fa"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 46,
"surface_counts": {
"cone": 16,
"cylinder": 22,
"plane": 8
},
"axis_count": 38,
"repeat_spacings_mm": [
{
"spacing_mm": 150.0833,
"pair_count": 4
},
{
"spacing_mm": 16.0624,
"pair_count": 4
},
{
"spacing_mm": 44.0227,
"pair_count": 4
},
{
"spacing_mm": 26.1467,
"pair_count": 2
},
{
"spacing_mm": 172.0729,
"pair_count": 2
},
{
"spacing_mm": 237.8058,
"pair_count": 2
},
{
"spacing_mm": 213.9763,
"pair_count": 2
},
{
"spacing_mm": 28.0792,
"pair_count": 2
},
{
"spacing_mm": 58.0762,
"pair_count": 2
},
{
"spacing_mm": 71.7627,
"pair_count": 2
},
{
"spacing_mm": 71.6353,
"pair_count": 2
},
{
"spacing_mm": 253.0921,
"pair_count": 2
}
],
"metrics": {
"bounding_box_mm": [
-160.0,
-160.0,
-0.0,
60.0,
60.0,
5.0
],
"volume_mm3": 33755.795747125,
"surface_area_mm2": 18119.007718627,
"solid_count": 1,
"face_count": 46,
"edge_count": 116,
"vertex_count": 72
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-160.0,
-160.0,
-0.0,
60.0,
60.0,
5.0
],
"volume_mm3": 33755.795747125,
"surface_area_mm2": 18119.007718627,
"solid_count": 1,
"face_count": 30,
"edge_count": 60,
"vertex_count": 24
},
"comparisons": {
"volume_mm3": {
"expected": 33755.795747125,
"actual": 33755.795747125,
"absolute_delta": 0.0,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 18119.007718627,
"actual": 18119.007718627,
"absolute_delta": 0.0,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-160.0,
-160.0,
-0.0,
60.0,
60.0,
5.0
],
"actual": [
-160.0,
-160.0,
-0.0,
60.0,
60.0,
5.0
],
"max_absolute_delta": 0.0,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 30,
"actual": 46,
"matches": false
},
"edge_count": {
"expected": 60,
"actual": 116,
"matches": false
},
"vertex_count": {
"expected": 24,
"actual": 72,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}