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

751 lines
17 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "222550",
"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": [
0.0,
12.4
],
"end": [
0.0,
8.0
]
},
{
"type": "line",
"start": [
0.0,
8.0
],
"end": [
1.0825,
6.9175
]
},
{
"type": "line",
"start": [
1.0825,
6.9175
],
"end": [
11.9175,
6.9175
]
},
{
"type": "line",
"start": [
11.9175,
6.9175
],
"end": [
13.0,
8.0
]
},
{
"type": "line",
"start": [
13.0,
8.0
],
"end": [
13.0,
14.4
]
},
{
"type": "line",
"start": [
13.0,
14.4
],
"end": [
1.5,
14.4
]
},
{
"type": "line",
"start": [
1.5,
14.4
],
"end": [
0.0,
12.4
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
13.0,
0.0
],
"end": [
0.0,
0.0
]
}
]
}
},
{
"id": "sk_003",
"name": "草图2",
"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.0,
13.856406461
],
"end": [
-24.0,
-13.856406461
]
},
{
"type": "line",
"start": [
-24.0,
-13.856406461
],
"end": [
0.0,
-27.712812921
]
},
{
"type": "line",
"start": [
0.0,
-27.712812921
],
"end": [
24.0,
-13.856406461
]
},
{
"type": "line",
"start": [
24.0,
-13.856406461
],
"end": [
24.0,
13.856406461
]
},
{
"type": "line",
"start": [
24.0,
13.856406461
],
"end": [
0.0,
27.712812921
]
},
{
"type": "line",
"start": [
0.0,
27.712812921
],
"end": [
-24.0,
13.856406461
]
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "line",
"start": [
-12.0,
6.92820323
],
"end": [
-12.0,
-6.92820323
]
},
{
"type": "line",
"start": [
-12.0,
-6.92820323
],
"end": [
0.0,
-13.856406461
]
},
{
"type": "line",
"start": [
0.0,
-13.856406461
],
"end": [
12.0,
-6.92820323
]
},
{
"type": "line",
"start": [
12.0,
-6.92820323
],
"end": [
12.0,
6.92820323
]
},
{
"type": "line",
"start": [
12.0,
6.92820323
],
"end": [
0.0,
13.856406461
]
},
{
"type": "line",
"start": [
0.0,
13.856406461
],
"end": [
-12.0,
6.92820323
]
}
]
}
]
}
}
]
},
"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": "reference_plane",
"depends_on": [
"f_003"
],
"params": {
"plane": {
"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
]
},
"offset_mm": 0.0,
"angle_rad": 0.0,
"reverse": false,
"solidworks_type": -1,
"derived_from_sketch_id": "sk_002"
},
"execution_status": "deferred"
},
{
"id": "f_005",
"name": "旋转1",
"atomic_id": "revolve_add",
"depends_on": [
"f_004"
],
"params": {
"angle_deg": 360.0,
"axis": {
"origin_mm": [
13.0,
0.0,
0.0
],
"direction": [
-1.0,
0.0,
0.0
]
},
"reverse": true,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_002",
"selectors": [
{
"kind": "axis",
"stable_id": "2c67a8ab8f7757020cc4d67cdc4ec169bfb340b03dbdc19f054e6ba68a73b061",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"start": [
0.013,
0.0,
0.0
],
"end": [
0.0,
0.0,
0.0
]
}
}
]
},
{
"id": "f_006",
"name": "基准面2",
"atomic_id": "reference_plane",
"depends_on": [
"f_005"
],
"params": {
"plane": {
"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
]
},
"offset_mm": 0.0,
"angle_rad": 0.0,
"reverse": false,
"solidworks_type": -1,
"derived_from_sketch_id": "sk_003"
},
"execution_status": "deferred"
},
{
"id": "f_007",
"name": "切除-拉伸1",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_006",
"f_005"
],
"params": {
"distance_mm": 13.0,
"reverse": true,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_003"
}
],
"meta": {
"unit": "mm",
"source": "222550.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete_with_blockers",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.004467972503682274,
"volume": 4.467972503682273e-06,
"surface_area": 0.0022749740398762043,
"center_of_mass": [
0.006512468664219003,
-2.1603329676088248e-19,
-1.1860247113876743e-18
],
"principal_moments": [
2.952497705668887e-07,
2.952497705668887e-07,
4.6763951423140904e-07
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
0.0,
-0.013856406460551004,
-0.012,
0.013,
0.013856406460551,
0.012
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "切除-拉伸1",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAIAAABmAAAAZQAAAA==",
"persist_reference_sha256": "34ad29762598f819b41dfdc8b20ac88fa209776edb068b0aaaeb5ef0b8f72aa7",
"component": null,
"geometry": {
"box": [
0.0,
-0.013856406460551004,
-0.012,
0.013,
0.013856406460551,
0.012
],
"face_count": 17,
"edge_count": 40,
"vertex_count": 24
},
"stable_id": "34ad29762598f819b41dfdc8b20ac88fa209776edb068b0aaaeb5ef0b8f72aa7"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 20,
"surface_counts": {
"cone": 10,
"cylinder": 2,
"plane": 8
},
"axis_count": 12,
"repeat_spacings_mm": [],
"metrics": {
"bounding_box_mm": [
-1e-07,
-13.856406561,
-12.0000001,
13.0000001,
13.856406561,
12.0000001
],
"volume_mm3": 4467.974238889,
"surface_area_mm2": 2274.974409277,
"solid_count": 1,
"face_count": 20,
"edge_count": 50,
"vertex_count": 32
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
0.0,
-13.856406461,
-12.0,
13.0,
13.856406461,
12.0
],
"volume_mm3": 4467.972503682,
"surface_area_mm2": 2274.974039876,
"solid_count": 1,
"face_count": 17,
"edge_count": 40,
"vertex_count": 24
},
"comparisons": {
"volume_mm3": {
"expected": 4467.972503682,
"actual": 4467.974238889,
"absolute_delta": 0.001735206999910588,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 2274.974039876,
"actual": 2274.974409277,
"absolute_delta": 0.00036940100017091027,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
0.0,
-13.856406461,
-12.0,
13.0,
13.856406461,
12.0
],
"actual": [
-1e-07,
-13.856406561,
-12.0000001,
13.0000001,
13.856406561,
12.0000001
],
"max_absolute_delta": 1e-07,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 17,
"actual": 20,
"matches": false
},
"edge_count": {
"expected": 40,
"actual": 50,
"matches": false
},
"vertex_count": {
"expected": 24,
"actual": 32,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}