Files
cdsl-cad/json_to_cdsl/output/CG1BN50-300.cdsl.json
T
2026-08-24 14:52:08 +08:00

1472 lines
32 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "CG1BN50-300",
"geometry": {
"sketches": [
{
"id": "sk_001",
"name": "原点",
"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": "草图1",
"role": "profile",
"workplane": {
"origin_mm": [
0.0,
1000.0,
-0.0
],
"x_dir": [
1.0,
0.0,
0.0
],
"y_dir": [
-0.0,
-1.0,
0.0
],
"normal": [
0.0,
-0.0,
-1.0
]
},
"profile": {
"type": "analytic_contours",
"contours": [
{
"role": "outer",
"closed": true,
"segments": [
{
"type": "line",
"start": [
29.1,
-211.0
],
"end": [
0.0,
-211.0
]
},
{
"type": "line",
"start": [
0.0,
-211.0
],
"end": [
-0.0,
-238.0
]
},
{
"type": "line",
"start": [
-0.0,
-238.0
],
"end": [
29.1,
-238.0
]
},
{
"type": "line",
"start": [
29.1,
-238.0
],
"end": [
29.1,
-211.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
0.0,
-211.0
],
"end": [
-0.0,
-238.0
]
}
]
}
},
{
"id": "sk_003",
"name": "草图2",
"role": "profile",
"workplane": {
"origin_mm": [
-238.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": "arc",
"start": [
-27.5,
9.516301803
],
"end": [
-27.5,
-9.516301803
],
"center": [
-0.0,
0.0
],
"radius_mm": 29.1,
"clockwise": false
},
{
"type": "line",
"start": [
-27.5,
-9.516301803
],
"end": [
-27.5,
9.516301803
]
}
]
}
]
}
},
{
"id": "sk_004",
"name": "草图3",
"role": "profile",
"workplane": {
"origin_mm": [
-238.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": "arc",
"start": [
27.5,
-9.516301803
],
"end": [
27.5,
9.516301803
],
"center": [
-0.0,
0.0
],
"radius_mm": 29.1,
"clockwise": false
},
{
"type": "line",
"start": [
27.5,
9.516301803
],
"end": [
27.5,
-9.516301803
]
}
]
}
]
}
},
{
"id": "sk_005",
"name": "草图4",
"role": "profile",
"workplane": {
"origin_mm": [
-211.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": 29.0
}
},
{
"id": "sk_006",
"name": "草图5",
"role": "profile",
"workplane": {
"origin_mm": [
-238.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": 15.0
}
},
{
"id": "sk_007",
"name": "草图6",
"role": "profile",
"workplane": {
"origin_mm": [
-225.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": [
15.5,
5.0
],
"end": [
15.5,
0.0
]
},
{
"type": "line",
"start": [
15.5,
0.0
],
"end": [
27.5,
0.0
]
},
{
"type": "line",
"start": [
27.5,
0.0
],
"end": [
27.5,
8.0
]
},
{
"type": "line",
"start": [
27.5,
8.0
],
"end": [
25.5,
8.0
]
},
{
"type": "line",
"start": [
25.5,
8.0
],
"end": [
25.5,
6.0
]
},
{
"type": "line",
"start": [
25.5,
6.0
],
"end": [
18.0,
6.0
]
},
{
"type": "line",
"start": [
18.0,
6.0
],
"end": [
18.0,
5.0
]
},
{
"type": "line",
"start": [
18.0,
5.0
],
"end": [
15.5,
5.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
15.5,
0.0
],
"end": [
27.5,
0.0
]
}
]
}
},
{
"id": "sk_008",
"name": "草图7",
"role": "profile",
"workplane": {
"origin_mm": [
-226.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": [
15.5,
5.0
],
"end": [
15.5,
0.0
]
},
{
"type": "line",
"start": [
15.5,
0.0
],
"end": [
27.5,
0.0
]
},
{
"type": "line",
"start": [
27.5,
0.0
],
"end": [
27.5,
8.0
]
},
{
"type": "line",
"start": [
27.5,
8.0
],
"end": [
25.5,
8.0
]
},
{
"type": "line",
"start": [
25.5,
8.0
],
"end": [
25.5,
6.0
]
},
{
"type": "line",
"start": [
25.5,
6.0
],
"end": [
18.0,
6.0
]
},
{
"type": "line",
"start": [
18.0,
6.0
],
"end": [
18.0,
5.0
]
},
{
"type": "line",
"start": [
18.0,
5.0
],
"end": [
15.5,
5.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
15.5,
0.0
],
"end": [
27.5,
0.0
]
}
]
}
}
]
},
"features": [
{
"id": "f_001",
"name": "前视基准面",
"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": "上视基准面",
"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_012",
"name": "基准面3",
"atomic_id": "reference_plane",
"depends_on": [
"f_001"
],
"params": {
"plane": {
"origin_mm": [
-0.0,
-226.0,
-0.0
],
"normal": [
0.0,
1.0,
0.0
],
"x_dir": [
1.0,
0.0,
0.0
]
},
"offset_mm": 226.0,
"angle_rad": 0.0,
"reverse": true,
"solidworks_type": 5,
"references": [
{
"kind": "plane",
"stable_id": "46665b39295d4001bcbef6f37ec0c75c219ac67a07e32a964234a868b3672da2",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_001"
}
]
},
"execution_status": "deferred",
"selectors": [
{
"kind": "plane",
"stable_id": "46665b39295d4001bcbef6f37ec0c75c219ac67a07e32a964234a868b3672da2",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_001"
}
]
},
{
"id": "f_003",
"name": "右视基准面",
"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": "基准面1",
"atomic_id": "reference_plane",
"depends_on": [
"f_003"
],
"params": {
"plane": {
"origin_mm": [
0.0,
1000.0,
-0.0
],
"x_dir": [
1.0,
0.0,
0.0
],
"y_dir": [
-0.0,
-1.0,
0.0
],
"normal": [
0.0,
-0.0,
-1.0
]
},
"offset_mm": 0.0,
"angle_rad": 0.0,
"reverse": false,
"solidworks_type": -1,
"derived_from_sketch_id": "sk_002"
},
"execution_status": "deferred"
},
{
"id": "f_005",
"name": "旋转1",
"atomic_id": "revolve_add",
"depends_on": [
"f_004"
],
"params": {
"angle_deg": 360.0,
"axis": {
"origin_mm": [
0.0,
-211.0,
0.0
],
"direction": [
-0.0,
-1.0,
0.0
]
},
"reverse": true,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_002",
"selectors": [
{
"kind": "axis",
"stable_id": "893358b2c1579bbdb1c0a6af41f3b9d1c927572e2f45977b7695f15c0a91a5ae",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"start": [
2.5170786082781513e-35,
-0.21099999999999997,
0.0
],
"end": [
-2.363395755889285e-19,
-0.238,
0.0
]
}
}
]
},
{
"id": "f_006",
"name": "切除-拉伸1",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_005"
],
"params": {
"distance_mm": 23.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_003"
},
{
"id": "f_007",
"name": "切除-拉伸2",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_005"
],
"params": {
"distance_mm": 23.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_004"
},
{
"id": "f_008",
"name": "凸台-拉伸1",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_005"
],
"params": {
"distance_mm": 337.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "supported",
"sketch_id": "sk_005"
},
{
"id": "f_009",
"name": "凸台-拉伸2",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_005"
],
"params": {
"distance_mm": 2.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "supported",
"sketch_id": "sk_006"
},
{
"id": "f_013",
"name": "切除-旋转2",
"atomic_id": "revolve_cut",
"depends_on": [
"f_012",
"f_005"
],
"params": {
"angle_deg": 360.0,
"axis": {
"origin_mm": [
15.5,
0.0,
0.0
],
"direction": [
1.0,
0.0,
0.0
]
},
"reverse": true,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_008",
"selectors": [
{
"kind": "axis",
"stable_id": "75db910dadab3ad82864b3cf740cafb4f336f09a26cd4f12d799b4dee9fc04b9",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"start": [
0.01549999999999999,
5.551115123125783e-17,
0.0
],
"end": [
0.027499999999999997,
5.551115123125783e-17,
0.0
]
}
}
]
},
{
"id": "f_014",
"name": "1/4 Rc 螺纹孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_001",
"f_005"
],
"params": {
"hole_type": "锥形管螺纹",
"diameter_mm": 13.157,
"depth_mm": 11.0,
"end_condition": {
"solidworks_code": 0,
"type": "blind"
},
"positions": [
{
"mm": [
-0.0,
29.1,
-224.0
]
}
],
"thread": {
"diameter_mm": 13.157,
"depth_mm": 11.0,
"class": ""
},
"host_face": {
"kind": "face",
"stable_id": "step-face-bd9ea60a13d4d0215a1cb5b8",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
-29.1000001,
-1e-07,
-238.0000001,
29.1000001,
29.1000001,
-210.9999999
],
"center_mm": [
-0.0,
29.1,
-224.5
],
"normal": [
-0.0,
1.0,
0.0
],
"surface_type": "cylinder",
"axis": {
"origin_mm": [
0.0,
0.0,
-211.0
],
"direction": [
-0.0,
0.0,
-1.0
],
"surface_type": "cylinder",
"radius_mm": 29.1
}
}
}
},
"execution_status": "deferred",
"selectors": [
{
"kind": "face",
"stable_id": "step-face-bd9ea60a13d4d0215a1cb5b8",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
-29.1000001,
-1e-07,
-238.0000001,
29.1000001,
29.1000001,
-210.9999999
],
"center_mm": [
-0.0,
29.1,
-224.5
],
"normal": [
-0.0,
1.0,
0.0
],
"surface_type": "cylinder",
"axis": {
"origin_mm": [
0.0,
0.0,
-211.0
],
"direction": [
-0.0,
0.0,
-1.0
],
"surface_type": "cylinder",
"radius_mm": 29.1
}
}
}
]
},
{
"id": "f_016",
"name": "Ø8.0 (8) 直径孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_005"
],
"params": {
"hole_type": "钻孔大小",
"diameter_mm": 8.0,
"depth_mm": 16.0,
"end_condition": {
"solidworks_code": 0,
"type": "blind"
},
"positions": [
{
"mm": [
16.0,
16.0,
0.0
]
},
{
"mm": [
-16.0,
16.0,
0.0
]
},
{
"mm": [
16.0,
-16.0,
0.0
]
},
{
"mm": [
-16.0,
-16.0,
0.0
]
}
]
},
"execution_status": "deferred"
},
{
"id": "f_010",
"name": "基准面2",
"atomic_id": "reference_plane",
"depends_on": [
"f_009"
],
"params": {
"plane": {
"origin_mm": [
-225.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
]
},
"offset_mm": 0.0,
"angle_rad": 0.0,
"reverse": false,
"solidworks_type": -1,
"derived_from_sketch_id": "sk_007"
},
"execution_status": "deferred"
},
{
"id": "f_015",
"name": "M48 六角头螺栓的柱形沉头孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_008"
],
"params": {
"hole_type": "六角螺栓 - ANSI B18.2.3.5M",
"diameter_mm": 50.0,
"depth_mm": 340.5,
"end_condition": {
"solidworks_code": 0,
"type": "blind"
},
"positions": [
{
"mm": [
0.0,
0.0,
0.0
]
}
],
"counterbore": {
"diameter_mm": 20.0,
"depth_mm": 35.5
}
},
"execution_status": "deferred"
},
{
"id": "f_011",
"name": "切除-旋转1",
"atomic_id": "revolve_cut",
"depends_on": [
"f_010",
"f_005"
],
"params": {
"angle_deg": 360.0,
"axis": {
"origin_mm": [
15.5,
0.0,
0.0
],
"direction": [
1.0,
0.0,
0.0
]
},
"reverse": true,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_007",
"selectors": [
{
"kind": "axis",
"stable_id": "829c1b42e0c4dfd5861f751ab8df03aa16b2747aa007d4e2d73afe0e9bed2745",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"start": [
0.015500000000000009,
5.551115123125783e-17,
0.0
],
"end": [
0.027500000000000014,
5.551115123125783e-17,
0.0
]
}
}
]
}
],
"meta": {
"unit": "mm",
"source": "06_流体与密封件/0601_缸体/060102_SMC_CKD气缸型号类/CG1BN50-300缸筒.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "hybrid_semantic_surfaceir_pending",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 2.688706733753496,
"volume": 0.00034470599150685844,
"surface_area": 0.12836850524313043,
"center_of_mass": [
1.6466056725751254e-08,
-0.00011590949712613064,
-0.04746922781953189
],
"principal_moments": [
0.0016566552598240882,
0.04316702001107472,
0.043177040519394395
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.0291,
-0.029100000000000008,
-0.24,
0.0291,
0.029100000000000008,
0.12600000000000006
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "Ø8.0 (8) 直径孔1",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAoAAAByAAAAcQAAAHAAAABvAAAAbgAAAG0AAABsAAAAawAAAGoAAABpAAAA",
"persist_reference_sha256": "b034106ac1188e8218b14a788dfed2fd59d4b8e1fe146bd747e281ff6d2dcbc8",
"component": null,
"geometry": {
"box": [
-0.0291,
-0.029100000000000008,
-0.24,
0.0291,
0.029100000000000008,
0.12600000000000006
],
"face_count": 39,
"edge_count": 45,
"vertex_count": 9
},
"stable_id": "b034106ac1188e8218b14a788dfed2fd59d4b8e1fe146bd747e281ff6d2dcbc8"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 57,
"surface_counts": {
"cone": 4,
"cylinder": 32,
"plane": 21
},
"axis_count": 36,
"repeat_spacings_mm": [
{
"spacing_mm": 32.0,
"pair_count": 4
},
{
"spacing_mm": 364.7026,
"pair_count": 4
},
{
"spacing_mm": 22.7156,
"pair_count": 4
},
{
"spacing_mm": 35.2278,
"pair_count": 4
},
{
"spacing_mm": 45.2548,
"pair_count": 2
},
{
"spacing_mm": 24.9722,
"pair_count": 2
},
{
"spacing_mm": 21.345,
"pair_count": 2
},
{
"spacing_mm": 37.3129,
"pair_count": 2
},
{
"spacing_mm": 20.6216,
"pair_count": 2
},
{
"spacing_mm": 20.0062,
"pair_count": 2
},
{
"spacing_mm": 37.6464,
"pair_count": 2
},
{
"spacing_mm": 49.8599,
"pair_count": 2
}
],
"metrics": {
"bounding_box_mm": [
-29.1000001,
-29.1,
-240.0,
29.1000001,
29.1000001,
126.0
],
"volume_mm3": 344705.692290297,
"surface_area_mm2": 128368.47282111,
"solid_count": 1,
"face_count": 57,
"edge_count": 116,
"vertex_count": 77
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-29.1,
-29.1,
-240.0,
29.1,
29.1,
126.0
],
"volume_mm3": 344705.991506858,
"surface_area_mm2": 128368.50524313,
"solid_count": 1,
"face_count": 39,
"edge_count": 45,
"vertex_count": 9
},
"comparisons": {
"volume_mm3": {
"expected": 344705.991506858,
"actual": 344705.692290297,
"absolute_delta": 0.29921656096121296,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 128368.50524313,
"actual": 128368.47282111,
"absolute_delta": 0.03242201999819372,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-29.1,
-29.1,
-240.0,
29.1,
29.1,
126.0
],
"actual": [
-29.1000001,
-29.1,
-240.0,
29.1000001,
29.1000001,
126.0
],
"max_absolute_delta": 9.999999761589606e-08,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 39,
"actual": 57,
"matches": false
},
"edge_count": {
"expected": 45,
"actual": 116,
"matches": false
},
"vertex_count": {
"expected": 9,
"actual": 77,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}