Files
cdsl-cad/json_to_cdsl/output/End-Cap-Cylinder.cdsl.json
T
2026-08-24 14:52:08 +08:00

542 lines
12 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "End-Cap-Cylinder",
"geometry": {
"sketches": [
{
"id": "sk_001",
"name": "Origin",
"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": "Sketch1",
"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": "arc",
"start": [
-3.0,
25.0
],
"end": [
-5.0,
25.0
],
"center": [
-4.0,
25.0
],
"radius_mm": 1.0,
"clockwise": true
},
{
"type": "line",
"start": [
-5.0,
25.0
],
"end": [
-5.0,
29.0
]
},
{
"type": "line",
"start": [
-5.0,
29.0
],
"end": [
-8.5,
32.5
]
},
{
"type": "line",
"start": [
-8.5,
32.5
],
"end": [
-21.0,
32.5
]
},
{
"type": "line",
"start": [
-21.0,
32.5
],
"end": [
-23.0,
30.5
]
},
{
"type": "line",
"start": [
-23.0,
30.5
],
"end": [
-23.0,
7.2225
]
},
{
"type": "line",
"start": [
-23.0,
7.2225
],
"end": [
-21.5,
5.7225
]
},
{
"type": "line",
"start": [
-21.5,
5.7225
],
"end": [
-1.5,
5.7225
]
},
{
"type": "line",
"start": [
-1.5,
5.7225
],
"end": [
0.0,
7.2225
]
},
{
"type": "line",
"start": [
0.0,
7.2225
],
"end": [
-0.0,
24.0
]
},
{
"type": "line",
"start": [
-0.0,
24.0
],
"end": [
-1.0,
25.0
]
},
{
"type": "line",
"start": [
-1.0,
25.0
],
"end": [
-3.0,
25.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
-23.0,
-0.0
]
}
]
}
}
]
},
"features": [
{
"id": "f_001",
"name": "Front Plane",
"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": "Top Plane",
"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": "Right Plane",
"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": "Revolve1",
"atomic_id": "revolve_add",
"depends_on": [
"f_003"
],
"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": "da14e35c724852dcce418d6c484aa6ad4760c5a4ddc3f3ced1acd65bd84d4ee8",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"start": [
0.0,
0.0,
0.0
],
"end": [
-0.022999999999999993,
-3.469446951953614e-18,
0.0
]
}
}
]
}
],
"meta": {
"unit": "mm",
"source": "05_壳体与盖件/0502_端盖/050299_通用端盖/End Cap Cylinder.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "hybrid_semantic_surfaceir_pending",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.06516692911615458,
"volume": 6.516692911615458e-05,
"surface_area": 0.011055950818185958,
"center_of_mass": [
1.2836267961561983e-34,
-1.6995211882710382e-18,
0.012508744047564467
],
"principal_moments": [
1.890740084410057e-05,
1.890740084410057e-05,
3.278476802360222e-05
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.03250000000000007,
-0.03250000000000007,
-3.469446951953614e-18,
0.03250000000000007,
0.03250000000000007,
0.022999999999999993
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "Revolve1",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAEAAABmAAAA",
"persist_reference_sha256": "cbabd1a58c4ce176f1b79ea7ae77077336b82ee9440350646e4a9498993d9e3e",
"component": null,
"geometry": {
"box": [
-0.03250000000000007,
-0.03250000000000007,
-2.0546511672694697e-18,
0.03250000000000007,
0.03250000000000007,
0.022999999999999993
],
"face_count": 12,
"edge_count": 12,
"vertex_count": 0
},
"stable_id": "cbabd1a58c4ce176f1b79ea7ae77077336b82ee9440350646e4a9498993d9e3e"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 23,
"surface_counts": {
"cone": 10,
"cylinder": 6,
"plane": 3,
"torus": 4
},
"axis_count": 16,
"repeat_spacings_mm": [],
"metrics": {
"bounding_box_mm": [
-32.5,
-32.5,
-0.0,
32.5,
32.5,
23.0
],
"volume_mm3": 65166.929116155,
"surface_area_mm2": 11055.950818186,
"solid_count": 1,
"face_count": 23,
"edge_count": 46,
"vertex_count": 26
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-32.5,
-32.5,
-0.0,
32.5,
32.5,
23.0
],
"volume_mm3": 65166.929116155,
"surface_area_mm2": 11055.950818186,
"solid_count": 1,
"face_count": 12,
"edge_count": 12,
"vertex_count": 0
},
"comparisons": {
"volume_mm3": {
"expected": 65166.929116155,
"actual": 65166.929116155,
"absolute_delta": 0.0,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 11055.950818186,
"actual": 11055.950818186,
"absolute_delta": 0.0,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-32.5,
-32.5,
-0.0,
32.5,
32.5,
23.0
],
"actual": [
-32.5,
-32.5,
-0.0,
32.5,
32.5,
23.0
],
"max_absolute_delta": 0.0,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 12,
"actual": 23,
"matches": false
},
"edge_count": {
"expected": 12,
"actual": 46,
"matches": false
},
"vertex_count": {
"expected": 0,
"actual": 26,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}