Files
cdsl-cad/json_to_cdsl/output/CG1BN32-50_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": "CG1BN32-50_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": [
-3.0,
5.0
],
"end": [
-3.0,
8.5
]
},
{
"type": "line",
"start": [
-3.0,
8.5
],
"end": [
-2.24944465,
9.8
]
},
{
"type": "line",
"start": [
-2.24944465,
9.8
],
"end": [
2.24944465,
9.8
]
},
{
"type": "line",
"start": [
2.24944465,
9.8
],
"end": [
3.0,
8.5
]
},
{
"type": "line",
"start": [
3.0,
8.5
],
"end": [
3.0,
5.0
]
},
{
"type": "line",
"start": [
3.0,
5.0
],
"end": [
-3.0,
5.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": [
3.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": [
8.5,
-4.907477288
],
"end": [
8.5,
4.907477288
]
},
{
"type": "line",
"start": [
8.5,
4.907477288
],
"end": [
0.0,
9.814954576
]
},
{
"type": "line",
"start": [
0.0,
9.814954576
],
"end": [
-8.5,
4.907477288
]
},
{
"type": "line",
"start": [
-8.5,
4.907477288
],
"end": [
-8.5,
-4.907477288
]
},
{
"type": "line",
"start": [
-8.5,
-4.907477288
],
"end": [
0.0,
-9.814954576
]
},
{
"type": "line",
"start": [
0.0,
-9.814954576
],
"end": [
8.5,
-4.907477288
]
}
]
}
],
"construction": [
{
"type": "circle",
"center": [
0.0,
0.0
],
"radius_mm": 8.5
}
]
}
},
{
"id": "sk_004",
"name": "Sketch4",
"role": "profile",
"workplane": {
"origin_mm": [
3.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.2,
"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气缸型号类/CG1BN32-50_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.001018498497050058,
"volume": 1.018498497050058e-06,
"surface_area": 0.000854379483840593,
"center_of_mass": [
1.522794243711779e-18,
3.520439370007778e-09,
-3.1793079777809396e-18
],
"principal_moments": [
2.972634177334146e-08,
2.9726545929435197e-08,
5.346211506939355e-08
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.008500000000000004,
-0.009800000000000005,
-0.002999999999999999,
0.008500000000000004,
0.009800000000000005,
0.0029999999999999996
],
"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.008500000000000004,
-0.009800000000000005,
-0.002999999999999999,
0.008500000000000004,
0.009800000000000005,
0.0029999999999999996
],
"face_count": 29,
"edge_count": 64,
"vertex_count": 36
},
"stable_id": "781fb1250063932af81162b6faad7ee6774242f710350a00ef2dedcb00b2a0de"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 32,
"surface_counts": {
"cone": 16,
"cylinder": 8,
"plane": 8
},
"axis_count": 24,
"repeat_spacings_mm": [],
"metrics": {
"bounding_box_mm": [
-8.5000001,
-9.8000001,
-3.0000001,
8.5000001,
9.8000001,
3.0000001
],
"volume_mm3": 1018.487805728,
"surface_area_mm2": 854.376309269,
"solid_count": 1,
"face_count": 32,
"edge_count": 74,
"vertex_count": 44
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-8.5,
-9.8,
-3.0,
8.5,
9.8,
3.0
],
"volume_mm3": 1018.49849705,
"surface_area_mm2": 854.379483841,
"solid_count": 1,
"face_count": 29,
"edge_count": 64,
"vertex_count": 36
},
"comparisons": {
"volume_mm3": {
"expected": 1018.49849705,
"actual": 1018.487805728,
"absolute_delta": 0.010691321999956926,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 854.379483841,
"actual": 854.376309269,
"absolute_delta": 0.003174572000034459,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-8.5,
-9.8,
-3.0,
8.5,
9.8,
3.0
],
"actual": [
-8.5000001,
-9.8000001,
-3.0000001,
8.5000001,
9.8000001,
3.0000001
],
"max_absolute_delta": 9.999999983634211e-08,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 29,
"actual": 32,
"matches": false
},
"edge_count": {
"expected": 64,
"actual": 74,
"matches": false
},
"vertex_count": {
"expected": 36,
"actual": 44,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}