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

878 lines
19 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "Hydraulic-Cylinder-Front-Cap",
"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": [
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": [
-32.5,
0.0
],
"end": [
-32.5,
-8.5
]
},
{
"type": "line",
"start": [
-32.5,
-8.5
],
"end": [
-25.5,
-8.5
]
},
{
"type": "line",
"start": [
-25.5,
-8.5
],
"end": [
-25.5,
-13.5
]
},
{
"type": "line",
"start": [
-25.5,
-13.5
],
"end": [
-32.5,
-13.5
]
},
{
"type": "line",
"start": [
-32.5,
-13.5
],
"end": [
-32.5,
-23.5
]
},
{
"type": "line",
"start": [
-32.5,
-23.5
],
"end": [
-25.5,
-23.5
]
},
{
"type": "line",
"start": [
-25.5,
-23.5
],
"end": [
-25.5,
-59.0
]
},
{
"type": "line",
"start": [
-25.5,
-59.0
],
"end": [
-28.0,
-59.0
]
},
{
"type": "line",
"start": [
-28.0,
-59.0
],
"end": [
-28.0,
-75.0
]
},
{
"type": "line",
"start": [
-28.0,
-75.0
],
"end": [
-25.5,
-75.0
]
},
{
"type": "line",
"start": [
-25.5,
-75.0
],
"end": [
-25.5,
-80.0
]
},
{
"type": "line",
"start": [
-25.5,
-80.0
],
"end": [
-40.0,
-80.0
]
},
{
"type": "line",
"start": [
-40.0,
-80.0
],
"end": [
-40.0,
-55.0
]
},
{
"type": "line",
"start": [
-40.0,
-55.0
],
"end": [
-42.5,
-55.0
]
},
{
"type": "line",
"start": [
-42.5,
-55.0
],
"end": [
-42.5,
-21.0
]
},
{
"type": "line",
"start": [
-42.5,
-21.0
],
"end": [
-40.0,
-21.0
]
},
{
"type": "line",
"start": [
-40.0,
-21.0
],
"end": [
-40.0,
-15.0
]
},
{
"type": "line",
"start": [
-40.0,
-15.0
],
"end": [
-47.5,
-15.0
]
},
{
"type": "line",
"start": [
-47.5,
-15.0
],
"end": [
-47.5,
0.0
]
},
{
"type": "line",
"start": [
-47.5,
0.0
],
"end": [
-32.5,
0.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
0.0,
119.121428571
]
}
]
}
},
{
"id": "sk_003",
"name": "Sketch4",
"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": [
-40.0,
-67.0
],
"end": [
-37.6,
-67.0
]
},
{
"type": "line",
"start": [
-37.6,
-67.0
],
"end": [
-37.6,
-70.0
]
},
{
"type": "line",
"start": [
-37.6,
-70.0
],
"end": [
-40.0,
-70.0
]
},
{
"type": "line",
"start": [
-40.0,
-70.0
],
"end": [
-40.0,
-67.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
0.0,
-80.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_004",
"name": "Revolve1",
"atomic_id": "revolve_add",
"depends_on": [
"f_001"
],
"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_002",
"selectors": [
{
"kind": "axis",
"stable_id": "3467c06939688bd5d084aba1069fb4a33324d5cb94f3a2ac402798bc00130316",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"start": [
0.0,
0.0,
0.0
],
"end": [
0.0,
0.11912142857142903,
0.0
]
}
}
]
},
{
"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_005",
"name": "Ø8.0 (8) Diameter Hole1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004"
],
"params": {
"hole_type": "Drill sizes",
"diameter_mm": 8.0,
"depth_mm": 5.0,
"end_condition": {
"solidworks_code": 0,
"type": "blind"
},
"positions": [
{
"mm": [
0.0,
40.0,
0.0
]
},
{
"mm": [
0.0,
-40.0,
0.0
]
}
]
},
"execution_status": "deferred"
},
{
"id": "f_006",
"name": "Chamfer1",
"atomic_id": "chamfer",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 0.5
},
"execution_status": "deferred"
},
{
"id": "f_007",
"name": "Chamfer2",
"atomic_id": "chamfer",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 5.0
},
"execution_status": "deferred"
},
{
"id": "f_008",
"name": "Cut-Revolve1",
"atomic_id": "revolve_cut",
"depends_on": [
"f_001",
"f_004",
"f_007",
"f_006"
],
"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": "d096e90b3f69d6f4057e3b92c0ea671f1c9a96492bbc22c49070130dfda98b1e",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"start": [
0.0,
0.0,
0.0
],
"end": [
0.0,
-0.07999999999999999,
0.0
]
}
}
]
}
],
"meta": {
"unit": "mm",
"source": "05_壳体与盖件/0502_端盖/050299_通用端盖/Hydraulic Cylinder Front Cap.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "hybrid_semantic_surfaceir_pending",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.25583158154300006,
"volume": 0.00025583158154300005,
"surface_area": 0.050271400450963795,
"center_of_mass": [
-4.041205075772638e-18,
-0.03722299413004508,
-9.071411902109496e-19
],
"principal_moments": [
0.00029477205592225495,
0.00029570519303608934,
0.00033247241974688677
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.0475,
-0.07999999999999999,
-0.0475,
0.0475,
1.734723475976808e-18,
0.0475
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "Cut-Revolve1",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAMAAABnAAAAZgAAAGUAAAA=",
"persist_reference_sha256": "54d5aa819ef1af985be8ba163e06120d88de69aaa7f8169b931a1fc1d3d974ac",
"component": null,
"geometry": {
"box": [
-0.0475,
-0.07999999999999999,
-0.0475,
0.0475,
1.734723475976808e-18,
0.0475
],
"face_count": 36,
"edge_count": 36,
"vertex_count": 2
},
"stable_id": "54d5aa819ef1af985be8ba163e06120d88de69aaa7f8169b931a1fc1d3d974ac"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 60,
"surface_counts": {
"cone": 20,
"cylinder": 28,
"plane": 12
},
"axis_count": 48,
"repeat_spacings_mm": [
{
"spacing_mm": 80.0,
"pair_count": 3
},
{
"spacing_mm": 40.0,
"pair_count": 3
},
{
"spacing_mm": 79.5,
"pair_count": 2
},
{
"spacing_mm": 0.5,
"pair_count": 2
},
{
"spacing_mm": 40.3113,
"pair_count": 2
},
{
"spacing_mm": 89.4427,
"pair_count": 2
},
{
"spacing_mm": 85.0,
"pair_count": 2
},
{
"spacing_mm": 68.0074,
"pair_count": 2
},
{
"spacing_mm": 64.0312,
"pair_count": 2
},
{
"spacing_mm": 88.9958,
"pair_count": 2
},
{
"spacing_mm": 84.5592,
"pair_count": 2
},
{
"spacing_mm": 42.72,
"pair_count": 2
}
],
"metrics": {
"bounding_box_mm": [
-47.5,
-80.0,
-47.5,
47.5,
0.0,
47.5
],
"volume_mm3": 255831.581543,
"surface_area_mm2": 50271.400450964,
"solid_count": 1,
"face_count": 60,
"edge_count": 120,
"vertex_count": 74
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-47.5,
-80.0,
-47.5,
47.5,
0.0,
47.5
],
"volume_mm3": 255831.581543,
"surface_area_mm2": 50271.400450964,
"solid_count": 1,
"face_count": 36,
"edge_count": 36,
"vertex_count": 2
},
"comparisons": {
"volume_mm3": {
"expected": 255831.581543,
"actual": 255831.581543,
"absolute_delta": 0.0,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 50271.400450964,
"actual": 50271.400450964,
"absolute_delta": 0.0,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-47.5,
-80.0,
-47.5,
47.5,
0.0,
47.5
],
"actual": [
-47.5,
-80.0,
-47.5,
47.5,
0.0,
47.5
],
"max_absolute_delta": 0.0,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 36,
"actual": 60,
"matches": false
},
"edge_count": {
"expected": 36,
"actual": 120,
"matches": false
},
"vertex_count": {
"expected": 2,
"actual": 74,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}