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

1354 lines
30 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "140904",
"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": "arc",
"start": [
-1.5,
1.322875656
],
"end": [
1.5,
1.322875656
],
"center": [
-0.0,
0.0
],
"radius_mm": 2.0,
"clockwise": false
},
{
"type": "line",
"start": [
1.5,
1.322875656
],
"end": [
1.5,
2.6
]
},
{
"type": "line",
"start": [
1.5,
2.6
],
"end": [
-1.5,
2.6
]
},
{
"type": "line",
"start": [
-1.5,
2.6
],
"end": [
-1.5,
1.322875656
]
}
]
}
]
}
},
{
"id": "sk_003",
"name": "草图2",
"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": [
-23.0,
-2.0
],
"end": [
-24.0,
-2.0
]
},
{
"type": "line",
"start": [
-24.0,
-2.0
],
"end": [
-23.7835,
-1.7835
]
},
{
"type": "line",
"start": [
-23.7835,
-1.7835
],
"end": [
-23.7835,
2.4835
]
},
{
"type": "line",
"start": [
-23.7835,
2.4835
],
"end": [
-24.0,
2.7
]
},
{
"type": "line",
"start": [
-24.0,
2.7
],
"end": [
-23.0,
2.7
]
},
{
"type": "line",
"start": [
-23.0,
2.7
],
"end": [
-23.0,
-2.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
-23.0,
2.7
],
"end": [
-23.0,
-2.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": [
-23.0,
-1.85
],
"end": [
-23.7545,
-1.85
]
},
{
"type": "line",
"start": [
-23.7545,
-1.85
],
"end": [
-24.0,
-1.6045
]
},
{
"type": "line",
"start": [
-24.0,
-1.6045
],
"end": [
-24.0,
3.1545
]
},
{
"type": "line",
"start": [
-24.0,
3.1545
],
"end": [
-23.7545,
3.4
]
},
{
"type": "line",
"start": [
-23.7545,
3.4
],
"end": [
-23.0,
3.4
]
},
{
"type": "line",
"start": [
-23.0,
3.4
],
"end": [
-23.0,
-1.85
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
-23.0,
3.4
],
"end": [
-23.0,
-1.85
]
}
]
}
},
{
"id": "sk_005",
"name": "草图4",
"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": [
-23.3,
2.95
],
"end": [
-22.7,
2.95
]
},
{
"type": "line",
"start": [
-22.7,
2.95
],
"end": [
-22.7,
3.4
]
},
{
"type": "line",
"start": [
-22.7,
3.4
],
"end": [
-23.3,
3.4
]
},
{
"type": "line",
"start": [
-23.3,
3.4
],
"end": [
-23.3,
2.95
]
}
]
}
]
}
},
{
"id": "sk_006",
"name": "草图5",
"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": [
25.0,
0.0
],
"end": [
25.0,
-1.25
]
},
{
"type": "line",
"start": [
25.0,
-1.25
],
"end": [
0.0,
-1.25
]
},
{
"type": "line",
"start": [
0.0,
-1.25
],
"end": [
0.0,
0.0
]
},
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
25.0,
0.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
25.0,
0.0
]
}
]
}
},
{
"id": "sk_007",
"name": "For_Cylinder",
"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": []
}
}
]
},
"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": 25.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
},
"reverse_distance_mm": 25.0,
"reverse_end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_002"
},
{
"id": "f_010",
"name": "基准面2",
"atomic_id": "reference_plane",
"depends_on": [
"f_001"
],
"params": {
"plane": {
"origin_mm": [
0.0,
25.0,
0.0
],
"normal": [
0.0,
1.0,
0.0
],
"x_dir": [
1.0,
0.0,
0.0
]
},
"offset_mm": 25.0,
"angle_rad": 0.0,
"reverse": false,
"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_005",
"name": "基准面1",
"atomic_id": "reference_plane",
"depends_on": [
"f_002"
],
"params": {
"plane": {
"origin_mm": [
0.0,
0.0,
2.6
],
"normal": [
0.0,
0.0,
1.0
],
"x_dir": [
1.0,
0.0,
0.0
]
},
"offset_mm": 2.6,
"angle_rad": 0.0,
"reverse": false,
"solidworks_type": 5,
"references": [
{
"kind": "plane",
"stable_id": "3a59788dcc6fc4588146380df745485f1125d10e3ba413489a3142d9f9beb78a",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_002"
}
]
},
"execution_status": "deferred",
"selectors": [
{
"kind": "plane",
"stable_id": "3a59788dcc6fc4588146380df745485f1125d10e3ba413489a3142d9f9beb78a",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_002"
}
]
},
{
"id": "f_011",
"name": "For_Cylinder XY",
"atomic_id": "reference_plane",
"depends_on": [
"f_010"
],
"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": -1
},
"execution_status": "deferred"
},
{
"id": "f_006",
"name": "切除-旋转1",
"atomic_id": "revolve_cut",
"depends_on": [
"f_003",
"f_004"
],
"params": {
"angle_deg": 360.0,
"axis": {
"origin_mm": [
-23.0,
2.7,
0.0
],
"direction": [
0.0,
-1.0,
0.0
]
},
"reverse": true,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_003",
"selectors": [
{
"kind": "axis",
"stable_id": "3ee19b35d9634d0a9807b09ac40c6815ab5ed3b87d1fbbb203e087bfbeed863c",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"start": [
-0.023,
0.0027,
0.0
],
"end": [
-0.023,
-0.002,
0.0
]
}
}
]
},
{
"id": "f_007",
"name": "旋转1",
"atomic_id": "revolve_add",
"depends_on": [
"f_003",
"f_004"
],
"params": {
"angle_deg": 360.0,
"axis": {
"origin_mm": [
-23.0,
3.4,
0.0
],
"direction": [
0.0,
-1.0,
0.0
]
},
"reverse": true,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_004",
"selectors": [
{
"kind": "axis",
"stable_id": "a70f8409991f2cbc44e4da5bbf99847036db500e93b90c76dd095d64b35ef20e",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"start": [
-0.023,
0.003400000000000006,
0.0
],
"end": [
-0.023,
-0.00185,
0.0
]
}
}
]
},
{
"id": "f_008",
"name": "切除-拉伸1",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_003",
"f_004"
],
"params": {
"distance_mm": 2.5,
"reverse": true,
"end_condition": {
"type": "blind",
"solidworks_code": 0
},
"reverse_distance_mm": 2.5,
"reverse_end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_005"
},
{
"id": "f_009",
"name": "旋转2",
"atomic_id": "revolve_add",
"depends_on": [
"f_003",
"f_004"
],
"params": {
"angle_deg": 360.0,
"axis": {
"origin_mm": [
0.0,
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_006",
"selectors": [
{
"kind": "axis",
"stable_id": "a0c53fc2b46919b677f44c0c7f8e20070ef964a41c2b7074d38ab1552131fab9",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"start": [
0.0,
0.0,
0.0
],
"end": [
0.025,
0.0,
0.0
]
}
}
]
},
{
"id": "f_012",
"name": "For_Cylinder XZ",
"atomic_id": "reference_plane",
"depends_on": [
"f_011"
],
"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": -1
},
"execution_status": "deferred"
},
{
"id": "f_013",
"name": "For_Cylinder YZ",
"atomic_id": "reference_plane",
"depends_on": [
"f_012"
],
"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": -1
},
"execution_status": "deferred"
},
{
"id": "f_014",
"name": "For_Cylinder X",
"atomic_id": "reference_axis",
"depends_on": [
"f_011",
"f_012"
],
"params": {
"axis": {
"selector": {
"kind": "feature",
"stable_id": "dec70ab07150863bed4f26d09b0c2824998255f1fc75b887d180a47f16abc41e",
"source": "solidworks",
"confidence": 1.0
}
}
},
"execution_status": "deferred",
"selectors": [
{
"kind": "feature",
"stable_id": "dec70ab07150863bed4f26d09b0c2824998255f1fc75b887d180a47f16abc41e",
"source": "solidworks",
"confidence": 1.0
},
{
"kind": "plane",
"stable_id": "dec70ab07150863bed4f26d09b0c2824998255f1fc75b887d180a47f16abc41e",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_011"
},
{
"kind": "plane",
"stable_id": "1ab8b27fd930f1c3f28643382a53ca1d573bfa50160919e03762425de3c441bd",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_012"
}
]
},
{
"id": "f_015",
"name": "For_Cylinder Y",
"atomic_id": "reference_axis",
"depends_on": [
"f_011",
"f_013"
],
"params": {
"axis": {
"selector": {
"kind": "feature",
"stable_id": "dec70ab07150863bed4f26d09b0c2824998255f1fc75b887d180a47f16abc41e",
"source": "solidworks",
"confidence": 1.0
}
}
},
"execution_status": "deferred",
"selectors": [
{
"kind": "feature",
"stable_id": "dec70ab07150863bed4f26d09b0c2824998255f1fc75b887d180a47f16abc41e",
"source": "solidworks",
"confidence": 1.0
},
{
"kind": "plane",
"stable_id": "dec70ab07150863bed4f26d09b0c2824998255f1fc75b887d180a47f16abc41e",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_011"
},
{
"kind": "plane",
"stable_id": "60c7f5d6377056c5d92c78b4786a77b4059ec5c30b656d39e6d5f08637836268",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_013"
}
]
},
{
"id": "f_016",
"name": "For_Cylinder Z",
"atomic_id": "reference_axis",
"depends_on": [
"f_013",
"f_012"
],
"params": {
"axis": {
"selector": {
"kind": "feature",
"stable_id": "60c7f5d6377056c5d92c78b4786a77b4059ec5c30b656d39e6d5f08637836268",
"source": "solidworks",
"confidence": 1.0
}
}
},
"execution_status": "deferred",
"selectors": [
{
"kind": "feature",
"stable_id": "60c7f5d6377056c5d92c78b4786a77b4059ec5c30b656d39e6d5f08637836268",
"source": "solidworks",
"confidence": 1.0
},
{
"kind": "plane",
"stable_id": "60c7f5d6377056c5d92c78b4786a77b4059ec5c30b656d39e6d5f08637836268",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_013"
},
{
"kind": "plane",
"stable_id": "1ab8b27fd930f1c3f28643382a53ca1d573bfa50160919e03762425de3c441bd",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_012"
}
]
}
],
"meta": {
"unit": "mm",
"source": "140904.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete_with_blockers",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.0004990415494886069,
"volume": 4.99041549488607e-07,
"surface_area": 0.0006000690954467368,
"center_of_mass": [
9.819767396372971e-10,
0.0002755918123184081,
0.006385484667664608
],
"principal_moments": [
1.0375711186005721e-09,
8.45526717399435e-08,
8.475479907521538e-08
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.002,
-0.0019999999999999996,
-0.025,
0.002,
0.003400000000000006,
0.025
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "旋转2",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAUAAABuAAAAbQAAAGwAAABrAAAAagAAAA==",
"persist_reference_sha256": "caf919f6293620a1ba224ee3f6f6f70df79033cadb172cef982d8e85edfafca6",
"component": null,
"geometry": {
"box": [
-0.002,
-0.0019999999999999996,
-0.025,
0.002,
0.003400000000000006,
0.025
],
"face_count": 19,
"edge_count": 36,
"vertex_count": 20
},
"stable_id": "caf919f6293620a1ba224ee3f6f6f70df79033cadb172cef982d8e85edfafca6"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 26,
"surface_counts": {
"cone": 7,
"cylinder": 7,
"plane": 12
},
"axis_count": 14,
"repeat_spacings_mm": [],
"metrics": {
"bounding_box_mm": [
-2.0000001,
-2.0000001,
-25.0,
2.0000001,
3.4000001,
25.0000001
],
"volume_mm3": 499.041685293,
"surface_area_mm2": 600.069097012,
"solid_count": 1,
"face_count": 26,
"edge_count": 60,
"vertex_count": 39
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-2.0,
-2.0,
-25.0,
2.0,
3.4,
25.0
],
"volume_mm3": 499.041549489,
"surface_area_mm2": 600.069095447,
"solid_count": 1,
"face_count": 19,
"edge_count": 36,
"vertex_count": 20
},
"comparisons": {
"volume_mm3": {
"expected": 499.041549489,
"actual": 499.041685293,
"absolute_delta": 0.00013580400002410897,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 600.069095447,
"actual": 600.069097012,
"absolute_delta": 1.565000047776266e-06,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-2.0,
-2.0,
-25.0,
2.0,
3.4,
25.0
],
"actual": [
-2.0000001,
-2.0000001,
-25.0,
2.0000001,
3.4000001,
25.0000001
],
"max_absolute_delta": 1.0000000116860974e-07,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 19,
"actual": 26,
"matches": false
},
"edge_count": {
"expected": 36,
"actual": 60,
"matches": false
},
"vertex_count": {
"expected": 20,
"actual": 39,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}