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

812 lines
17 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "193612",
"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,
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": "circle",
"center": [
0.0,
0.0
],
"radius_mm": 24.5
}
},
{
"id": "sk_003",
"name": "草图5",
"role": "profile",
"workplane": {
"origin_mm": [
-0.0,
-0.0,
-0.0
],
"x_dir": [
0.0,
0.0,
1.0
],
"y_dir": [
0.707106781,
0.0,
-0.707106781
],
"normal": [
-0.0,
1.0,
0.0
]
},
"profile": {
"type": "analytic_contours",
"contours": [
{
"role": "outer",
"closed": true,
"segments": [
{
"type": "line",
"start": [
24.5,
20.0
],
"end": [
14.5,
20.0
]
},
{
"type": "line",
"start": [
14.5,
20.0
],
"end": [
14.5,
9.9
]
},
{
"type": "line",
"start": [
14.5,
9.9
],
"end": [
24.5,
9.9
]
},
{
"type": "line",
"start": [
24.5,
9.9
],
"end": [
24.5,
20.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
0.0,
28.0
]
}
]
}
},
{
"id": "sk_004",
"name": "草图8",
"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": "circle",
"center": [
0.0,
0.0
],
"radius_mm": 7.5
}
},
{
"id": "sk_005",
"name": "草图9",
"role": "profile",
"workplane": {
"origin_mm": [
-0.0,
-0.0,
-0.0
],
"x_dir": [
0.0,
0.0,
1.0
],
"y_dir": [
0.707106781,
0.0,
-0.707106781
],
"normal": [
-0.0,
1.0,
0.0
]
},
"profile": {
"type": "analytic_contours",
"contours": [
{
"role": "outer",
"closed": true,
"segments": [
{
"type": "line",
"start": [
-7.5,
38.5
],
"end": [
-6.5,
38.5
]
},
{
"type": "line",
"start": [
-6.5,
38.5
],
"end": [
-6.5,
33.5
]
},
{
"type": "line",
"start": [
-6.5,
33.5
],
"end": [
-7.5,
33.5
]
},
{
"type": "line",
"start": [
-7.5,
33.5
],
"end": [
-7.5,
38.5
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
0.0,
48.0
],
"end": [
0.0,
64.112832239
]
}
]
}
},
{
"id": "sk_006",
"name": "草图10",
"role": "profile",
"workplane": {
"origin_mm": [
-0.0,
-0.0,
-0.0
],
"x_dir": [
0.0,
0.0,
1.0
],
"y_dir": [
0.707106781,
0.0,
-0.707106781
],
"normal": [
-0.0,
1.0,
0.0
]
},
"profile": {
"type": "analytic_contours",
"contours": [
{
"role": "outer",
"closed": true,
"segments": [
{
"type": "line",
"start": [
-15.0,
0.0
],
"end": [
-24.5,
3.0
]
},
{
"type": "line",
"start": [
-24.5,
3.0
],
"end": [
-24.5,
0.0
]
},
{
"type": "line",
"start": [
-24.5,
0.0
],
"end": [
-15.0,
0.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
0.0,
17.238455106
]
}
]
}
}
]
},
"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_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_004",
"name": "凸台-拉伸1",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_002"
],
"params": {
"distance_mm": 28.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "supported",
"sketch_id": "sk_002"
},
{
"id": "f_005",
"name": "切除-旋转1",
"atomic_id": "revolve_cut",
"depends_on": [
"f_003",
"f_004"
],
"params": {
"angle_deg": 360.0,
"axis": {
"origin_mm": [
0.0,
0.0,
0.0
],
"direction": [
0.0,
1.0,
0.0
]
},
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_003",
"selectors": [
{
"kind": "axis",
"stable_id": "cdc70335ec7c24d8e6bce0fc29412ec450b31c4cf726e7553c354bea06857d79",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"start": [
0.0,
0.0,
0.0
],
"end": [
0.0,
0.028000000000000004,
0.0
]
}
}
]
},
{
"id": "f_006",
"name": "凸台-拉伸2",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 20.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "supported",
"sketch_id": "sk_004"
},
{
"id": "f_008",
"name": "倒角1",
"atomic_id": "chamfer",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 1.0,
"angle_rad": 0.78539816339745
},
"execution_status": "deferred"
},
{
"id": "f_007",
"name": "切除-旋转2",
"atomic_id": "revolve_cut",
"depends_on": [
"f_003",
"f_004",
"f_006"
],
"params": {
"angle_deg": 360.0,
"axis": {
"origin_mm": [
0.0,
48.0,
0.0
],
"direction": [
0.0,
1.0,
0.0
]
},
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_005",
"selectors": [
{
"kind": "axis",
"stable_id": "c2d0c14110462292d06cb5acdef38db28c89ba9b73836e6cf3db2c6a0d5d0e51",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"start": [
0.0,
0.048,
0.0
],
"end": [
0.0,
0.06411283223880984,
0.0
]
}
}
]
},
{
"id": "f_009",
"name": "倒角2",
"atomic_id": "chamfer",
"depends_on": [
"f_006",
"f_004"
],
"params": {
"distance_mm": 1.0,
"angle_rad": 0.78539816339745
},
"execution_status": "deferred"
}
],
"meta": {
"unit": "mm",
"source": "193612.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete_with_blockers",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.33981508176452035,
"volume": 4.356603612365646e-05,
"surface_area": 0.010684756080423097,
"center_of_mass": [
-2.0200902216448335e-36,
0.015548707409410494,
6.009460591277409e-19
],
"principal_moments": [
8.296791169552803e-05,
8.296794213342013e-05,
8.447921595317265e-05
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.0245,
0.0,
-0.0245,
0.0245,
0.048,
0.0245
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "倒角2",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAQAAABrAAAAagAAAGgAAABlAAAA",
"persist_reference_sha256": "5234e52d28c3daf0bcba5b92e0e47e2f0b0cb008bfba222191d2162a72542e7e",
"component": null,
"geometry": {
"box": [
-0.0245,
0.0,
-0.0245,
0.0245,
0.048,
0.0245
],
"face_count": 16,
"edge_count": 15,
"vertex_count": 0
},
"stable_id": "5234e52d28c3daf0bcba5b92e0e47e2f0b0cb008bfba222191d2162a72542e7e"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 25,
"surface_counts": {
"cone": 6,
"cylinder": 12,
"plane": 7
},
"axis_count": 18,
"repeat_spacings_mm": [],
"metrics": {
"bounding_box_mm": [
-24.5,
0.0,
-24.5,
24.5,
48.0,
24.5
],
"volume_mm3": 43566.036123656,
"surface_area_mm2": 10684.756080423,
"solid_count": 1,
"face_count": 25,
"edge_count": 48,
"vertex_count": 30
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-24.5,
0.0,
-24.5,
24.5,
48.0,
24.5
],
"volume_mm3": 43566.036123656,
"surface_area_mm2": 10684.756080423,
"solid_count": 1,
"face_count": 16,
"edge_count": 15,
"vertex_count": 0
},
"comparisons": {
"volume_mm3": {
"expected": 43566.036123656,
"actual": 43566.036123656,
"absolute_delta": 0.0,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 10684.756080423,
"actual": 10684.756080423,
"absolute_delta": 0.0,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-24.5,
0.0,
-24.5,
24.5,
48.0,
24.5
],
"actual": [
-24.5,
0.0,
-24.5,
24.5,
48.0,
24.5
],
"max_absolute_delta": 0.0,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 16,
"actual": 25,
"matches": false
},
"edge_count": {
"expected": 15,
"actual": 48,
"matches": false
},
"vertex_count": {
"expected": 0,
"actual": 30,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}