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

519 lines
12 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "109822",
"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": [
-47.96744073,
25.049316186
],
"end": [
-28.96744073,
25.049316186
]
},
{
"type": "line",
"start": [
-28.96744073,
25.049316186
],
"end": [
-28.96744073,
17.049316186
]
},
{
"type": "line",
"start": [
-28.96744073,
17.049316186
],
"end": [
-47.96744073,
17.049316186
]
},
{
"type": "line",
"start": [
-47.96744073,
17.049316186
],
"end": [
-47.96744073,
25.049316186
]
}
]
}
]
}
}
]
},
"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": 46.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": "Ø4.5 (4.5) 直径孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004"
],
"params": {
"hole_type": "钻孔大小",
"diameter_mm": 4.5,
"depth_mm": 20.0,
"end_condition": {
"solidworks_code": 0,
"type": "blind"
},
"positions": [
{
"mm": [
-32.96744073,
-8.0,
0.0
]
},
{
"mm": [
-32.96744073,
-38.0,
0.0
]
}
]
},
"execution_status": "deferred",
"unresolved": [
"hole has no captured semantic selections"
]
},
{
"id": "f_006",
"name": "Ø4.0 (4) 直径孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004"
],
"params": {
"hole_type": "钻孔大小",
"diameter_mm": 4.0,
"depth_mm": 20.0,
"end_condition": {
"solidworks_code": 0,
"type": "blind"
},
"positions": [
{
"mm": [
-32.96744073,
-18.0,
0.0
]
},
{
"mm": [
-32.96744073,
-28.0,
0.0
]
}
]
},
"execution_status": "deferred",
"unresolved": [
"hole has no captured semantic selections"
]
},
{
"id": "f_007",
"name": "M4 螺纹孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004"
],
"params": {
"hole_type": "底部螺纹孔",
"diameter_mm": 4.0,
"depth_mm": 8.0,
"end_condition": {
"solidworks_code": 0,
"type": "blind"
},
"positions": [
{
"mm": [
40.96744073,
-24.45,
0.0
]
}
],
"thread": {
"diameter_mm": 4.0,
"depth_mm": 8.0,
"class": "1B"
}
},
"execution_status": "deferred",
"unresolved": [
"hole has no captured semantic selections"
]
}
],
"meta": {
"unit": "mm",
"source": "109822.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete_with_blockers",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.0064680451772343,
"volume": 6.4680451772343e-06,
"surface_area": 0.0031672059412515565,
"center_of_mass": [
-0.03882834736552931,
0.021049316185914133,
0.02298466080015302
],
"principal_moments": [
2.292192199105636e-07,
1.204421801070477e-06,
1.3646485390905436e-06
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.047967440730327354,
0.017049316185914133,
0.0,
-0.02896744073032735,
0.025049316185914133,
0.046
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "M4 螺纹孔1",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAQAAABtAAAAbAAAAGsAAABqAAAA",
"persist_reference_sha256": "0e172830ee09352a9c5b62835095238b0d4f99ee8e7c454e8cfc837ccc4cce30",
"component": null,
"geometry": {
"box": [
-0.047967440730327354,
0.017049316185914133,
0.0,
-0.02896744073032735,
0.025049316185914133,
0.046
],
"face_count": 11,
"edge_count": 22,
"vertex_count": 8
},
"stable_id": "0e172830ee09352a9c5b62835095238b0d4f99ee8e7c454e8cfc837ccc4cce30"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 16,
"surface_counts": {
"cylinder": 10,
"plane": 6
},
"axis_count": 10,
"repeat_spacings_mm": [
{
"spacing_mm": 10.0,
"pair_count": 3
},
{
"spacing_mm": 20.0,
"pair_count": 2
}
],
"metrics": {
"bounding_box_mm": [
-47.96744073,
17.049316186,
0.0,
-28.96744073,
25.049316186,
46.0
],
"volume_mm3": 6468.045177234,
"surface_area_mm2": 3167.205941252,
"solid_count": 1,
"face_count": 16,
"edge_count": 42,
"vertex_count": 28
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-47.96744073,
17.049316186,
0.0,
-28.96744073,
25.049316186,
46.0
],
"volume_mm3": 6468.045177234,
"surface_area_mm2": 3167.205941252,
"solid_count": 1,
"face_count": 11,
"edge_count": 22,
"vertex_count": 8
},
"comparisons": {
"volume_mm3": {
"expected": 6468.045177234,
"actual": 6468.045177234,
"absolute_delta": 0.0,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 3167.205941252,
"actual": 3167.205941252,
"absolute_delta": 0.0,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-47.96744073,
17.049316186,
0.0,
-28.96744073,
25.049316186,
46.0
],
"actual": [
-47.96744073,
17.049316186,
0.0,
-28.96744073,
25.049316186,
46.0
],
"max_absolute_delta": 0.0,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 11,
"actual": 16,
"matches": false
},
"edge_count": {
"expected": 22,
"actual": 42,
"matches": false
},
"vertex_count": {
"expected": 8,
"actual": 28,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}