Files
cdsl-cad/json_to_cdsl/output/218393.cdsl.json
T
2026-08-21 11:13:18 +08:00

1556 lines
35 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "218393",
"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,
-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": [
-30.0,
0.0
],
"end": [
30.0,
0.0
]
},
{
"type": "line",
"start": [
30.0,
0.0
],
"end": [
30.0,
-379.3
]
},
{
"type": "line",
"start": [
30.0,
-379.3
],
"end": [
-30.0,
-379.3
]
},
{
"type": "line",
"start": [
-30.0,
-379.3
],
"end": [
-30.0,
0.0
]
}
]
}
]
}
},
{
"id": "sk_003",
"name": "草图2",
"role": "profile",
"workplane": {
"origin_mm": [
12.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": [
-30.0,
0.0
],
"end": [
30.0,
0.0
]
},
{
"type": "line",
"start": [
30.0,
0.0
],
"end": [
30.0,
-15.0
]
},
{
"type": "line",
"start": [
30.0,
-15.0
],
"end": [
-30.0,
-15.0
]
},
{
"type": "line",
"start": [
-30.0,
-15.0
],
"end": [
-30.0,
0.0
]
}
]
}
]
}
},
{
"id": "sk_004",
"name": "草图3",
"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": [
78.0,
-15.0
],
"end": [
78.0,
-30.0
]
},
{
"type": "line",
"start": [
78.0,
-30.0
],
"end": [
27.0,
-315.0
]
},
{
"type": "line",
"start": [
27.0,
-315.0
],
"end": [
12.0,
-315.0
]
},
{
"type": "line",
"start": [
12.0,
-315.0
],
"end": [
12.0,
-15.0
]
},
{
"type": "line",
"start": [
12.0,
-15.0
],
"end": [
78.0,
-15.0
]
}
]
}
]
}
},
{
"id": "sk_005",
"name": "草图4",
"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": "arc",
"start": [
-16.75,
66.0
],
"end": [
-23.25,
66.0
],
"center": [
-20.0,
66.0
],
"radius_mm": 3.25,
"clockwise": false
},
{
"type": "line",
"start": [
-23.25,
66.0
],
"end": [
-23.25,
60.0
]
},
{
"type": "arc",
"start": [
-23.25,
60.0
],
"end": [
-16.75,
60.0
],
"center": [
-20.0,
60.0
],
"radius_mm": 3.25,
"clockwise": false
},
{
"type": "line",
"start": [
-16.75,
60.0
],
"end": [
-16.75,
66.0
]
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "arc",
"start": [
-16.75,
36.0
],
"end": [
-23.25,
36.0
],
"center": [
-20.0,
36.0
],
"radius_mm": 3.25,
"clockwise": false
},
{
"type": "line",
"start": [
-23.25,
36.0
],
"end": [
-23.25,
30.0
]
},
{
"type": "arc",
"start": [
-23.25,
30.0
],
"end": [
-16.75,
30.0
],
"center": [
-20.0,
30.0
],
"radius_mm": 3.25,
"clockwise": false
},
{
"type": "line",
"start": [
-16.75,
30.0
],
"end": [
-16.75,
36.0
]
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "arc",
"start": [
23.25,
66.0
],
"end": [
16.75,
66.0
],
"center": [
20.0,
66.0
],
"radius_mm": 3.25,
"clockwise": false
},
{
"type": "line",
"start": [
16.75,
66.0
],
"end": [
16.75,
60.0
]
},
{
"type": "arc",
"start": [
16.75,
60.0
],
"end": [
23.25,
60.0
],
"center": [
20.0,
60.0
],
"radius_mm": 3.25,
"clockwise": false
},
{
"type": "line",
"start": [
23.25,
60.0
],
"end": [
23.25,
66.0
]
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "arc",
"start": [
23.25,
36.0
],
"end": [
16.75,
36.0
],
"center": [
20.0,
36.0
],
"radius_mm": 3.25,
"clockwise": false
},
{
"type": "line",
"start": [
16.75,
36.0
],
"end": [
16.75,
30.0
]
},
{
"type": "arc",
"start": [
16.75,
30.0
],
"end": [
23.25,
30.0
],
"center": [
20.0,
30.0
],
"radius_mm": 3.25,
"clockwise": false
},
{
"type": "line",
"start": [
23.25,
30.0
],
"end": [
23.25,
36.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
-20.0,
66.0
],
"end": [
-20.0,
60.0
]
},
{
"type": "line",
"start": [
-20.0,
36.0
],
"end": [
-20.0,
30.0
]
},
{
"type": "line",
"start": [
20.0,
66.0
],
"end": [
20.0,
60.0
]
},
{
"type": "line",
"start": [
20.0,
36.0
],
"end": [
20.0,
30.0
]
},
{
"type": "line",
"start": [
0.0,
63.0
],
"end": [
0.0,
78.0
]
},
{
"type": "line",
"start": [
-20.0,
63.0
],
"end": [
20.0,
63.0
]
},
{
"type": "line",
"start": [
-20.0,
63.0
],
"end": [
-20.0,
33.0
]
},
{
"type": "line",
"start": [
-20.0,
33.0
],
"end": [
20.0,
33.0
]
},
{
"type": "line",
"start": [
20.0,
63.0
],
"end": [
20.0,
33.0
]
}
]
}
},
{
"id": "sk_006",
"name": "草图10",
"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": "circles",
"items": [
{
"center": [
20.0,
-63.0
],
"radius_mm": 3.25
},
{
"center": [
-20.0,
-33.0
],
"radius_mm": 3.25
}
]
}
},
{
"id": "sk_007",
"name": "草图11",
"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": [
30.0,
-379.3
],
"end": [
-30.0,
-379.3
]
},
{
"type": "line",
"start": [
-30.0,
-379.3
],
"end": [
-30.0,
-319.3
]
},
{
"type": "line",
"start": [
-30.0,
-319.3
],
"end": [
30.0,
-319.3
]
},
{
"type": "line",
"start": [
30.0,
-319.3
],
"end": [
30.0,
-379.3
]
}
]
}
]
}
}
]
},
"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_004",
"name": "凸台-拉伸1",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_001"
],
"params": {
"distance_mm": 12.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_002"
},
{
"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_005",
"name": "凸台-拉伸2",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 66.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_003"
},
{
"id": "f_006",
"name": "基准面1",
"atomic_id": "reference_plane",
"depends_on": [
"f_004"
],
"params": {
"plane": {
"origin_mm": [
-30.0,
-379.3,
12.0
],
"x_dir": [
0.0,
0.0,
-1.0
],
"normal": [
1.0,
-0.0,
0.0
]
},
"offset_mm": 0.0,
"angle_rad": 0.0,
"reverse": false,
"solidworks_type": 1,
"references": [
{
"kind": "feature",
"stable_id": "7f7d99c2d23a550b0b03d2b69518bed700143861f032acefa7683d20c98b7a39",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_004"
},
{
"kind": "face",
"stable_id": "9e407d0fa9be3b804e2047179411ca70bdf67885ff713f61f9afbcb9a1ebd1c1",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"surface": {
"type": "plane",
"parameters": [
1.0,
-1.829394649065971e-17,
0.0,
-0.030000000000000034,
-0.3793000000000001,
0.012
]
},
"box": [
-0.030000000000000034,
-0.3793000000000001,
0.0,
-0.030000000000000027,
0.0,
0.012
],
"area": 0.004551600000000001
}
},
{
"kind": "face",
"stable_id": "6cd677e7c349ba7b92b448451fb7e99df95c4299b39df39b985c235e0c3d1898",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"surface": {
"type": "plane",
"parameters": [
-1.0,
-1.829394649065971e-17,
0.0,
0.030000000000000027,
0.0,
0.012
]
},
"box": [
0.030000000000000027,
-0.3793000000000001,
0.0,
0.030000000000000034,
0.0,
0.012
],
"area": 0.004551600000000001
}
}
]
},
"execution_status": "deferred",
"selectors": [
{
"kind": "feature",
"stable_id": "7f7d99c2d23a550b0b03d2b69518bed700143861f032acefa7683d20c98b7a39",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_004"
},
{
"kind": "face",
"stable_id": "9e407d0fa9be3b804e2047179411ca70bdf67885ff713f61f9afbcb9a1ebd1c1",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"surface": {
"type": "plane",
"parameters": [
1.0,
-1.829394649065971e-17,
0.0,
-0.030000000000000034,
-0.3793000000000001,
0.012
]
},
"box": [
-0.030000000000000034,
-0.3793000000000001,
0.0,
-0.030000000000000027,
0.0,
0.012
],
"area": 0.004551600000000001
}
},
{
"kind": "face",
"stable_id": "6cd677e7c349ba7b92b448451fb7e99df95c4299b39df39b985c235e0c3d1898",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"surface": {
"type": "plane",
"parameters": [
-1.0,
-1.829394649065971e-17,
0.0,
0.030000000000000027,
0.0,
0.012
]
},
"box": [
0.030000000000000027,
-0.3793000000000001,
0.0,
0.030000000000000034,
0.0,
0.012
],
"area": 0.004551600000000001
}
}
]
},
{
"id": "f_009",
"name": "切除-拉伸2",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 2.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_007"
},
{
"id": "f_007",
"name": "凸台-拉伸3",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_006",
"f_004",
"f_005"
],
"params": {
"distance_mm": 10.0,
"reverse": false,
"end_condition": {
"type": "through_all_and_blind",
"solidworks_code": 6
}
},
"execution_status": "deferred",
"sketch_id": "sk_004"
},
{
"id": "f_008",
"name": "切除-拉伸1",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_005"
],
"params": {
"distance_mm": 0.0,
"reverse": false,
"end_condition": {
"type": "through_all",
"solidworks_code": 1
}
},
"execution_status": "deferred",
"sketch_id": "sk_005"
},
{
"id": "f_010",
"name": "M6 间隙孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_009",
"f_004"
],
"params": {
"hole_type": "螺钉间隙",
"diameter_mm": 6.6,
"depth_mm": 76.0,
"end_condition": {
"solidworks_code": 1,
"type": "through_all"
},
"positions": [
{
"mm": [
-20.0,
-329.3,
0.0
]
},
{
"mm": [
20.0,
-369.3,
0.0
]
},
{
"mm": [
-20.0,
-369.3,
0.0
]
},
{
"mm": [
20.0,
-329.3,
0.0
]
}
]
},
"execution_status": "deferred",
"unresolved": [
"hole has no captured semantic selections"
]
},
{
"id": "f_011",
"name": "M6 螺纹孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004",
"f_009"
],
"params": {
"hole_type": "底部螺纹孔",
"diameter_mm": 6.0,
"depth_mm": 12.0,
"end_condition": {
"solidworks_code": 0,
"type": "blind"
},
"positions": [
{
"mm": [
0.0,
-7.0,
0.0
]
}
],
"thread": {
"diameter_mm": 6.0,
"depth_mm": 12.0,
"class": ""
},
"host_face": {
"kind": "face",
"stable_id": "step-face-99c2ea3ed5d9111d1004774e",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
-30.0,
-319.3,
0.0,
30.0,
0.0,
0.0
],
"center_mm": [
0.0,
-159.65,
0.0
],
"normal": [
0.0,
0.0,
-1.0
],
"surface_type": "plane"
}
}
},
"execution_status": "deferred",
"selectors": [
{
"kind": "face",
"stable_id": "step-face-99c2ea3ed5d9111d1004774e",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
-30.0,
-319.3,
0.0,
30.0,
0.0,
0.0
],
"center_mm": [
0.0,
-159.65,
0.0
],
"normal": [
0.0,
0.0,
-1.0
],
"surface_type": "plane"
}
}
]
}
],
"meta": {
"unit": "mm",
"source": "218393.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete_with_blockers",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 3.4680140198006315,
"volume": 0.000444617182025722,
"surface_area": 0.10160180476030807,
"center_of_mass": [
1.474772579588805e-17,
-0.14795002377655905,
0.019256124734225957
],
"principal_moments": [
0.0018184150717279665,
0.04242291125988376,
0.04273848942919124
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.030000000000000034,
-0.3793000000000001,
0.0,
0.03000000000000025,
0.0,
0.078
],
"solid_body_count": 3,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "切除-拉伸1",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAIAAABuAAAAbAAAAA==",
"persist_reference_sha256": "95f428ff34413a83fb25a1536eb9f78468ed5c622340df94a509e980ab0dec77",
"component": null,
"geometry": {
"box": [
-0.030000000000000027,
-0.015000000000000013,
0.012,
0.03000000000000025,
0.0,
0.078
],
"face_count": 22,
"edge_count": 60,
"vertex_count": 40
},
"stable_id": "95f428ff34413a83fb25a1536eb9f78468ed5c622340df94a509e980ab0dec77"
},
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "凸台-拉伸3",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAEAAABtAAAA",
"persist_reference_sha256": "6c72d34fbb42464762cd27ccf9f2cc06d04ede938aba7ae9f3829460ba6195cd",
"component": null,
"geometry": {
"box": [
-0.005,
-0.315,
0.011999999999999997,
0.005,
-0.015000000000000013,
0.078
],
"face_count": 7,
"edge_count": 15,
"vertex_count": 10
},
"stable_id": "6c72d34fbb42464762cd27ccf9f2cc06d04ede938aba7ae9f3829460ba6195cd"
},
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "M6 螺纹孔1",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAQAAAB5AAAAeAAAAHcAAABrAAAA",
"persist_reference_sha256": "a8910d75b8b0dfb3fe6673e18364551bbcfc472b5dfac2b6c7e54d01f99d93c8",
"component": null,
"geometry": {
"box": [
-0.030000000000000034,
-0.3793000000000001,
0.0,
0.030000000000000034,
0.0,
0.012
],
"face_count": 14,
"edge_count": 28,
"vertex_count": 13
},
"stable_id": "a8910d75b8b0dfb3fe6673e18364551bbcfc472b5dfac2b6c7e54d01f99d93c8"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 53,
"surface_counts": {
"cone": 2,
"cylinder": 22,
"plane": 29
},
"axis_count": 24,
"repeat_spacings_mm": [
{
"spacing_mm": 40.0,
"pair_count": 8
},
{
"spacing_mm": 30.0,
"pair_count": 4
},
{
"spacing_mm": 50.0,
"pair_count": 4
},
{
"spacing_mm": 40.4475,
"pair_count": 4
},
{
"spacing_mm": 6.0,
"pair_count": 4
},
{
"spacing_mm": 53.8145,
"pair_count": 2
},
{
"spacing_mm": 36.0,
"pair_count": 2
},
{
"spacing_mm": 380.5227,
"pair_count": 2
},
{
"spacing_mm": 365.5728,
"pair_count": 2
},
{
"spacing_mm": 330.4883,
"pair_count": 2
},
{
"spacing_mm": 372.5137,
"pair_count": 2
},
{
"spacing_mm": 370.3599,
"pair_count": 2
}
],
"metrics": {
"bounding_box_mm": [
-30.0,
-379.3,
0.0,
30.0,
0.0,
78.0
],
"volume_mm3": 444617.182025722,
"surface_area_mm2": 101601.804760308,
"solid_count": 3,
"face_count": 53,
"edge_count": 137,
"vertex_count": 91
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-30.0,
-379.3,
0.0,
30.0,
0.0,
78.0
],
"volume_mm3": 444617.182025722,
"surface_area_mm2": 101601.804760308,
"solid_count": 3,
"face_count": 43,
"edge_count": 103,
"vertex_count": 63
},
"comparisons": {
"volume_mm3": {
"expected": 444617.182025722,
"actual": 444617.182025722,
"absolute_delta": 0.0,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 101601.804760308,
"actual": 101601.804760308,
"absolute_delta": 0.0,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-30.0,
-379.3,
0.0,
30.0,
0.0,
78.0
],
"actual": [
-30.0,
-379.3,
0.0,
30.0,
0.0,
78.0
],
"max_absolute_delta": 0.0,
"within_tolerance": true
},
"solid_count": {
"expected": 3,
"actual": 3,
"matches": true
},
"face_count": {
"expected": 43,
"actual": 53,
"matches": false
},
"edge_count": {
"expected": 103,
"actual": 137,
"matches": false
},
"vertex_count": {
"expected": 63,
"actual": 91,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}