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

776 lines
17 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "086232",
"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": [
-116.440863054,
161.95
],
"end": [
-111.833627405,
163.074563127
],
"center": [
-116.440863054,
171.95
],
"radius_mm": 10.0,
"clockwise": false
},
{
"type": "line",
"start": [
-111.833627405,
163.074563127
],
"end": [
-46.092764352,
197.200618232
]
},
{
"type": "arc",
"start": [
-46.092764352,
197.200618232
],
"end": [
-40.7,
206.076055105
],
"center": [
-50.7,
206.076055105
],
"radius_mm": 10.0,
"clockwise": true
},
{
"type": "line",
"start": [
-40.7,
206.076055105
],
"end": [
-40.7,
280.0
]
},
{
"type": "line",
"start": [
-40.7,
280.0
],
"end": [
21.0,
280.0
]
},
{
"type": "line",
"start": [
21.0,
280.0
],
"end": [
21.0,
181.0
]
},
{
"type": "line",
"start": [
21.0,
181.0
],
"end": [
26.0,
181.0
]
},
{
"type": "line",
"start": [
26.0,
181.0
],
"end": [
26.0,
145.95
]
},
{
"type": "line",
"start": [
26.0,
145.95
],
"end": [
-130.0,
145.95
]
},
{
"type": "line",
"start": [
-130.0,
145.95
],
"end": [
-130.0,
161.95
]
},
{
"type": "line",
"start": [
-130.0,
161.95
],
"end": [
-116.440863054,
161.95
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
68.542532465,
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": "circles",
"items": [
{
"center": [
93.566099213,
225.888545699
],
"radius_mm": 18.0
},
{
"center": [
158.790047817,
185.919258589
],
"radius_mm": 18.0
},
{
"center": [
208.470520185,
127.750899073
],
"radius_mm": 18.0
},
{
"center": [
237.744445537,
57.077391463
],
"radius_mm": 18.0
},
{
"center": [
243.746288098,
-19.183248905
],
"radius_mm": 18.0
},
{
"center": [
225.888545699,
-93.566099213
],
"radius_mm": 18.0
},
{
"center": [
185.919258589,
-158.790047817
],
"radius_mm": 18.0
},
{
"center": [
127.750899073,
-208.470520185
],
"radius_mm": 18.0
},
{
"center": [
57.077391463,
-237.744445537
],
"radius_mm": 18.0
},
{
"center": [
-19.183248905,
-243.746288098
],
"radius_mm": 18.0
},
{
"center": [
-93.566099213,
-225.888545699
],
"radius_mm": 18.0
},
{
"center": [
-158.790047817,
-185.919258589
],
"radius_mm": 18.0
},
{
"center": [
-208.470520185,
-127.750899073
],
"radius_mm": 18.0
},
{
"center": [
-237.744445537,
-57.077391463
],
"radius_mm": 18.0
},
{
"center": [
-243.746288098,
19.183248905
],
"radius_mm": 18.0
},
{
"center": [
-225.888545699,
93.566099213
],
"radius_mm": 18.0
},
{
"center": [
-185.919258589,
158.790047817
],
"radius_mm": 18.0
},
{
"center": [
-127.750899073,
208.470520185
],
"radius_mm": 18.0
},
{
"center": [
-57.077391463,
237.744445537
],
"radius_mm": 18.0
},
{
"center": [
19.183248905,
243.746288098
],
"radius_mm": 18.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": "revolve_add",
"depends_on": [
"f_001"
],
"params": {
"angle_deg": 360.0,
"axis": {
"origin_mm": [
0.0,
0.0,
0.0
],
"direction": [
1.0,
0.0,
0.0
]
},
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_002",
"selectors": [
{
"kind": "axis",
"stable_id": "1a3b77c40830e0a4ea25a480716f8c1e5945a292e7c7c9c2f80318060b773950",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"start": [
0.0,
0.0,
0.0
],
"end": [
0.06854253246536415,
0.0,
0.0
]
}
}
]
},
{
"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": 0.0,
"reverse": false,
"end_condition": {
"type": "through_all",
"solidworks_code": 1
}
},
"execution_status": "supported",
"sketch_id": "sk_003"
}
],
"meta": {
"unit": "mm",
"source": "086232.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete_with_blockers",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 12.912201953315318,
"volume": 0.012912201953315317,
"surface_area": 0.7801985764690683,
"center_of_mass": [
-0.02398815651638376,
1.1490131849369099e-14,
-1.577669308981247e-14
],
"principal_moments": [
0.2953530646805986,
0.2953530646805986,
0.5615189333621865
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.13,
-0.28,
-0.28,
0.025999999999999995,
0.28,
0.28
],
"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.13,
-0.28,
-0.28,
0.025999999999999995,
0.28,
0.28
],
"face_count": 31,
"edge_count": 51,
"vertex_count": 0
},
"stable_id": "34ad29762598f819b41dfdc8b20ac88fa209776edb068b0aaaeb5ef0b8f72aa7"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 58,
"surface_counts": {
"cone": 2,
"cylinder": 48,
"plane": 4,
"torus": 4
},
"axis_count": 50,
"repeat_spacings_mm": [
{
"spacing_mm": 76.4965,
"pair_count": 20
},
{
"spacing_mm": 151.1093,
"pair_count": 20
},
{
"spacing_mm": 222.0014,
"pair_count": 20
},
{
"spacing_mm": 287.427,
"pair_count": 20
},
{
"spacing_mm": 345.7752,
"pair_count": 20
},
{
"spacing_mm": 395.6093,
"pair_count": 20
},
{
"spacing_mm": 465.0666,
"pair_count": 20
},
{
"spacing_mm": 482.9796,
"pair_count": 20
},
{
"spacing_mm": 435.7022,
"pair_count": 20
},
{
"spacing_mm": 276.912,
"pair_count": 20
},
{
"spacing_mm": 258.497,
"pair_count": 20
},
{
"spacing_mm": 489.0,
"pair_count": 10
}
],
"metrics": {
"bounding_box_mm": [
-130.0,
-280.0,
-280.0,
26.0,
280.0,
280.0
],
"volume_mm3": 12912201.953315318,
"surface_area_mm2": 780198.576469069,
"solid_count": 1,
"face_count": 58,
"edge_count": 156,
"vertex_count": 102
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-130.0,
-280.0,
-280.0,
26.0,
280.0,
280.0
],
"volume_mm3": 12912201.953315318,
"surface_area_mm2": 780198.576469068,
"solid_count": 1,
"face_count": 31,
"edge_count": 51,
"vertex_count": 0
},
"comparisons": {
"volume_mm3": {
"expected": 12912201.953315318,
"actual": 12912201.953315318,
"absolute_delta": 0.0,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 780198.576469068,
"actual": 780198.576469069,
"absolute_delta": 1.0477378964424133e-09,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-130.0,
-280.0,
-280.0,
26.0,
280.0,
280.0
],
"actual": [
-130.0,
-280.0,
-280.0,
26.0,
280.0,
280.0
],
"max_absolute_delta": 0.0,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 31,
"actual": 58,
"matches": false
},
"edge_count": {
"expected": 51,
"actual": 156,
"matches": false
},
"vertex_count": {
"expected": 0,
"actual": 102,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}