Files
cdsl-cad/json_to_cdsl/output/6barrel-cap.cdsl.json
T
2026-08-24 14:52:08 +08:00

653 lines
14 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "6barrel-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": [
0.0,
48.25
],
"end": [
40.0,
48.25
]
},
{
"type": "line",
"start": [
40.0,
48.25
],
"end": [
40.0,
57.15
]
},
{
"type": "line",
"start": [
40.0,
57.15
],
"end": [
23.0,
72.5
]
},
{
"type": "line",
"start": [
23.0,
72.5
],
"end": [
-0.0,
72.5
]
},
{
"type": "line",
"start": [
-0.0,
72.5
],
"end": [
0.0,
48.25
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
0.0,
48.25
],
"end": [
0.0,
0.0
]
},
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
84.46875176,
0.0
]
}
]
}
},
{
"id": "sk_003",
"name": "Sketch2",
"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": "annulus",
"center": [
0.0,
0.0
],
"inner_radius_mm": 44.45,
"outer_radius_mm": 50.8
}
},
{
"id": "sk_004",
"name": "Sketch3",
"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": "circle",
"center": [
0.0,
62.5
],
"radius_mm": 5.35
}
}
]
},
"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": [
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": "22316e7a24c8e4dd361293b3e9c2c2b06d851839ff513a0d00d2921cb2d0ad4b",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"start": [
0.0,
0.0,
0.0
],
"end": [
0.08446875175983437,
0.0,
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": "Fillet1",
"atomic_id": "fillet",
"depends_on": [
"f_004"
],
"params": {
"radius_mm": 10.0,
"tangent_propagation": false
},
"execution_status": "deferred"
},
{
"id": "f_006",
"name": "Boss-Extrude1",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 10.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "supported",
"sketch_id": "sk_003"
},
{
"id": "f_007",
"name": "Cut-Extrude1",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 19.45,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "supported",
"sketch_id": "sk_004"
},
{
"id": "f_008",
"name": "Chamfer1",
"atomic_id": "chamfer",
"depends_on": [
"f_007",
"f_004"
],
"params": {
"distance_mm": 1.0,
"angle_rad": 0.3490658503988667
},
"execution_status": "deferred"
}
],
"meta": {
"unit": "mm",
"source": "05_壳体与盖件/0502_端盖/050299_通用端盖/6barrel 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.3098732613133947,
"volume": 0.0003098732613133947,
"surface_area": 0.0598362622224205,
"center_of_mass": [
0.019690808565067955,
-1.1761446481252427e-17,
2.6213664195619342e-18
],
"principal_moments": [
0.0005955885500119793,
0.0005955885500119793,
0.0010990316689389163
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-2.969768487932331e-18,
-0.0725,
-0.0725,
0.05000000000000001,
0.0725,
0.0725
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "CirPattern1",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAQAAABoAAAAZwAAAGYAAABlAAAA",
"persist_reference_sha256": "b5fdc8a80d75492240d2f0abebd3a4cf9537f5703d925dc302bac9d91636edc0",
"component": null,
"geometry": {
"box": [
-2.969768487932331e-18,
-0.0725,
-0.0725,
0.05000000000000001,
0.0725,
0.0725
],
"face_count": 46,
"edge_count": 46,
"vertex_count": 0
},
"stable_id": "b5fdc8a80d75492240d2f0abebd3a4cf9537f5703d925dc302bac9d91636edc0"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 76,
"surface_counts": {
"cone": 26,
"cylinder": 32,
"plane": 16,
"torus": 2
},
"axis_count": 58,
"repeat_spacings_mm": [
{
"spacing_mm": 32.3524,
"pair_count": 24
},
{
"spacing_mm": 62.5,
"pair_count": 24
},
{
"spacing_mm": 88.3883,
"pair_count": 24
},
{
"spacing_mm": 108.2532,
"pair_count": 24
},
{
"spacing_mm": 120.7407,
"pair_count": 24
},
{
"spacing_mm": 37.5627,
"pair_count": 24
},
{
"spacing_mm": 65.3493,
"pair_count": 24
},
{
"spacing_mm": 90.4255,
"pair_count": 24
},
{
"spacing_mm": 109.9228,
"pair_count": 24
},
{
"spacing_mm": 122.2399,
"pair_count": 24
},
{
"spacing_mm": 125.0,
"pair_count": 12
},
{
"spacing_mm": 19.086,
"pair_count": 12
}
],
"metrics": {
"bounding_box_mm": [
-0.0,
-72.5,
-72.5000001,
50.0,
72.5,
72.5
],
"volume_mm3": 309873.261313395,
"surface_area_mm2": 59836.262222421,
"solid_count": 1,
"face_count": 76,
"edge_count": 152,
"vertex_count": 92
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-0.0,
-72.5,
-72.5,
50.0,
72.5,
72.5
],
"volume_mm3": 309873.261313395,
"surface_area_mm2": 59836.26222242,
"solid_count": 1,
"face_count": 46,
"edge_count": 46,
"vertex_count": 0
},
"comparisons": {
"volume_mm3": {
"expected": 309873.261313395,
"actual": 309873.261313395,
"absolute_delta": 0.0,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 59836.26222242,
"actual": 59836.262222421,
"absolute_delta": 9.968061931431293e-10,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-0.0,
-72.5,
-72.5,
50.0,
72.5,
72.5
],
"actual": [
-0.0,
-72.5,
-72.5000001,
50.0,
72.5,
72.5
],
"max_absolute_delta": 9.999999406318238e-08,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 46,
"actual": 76,
"matches": false
},
"edge_count": {
"expected": 46,
"actual": 152,
"matches": false
},
"vertex_count": {
"expected": 0,
"actual": 92,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}