| At present,the working mode of the desktop 3D printer is to slice the 3D model by the computer that is connected to the printer.And then the computer sends the generated slice data to the 3D printer,and finish printing.As the slice processing is on the computer,leaving the computer,the 3D printer cannot work independently,causing great inconvenience to users.For the present situation,this thesis designs a set of desktop 3D printer system with automatic slice function based on embedded platform.The 3D printer can slice the 3D model directly to complete the printing without an external computer.The system has a friendly human-computer interaction interface to support the manual control of the printer equipment,real-time monitoring of the printing process,model format conversion,model integrity detection and model repair.Firstly,this thesis gives the overall design scheme of the system based on the analysis of system requirements.And then it analyzes the key techniques of STL model stratification,coordinates transformation based on parallel arm structure and PID temperature control principle.In order to realize the hierarchical slice function,the thesis selects the hierarchical slicing algorithm based on the geometric features of the triangular patches by comparing the slice efficiency and algorithm design complexity.In thesis,it analyzes the principle of slice in detail.Aiming at the shortcomings of the algorithm,the thesis puts forward measures to improve the efficiency of slicing.Secondly,this thesis designs the hardware and software of system in detail.The hardware part completes the stepping motor drive circuit and the temperature control circuit design on the basis of the master chip.The software part completes the design and implementation of three modules,such as system interface management module,3D hierarchical slice module and printing control module.The system interface management module provides a visual interface;The 3D hierarchical slices are mainly used to deal with the slice processing of STL format model to achieve the integration of slicing and printing;Printing control module mainly completes the control of the printer equipment to achieve the printing function.Finally,the test environment is set up to test the function of the desktop 3D printer system.By analyzing the test results,the desktop 3D printer system in this thesis is highly stable,and the 3D model entity surface is smooth and the structure is solid,achieving the expected design goals. |