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

859 lines
19 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "054633",
"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": [
-40.0,
175.0
],
"end": [
40.0,
175.0
]
},
{
"type": "line",
"start": [
40.0,
175.0
],
"end": [
40.0,
-175.0
]
},
{
"type": "line",
"start": [
40.0,
-175.0
],
"end": [
-40.0,
-175.0
]
},
{
"type": "line",
"start": [
-40.0,
-175.0
],
"end": [
-40.0,
175.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
-40.0,
175.0
],
"end": [
40.0,
-175.0
]
},
{
"type": "line",
"start": [
-40.0,
-175.0
],
"end": [
40.0,
175.0
]
}
]
}
},
{
"id": "sk_003",
"name": "草图2",
"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": [
40.0,
-175.0
],
"end": [
-40.0,
-175.0
]
},
{
"type": "line",
"start": [
-40.0,
-175.0
],
"end": [
-40.0,
-165.0
]
},
{
"type": "line",
"start": [
-40.0,
-165.0
],
"end": [
40.0,
-165.0
]
},
{
"type": "line",
"start": [
40.0,
-165.0
],
"end": [
40.0,
-175.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": [
-165.0,
70.0
],
"end": [
-155.0,
70.0
]
},
{
"type": "line",
"start": [
-155.0,
70.0
],
"end": [
-90.0,
20.0
]
},
{
"type": "line",
"start": [
-90.0,
20.0
],
"end": [
-90.0,
10.0
]
},
{
"type": "line",
"start": [
-90.0,
10.0
],
"end": [
-165.0,
10.0
]
},
{
"type": "line",
"start": [
-165.0,
10.0
],
"end": [
-165.0,
70.0
]
}
]
}
]
}
},
{
"id": "sk_005",
"name": "草图5",
"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": "circle",
"center": [
0.0,
-55.0
],
"radius_mm": 6.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_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": "extrude_add_blind",
"depends_on": [
"f_002"
],
"params": {
"distance_mm": 10.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_002"
},
{
"id": "f_005",
"name": "凸台-拉伸2",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 60.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": [
40.0,
10.0,
-175.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": "9f20cc618e8e9f49c508db0b5186586876e57d9df9f3caa25ed960e221d976d5",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"surface": {
"type": "plane",
"parameters": [
-1.0,
0.0,
1.189524669241239e-16,
0.039999999999999966,
0.01,
-0.175
]
},
"box": [
0.039999950000000006,
0.0,
-0.17500002499999998,
0.04000005000000001,
0.070000025,
0.175
],
"area": 0.004100000000000003
}
},
{
"kind": "face",
"stable_id": "b83353edbfc736842f31312c571c43e94382d560d94cc936b1b318f8ad11f8b3",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"surface": {
"type": "plane",
"parameters": [
1.0,
0.0,
-1.189524669241239e-16,
-0.040000000000000036,
0.01,
-0.175
]
},
"box": [
-0.04000005000000004,
0.0,
-0.17500002499999998,
-0.039999950000000034,
0.070000025,
0.175
],
"area": 0.0041
}
}
]
},
"execution_status": "deferred",
"selectors": [
{
"kind": "feature",
"stable_id": "7f7d99c2d23a550b0b03d2b69518bed700143861f032acefa7683d20c98b7a39",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_004"
},
{
"kind": "face",
"stable_id": "9f20cc618e8e9f49c508db0b5186586876e57d9df9f3caa25ed960e221d976d5",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"surface": {
"type": "plane",
"parameters": [
-1.0,
0.0,
1.189524669241239e-16,
0.039999999999999966,
0.01,
-0.175
]
},
"box": [
0.039999950000000006,
0.0,
-0.17500002499999998,
0.04000005000000001,
0.070000025,
0.175
],
"area": 0.004100000000000003
}
},
{
"kind": "face",
"stable_id": "b83353edbfc736842f31312c571c43e94382d560d94cc936b1b318f8ad11f8b3",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"surface": {
"type": "plane",
"parameters": [
1.0,
0.0,
-1.189524669241239e-16,
-0.040000000000000036,
0.01,
-0.175
]
},
"box": [
-0.04000005000000004,
0.0,
-0.17500002499999998,
-0.039999950000000034,
0.070000025,
0.175
],
"area": 0.0041
}
}
]
},
{
"id": "f_007",
"name": "凸台-拉伸3",
"atomic_id": "extrude_add_two_sided",
"depends_on": [
"f_006",
"f_004",
"f_005"
],
"params": {
"distance_mm": 5.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
},
"reverse_distance_mm": 5.0,
"reverse_end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_004"
},
{
"id": "f_008",
"name": "切除-拉伸1",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_004",
"f_005"
],
"params": {
"distance_mm": 10.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "supported",
"sketch_id": "sk_005"
}
],
"meta": {
"unit": "mm",
"source": "054633.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 2.7916093591609545,
"volume": 0.0003556190266447076,
"surface_area": 0.08097085742071516,
"center_of_mass": [
3.2177740484870343e-19,
0.011944463451896939,
0.03380222156711328
],
"principal_moments": [
0.001877293327422836,
0.03508273071349421,
0.035955492371203386
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.04000005000000004,
0.0,
-0.17500002499999998,
0.04000005000000001,
0.070000025,
0.175
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "切除-拉伸1",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAQAAABtAAAAbAAAAGsAAABqAAAA",
"persist_reference_sha256": "0e172830ee09352a9c5b62835095238b0d4f99ee8e7c454e8cfc837ccc4cce30",
"component": null,
"geometry": {
"box": [
-0.04000005000000004,
0.0,
-0.17500002499999998,
0.04000005000000001,
0.070000025,
0.175
],
"face_count": 14,
"edge_count": 35,
"vertex_count": 22
},
"stable_id": "0e172830ee09352a9c5b62835095238b0d4f99ee8e7c454e8cfc837ccc4cce30"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 15,
"surface_counts": {
"cylinder": 2,
"plane": 13
},
"axis_count": 2,
"repeat_spacings_mm": [],
"metrics": {
"bounding_box_mm": [
-40.0,
0.0,
-175.0,
40.0,
70.0,
175.0
],
"volume_mm3": 355619.026644708,
"surface_area_mm2": 80970.857420715,
"solid_count": 1,
"face_count": 15,
"edge_count": 39,
"vertex_count": 26
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-40.00005,
0.0,
-175.000025,
40.00005,
70.000025,
175.0
],
"volume_mm3": 355619.026644708,
"surface_area_mm2": 80970.857420715,
"solid_count": 1,
"face_count": 14,
"edge_count": 35,
"vertex_count": 22
},
"comparisons": {
"volume_mm3": {
"expected": 355619.026644708,
"actual": 355619.026644708,
"absolute_delta": 0.0,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 80970.857420715,
"actual": 80970.857420715,
"absolute_delta": 0.0,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-40.00005,
0.0,
-175.000025,
40.00005,
70.000025,
175.0
],
"actual": [
-40.0,
0.0,
-175.0,
40.0,
70.0,
175.0
],
"max_absolute_delta": 5.000000000165983e-05,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 14,
"actual": 15,
"matches": false
},
"edge_count": {
"expected": 35,
"actual": 39,
"matches": false
},
"vertex_count": {
"expected": 22,
"actual": 26,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}