| As a new manufacturing technology,3D printing has developed rapidly in recent years and has been widely used in various fields.In order to reduce the cost of 3D printing,the printing model is filled with a lightweight structure.There are many pores inside the model,which causes the printing nozzle to perform too many start-stop actions during the manufacturing process,resulting in more empty shapes and increasing the printing time.Reasonable path planning methods can improve printing quality and efficiency.For this reason,this paper will study the path planning problem of filling lightweight structural models.Aiming at the above problems,this paper proposes a continuous path planning method based on Hierholzer algorithm.According to the solution of the Chinese postman problem,the algorithm regards the slice of the model filled with the lightweight structure as a graph,after preprocessing,it constructs the Euler path by deleting and adding extra print edges,and uses the Hierholzer algorithm to find it,global continuous print path for each layer slice.Compared with the existing commercial slicing software Slic3 r and Cura for printing experiments,the effectiveness of the algorithm is verified by analyzing the path planning results of the three algorithms for filling the lightweight structural model.The algorithm effectively reduces the start and stop actions of the printing nozzle,saves printing consumables,and improves printing efficiency.On the basis of this research,this paper proposes a continuous path planning method based on the Q-learning algorithm.The algorithm needs to do the same preprocessing on the slices of the model,layer the model filled with the lightweight structure,and treat all the obtained slices as a whole for path planning,to reduce the print heads and start-stop action of turning as the goal,to build the corresponding mathematical model of markov decision process,and iterate the action value function multiple times until it converges,a set of action strategies to obtain the maximum reward value,obtain the maximum continuous path in this layer,and escape the strategy and output it as a print path according to the set mathematical model.The experimental results show that this method can effectively reduce the turning and start-stop times of the printing nozzle,increase the continuity of the printing path,save the printing time,and improve the printing quality to a certain extent.There are 37 figures,5 tables,and 57 references. |