| With the growing application of Linux OS (including Embedded Linux) in NC machine tool, more and more researchers and NC machine tool builders have realized that Linux, as an operating system, it has many features such as free open-source, high portability and better security. It will play an important role in the field of Numerical Control and industry automation. It's no doubt that, there would be a great opportunity for the development of software based on Linux. To solve the problem of lack of CAM software for WEDM, this thesis presents a solution of implementation technique for interactive graphic CAM for WEDM.This solution acquires a high performance price ratio product by using Linux as the developer platform which guarantees the portability by using C++/Qt as the development tools, and it can be ported to PC or ARM platforms easily. Following the ideas of functional module design, the software system is systematically studied and analyzed. A series of software modules have been implemented, such as interface for DXF files, data storage and processing, graphic entities manipulating, graphical user interface for CAM parameter settings. In addition, functional module for generating NC code is provided. In order to validate the NC code outputted by the CAM system, a simulation module with an axonometric view of NC trajectory is realized as well.At last, an example with a ruled surface workpiece is processed by the CAM software. The result verifies the feasibility of the software. This work offers a solution of CAM for WEDM with high performance price ratio. Several key techniques for CAM software design based on Linux demonstrate a good example for future work. |