Based on the lever set function and the augmented Lagrange multiplier method, the topology optimization design of structure was achieved and the final cloud data were saved in matrix. The trigonometric patch method was explored to approach the optimized level set surface and the boundary data extraction was realized by each ridge line parametric equation. Together with the standards of the digital manufacturing, the cloud data were sorted through programming and exported by complying with the data format of digital manufacturing. The Wire Electrical Discharge Machining was proposed here to achieve the manufacturing on G01 code, which was proved to be practical by NC Viewer. This process fulfilled the whole courses from topology optimization to digital manufacturing, which makes the foundation for the promotion and large-scale production of topology optimization in future.