Files
cdsl-cad/json_to_cdsl/output/C95SB160-400_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": "C95SB160-400_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": [
-10.5,
18.0
],
"end": [
-10.5,
27.5
]
},
{
"type": "line",
"start": [
-10.5,
27.5
],
"end": [
-8.046261356,
31.75
]
},
{
"type": "line",
"start": [
-8.046261356,
31.75
],
"end": [
8.046261356,
31.75
]
},
{
"type": "line",
"start": [
8.046261356,
31.75
],
"end": [
10.5,
27.5
]
},
{
"type": "line",
"start": [
10.5,
27.5
],
"end": [
10.5,
18.0
]
},
{
"type": "line",
"start": [
10.5,
18.0
],
"end": [
-10.5,
18.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": [
10.5,
-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": [
27.49630657,
-15.875
],
"end": [
27.49630657,
15.875
]
},
{
"type": "line",
"start": [
27.49630657,
15.875
],
"end": [
0.0,
31.75
]
},
{
"type": "line",
"start": [
0.0,
31.75
],
"end": [
-27.49630657,
15.875
]
},
{
"type": "line",
"start": [
-27.49630657,
15.875
],
"end": [
-27.49630657,
-15.875
]
},
{
"type": "line",
"start": [
-27.49630657,
-15.875
],
"end": [
0.0,
-31.75
]
},
{
"type": "line",
"start": [
0.0,
-31.75
],
"end": [
27.49630657,
-15.875
]
}
]
}
],
"construction": [
{
"type": "circle",
"center": [
0.0,
0.0
],
"radius_mm": 27.49630657
}
]
}
},
{
"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.72,
"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气缸型号类/C95SB160-400_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.033204621816760975,
"volume": 3.3204621816760974e-05,
"surface_area": 0.009238881003019802,
"center_of_mass": [
1.4113437789090698e-17,
-3.245242455541631e-18,
3.654853346688902e-18
],
"principal_moments": [
1.0846102753797527e-05,
1.0846115989289758e-05,
1.93042994419279e-05
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.02749630657015592,
-0.03175000000000001,
-0.010502132402714717,
0.027496306570155934,
0.03175,
0.010502132402714724
],
"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.02749630657015592,
-0.03175000000000001,
-0.010502132402714715,
0.027496306570155934,
0.03175,
0.010502132402714724
],
"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": [
-27.49630667,
-31.7500001,
-10.5000001,
27.49630667,
31.7500001,
10.5000001
],
"volume_mm3": 33204.537088901,
"surface_area_mm2": 9238.873679444,
"solid_count": 1,
"face_count": 26,
"edge_count": 68,
"vertex_count": 44
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-27.49630657,
-31.75,
-10.502132403,
27.49630657,
31.75,
10.502132403
],
"volume_mm3": 33204.621816761,
"surface_area_mm2": 9238.88100302,
"solid_count": 1,
"face_count": 23,
"edge_count": 58,
"vertex_count": 36
},
"comparisons": {
"volume_mm3": {
"expected": 33204.621816761,
"actual": 33204.537088901,
"absolute_delta": 0.0847278599976562,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 9238.88100302,
"actual": 9238.873679444,
"absolute_delta": 0.00732357600099931,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-27.49630657,
-31.75,
-10.502132403,
27.49630657,
31.75,
10.502132403
],
"actual": [
-27.49630667,
-31.7500001,
-10.5000001,
27.49630667,
31.7500001,
10.5000001
],
"max_absolute_delta": 0.00213230299999978,
"within_tolerance": false
},
"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": false,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}