Files
cdsl-cad/json_to_cdsl/output/CA2YC100-500_Nuts.cdsl.json
T
2026-08-24 14:52:08 +08:00

678 lines
15 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "CA2YC100-500_Nuts",
"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": "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": "analytic_contours",
"contours": [
{
"role": "outer",
"closed": true,
"segments": [
{
"type": "line",
"start": [
-8.0,
13.0
],
"end": [
-8.0,
20.5
]
},
{
"type": "line",
"start": [
-8.0,
20.5
],
"end": [
-6.181346652,
23.65
]
},
{
"type": "line",
"start": [
-6.181346652,
23.65
],
"end": [
6.181346652,
23.65
]
},
{
"type": "line",
"start": [
6.181346652,
23.65
],
"end": [
8.0,
20.5
]
},
{
"type": "line",
"start": [
8.0,
20.5
],
"end": [
8.0,
13.0
]
},
{
"type": "line",
"start": [
8.0,
13.0
],
"end": [
-8.0,
13.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
0.0,
-17.115667915
]
},
{
"type": "line",
"start": [
-27.389186195,
0.0
],
"end": [
-39.775458492,
0.0
]
}
]
}
},
{
"id": "sk_003",
"name": "Sketch3",
"role": "profile",
"workplane": {
"origin_mm": [
8.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": [
20.4815008,
-11.825
],
"end": [
20.4815008,
11.825
]
},
{
"type": "line",
"start": [
20.4815008,
11.825
],
"end": [
-0.0,
23.65
]
},
{
"type": "line",
"start": [
-0.0,
23.65
],
"end": [
-20.4815008,
11.825
]
},
{
"type": "line",
"start": [
-20.4815008,
11.825
],
"end": [
-20.4815008,
-11.825
]
},
{
"type": "line",
"start": [
-20.4815008,
-11.825
],
"end": [
0.0,
-23.65
]
},
{
"type": "line",
"start": [
0.0,
-23.65
],
"end": [
20.4815008,
-11.825
]
}
]
}
],
"construction": [
{
"type": "circle",
"center": [
0.0,
0.0
],
"radius_mm": 20.4815008
}
]
}
},
{
"id": "sk_004",
"name": "Sketch4",
"role": "profile",
"workplane": {
"origin_mm": [
5.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": "circle",
"center": [
0.0,
0.0
],
"radius_mm": 22.5
}
}
]
},
"features": [
{
"id": "f_001",
"name": "Front",
"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",
"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",
"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": "Body",
"atomic_id": "revolve_add",
"depends_on": [
"f_003"
],
"params": {
"angle_deg": 360.0,
"axis": {
"origin_mm": [
-27.389186195,
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": "72647fb18c7f290ac8c23ea45df91b6bb1e461be806b4fa03916a0b15dfb9705",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"start": [
-0.027389186194820437,
0.0,
0.0
],
"end": [
-0.03977545849170279,
0.0,
0.0
]
}
}
]
},
{
"id": "f_005",
"name": "Hex",
"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": "deferred",
"sketch_id": "sk_003"
},
{
"id": "f_006",
"name": "InnerChamfer",
"atomic_id": "chamfer",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 0.52,
"angle_rad": 0.78539816339745
},
"execution_status": "deferred"
},
{
"id": "f_007",
"name": "TrunnionNutEdgeCut",
"atomic_id": "extrude_cut_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_004"
}
],
"meta": {
"unit": "mm",
"source": "06_流体与密封件/0601_缸体/060102_SMC_CKD气缸型号类/CA2YC100-500_Nuts.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "hybrid_semantic_surfaceir_pending",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.014586947440353408,
"volume": 1.4586947440353408e-05,
"surface_area": 0.005238670698474881,
"center_of_mass": [
3.7091392053551515e-18,
-1.1341380586108248e-18,
2.2844636688430543e-19
],
"principal_moments": [
2.6179674958228753e-06,
2.617980268538851e-06,
4.625911850134682e-06
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.02048150079950198,
-0.023650000000000004,
-0.007999999999999997,
0.020481500799501978,
0.023650000000000004,
0.008
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "InnerChamfer",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAIAAABnAAAAZgAAAA==",
"persist_reference_sha256": "781fb1250063932af81162b6faad7ee6774242f710350a00ef2dedcb00b2a0de",
"component": null,
"geometry": {
"box": [
-0.02048150079950198,
-0.023650000000000004,
-0.007999999999999997,
0.020481500799501978,
0.023650000000000004,
0.008
],
"face_count": 23,
"edge_count": 58,
"vertex_count": 36
},
"stable_id": "781fb1250063932af81162b6faad7ee6774242f710350a00ef2dedcb00b2a0de"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 26,
"surface_counts": {
"cone": 16,
"cylinder": 2,
"plane": 8
},
"axis_count": 18,
"repeat_spacings_mm": [],
"metrics": {
"bounding_box_mm": [
-20.4815009,
-23.6500001,
-8.0000001,
20.4815009,
23.6500001,
8.0000001
],
"volume_mm3": 14586.94233869,
"surface_area_mm2": 5238.671826168,
"solid_count": 1,
"face_count": 26,
"edge_count": 68,
"vertex_count": 44
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-20.4815008,
-23.65,
-8.0,
20.4815008,
23.65,
8.0
],
"volume_mm3": 14586.947440353,
"surface_area_mm2": 5238.670698475,
"solid_count": 1,
"face_count": 23,
"edge_count": 58,
"vertex_count": 36
},
"comparisons": {
"volume_mm3": {
"expected": 14586.947440353,
"actual": 14586.94233869,
"absolute_delta": 0.005101663000459666,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 5238.670698475,
"actual": 5238.671826168,
"absolute_delta": 0.0011276929999439744,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-20.4815008,
-23.65,
-8.0,
20.4815008,
23.65,
8.0
],
"actual": [
-20.4815009,
-23.6500001,
-8.0000001,
20.4815009,
23.6500001,
8.0000001
],
"max_absolute_delta": 1.0000000116860974e-07,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 23,
"actual": 26,
"matches": false
},
"edge_count": {
"expected": 58,
"actual": 68,
"matches": false
},
"vertex_count": {
"expected": 36,
"actual": 44,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}