| Traditional manufacturing technology can not meet the diversified needs of modern society.Additive manufacturing technology as one of the advanced technology representatives can improve this problem.Due to its short production cycle,complex manufacturing parts and high precision of molding products,it has been widely used in aerospace,medical and other fields.It transforms a computer 3D model into a physical entity by stacking materials.As an important part of the additive manufacturing process,the 3D model slicing directly affects the quality of the final molded part.Based on the selection melting process(SLM),the paper uses Open CASCADE technology as the underlying core computing library,and developed a matching slicing software for the metal forming equipment of North University.The whole development process draws on the scientific ideas and object-oriented methods of software engineering development,and the finished software finally achieves slice effect.There are two types of 3D model slice data that can be used for additive manufacturing.One is a data model in STL format,and the other is a CAD data model.The STL format file is very mature in the field of additive manufacturing with its simple structure,and it has become the default universal data standard in the industry.While CAD model data(IGES,STEP)has less research in additive manufacturing,it has more accurate data and faster slice processing than the STL format.This paper combines the powerful computing system of Open CASCADE to propose a method of slicing three format data models.The method inherits the advantages of the three formats of STL,IGES and STEP to complement each other,and expands the data source of the additive manufacturing slice model.The core of the slicing algorithm utilizes the Boolean operation idea in geometric mathematics.With the Boolean operation tool and the description of the Open CASCADE data model,an operation that can cut data in three formats is realized.At the same time,the OpenGL interface is called to provide support for three format model displays.Inductive path planning related research shows that the optimal processing path of the solid model is determined by the shape and structure of the model.This paper designs three path planning methods for the slicing software to provide forming solutions for different models.In the design of the path planning algorithm,we try to use the data storage structure in Open CASCADE to improve the data processing efficiency.In order to adapt to the differences of control systems in different SLM devices,the contour data of the model slice is optimized.The parametric representation and discretization of the contours provide the option of more processing equipment for part forming.Based on the G code and CLI file syntax structure,the final data is exported. |