The modeling of the system voxels and the modeling of the voxels of the 3D modeling system use the solid geometry representation CSG method. The meaning of CSG is that any complex form can be represented by a combination of simple forms (voxels). This combination is typically implemented using regular set operations, where the relevant geometric transformations can be performed. The CSG representation of a form can be thought of as an ordered binary tree with its terminal nodes or voxels, or transformation parameters of rigid body motion. A non-terminal node or a regular set operation or a geometric transformation of a rigid body. This operation or transformation only works on the immediately following child nodes (child bodies). Each subtree (non-transformant node) represents the result of the combination and transformation of the next two nodes, and the root of the tree represents the final node, the entire shape. The CSG tree is unambiguous, but not unique. Its domain depends on the voxels it uses and the allowed geometric transformations and regular set operators. To facilitate and satisfy the CSG entity representation of complex shapes, the system constructs some basic voxels, including cubes, cylinders, cones, spheres, etc., which can be added as needed.
The modeling of the voxel and the modeling and 3D modeling of the 3D modeling and simulation voxels (including workpieces, tools, etc.) are the same as the basic voxel modeling of the system. This paper takes the workpiece and the tool as an example to illustrate the modeling process of the simulated voxel. . The initial state of the workpiece during the cutting process is generally a cylinder (or cone), and the geometrical information includes the length and radius of the workpiece (including the top radius and the bottom radius of the cone), material properties and discrete precision, etc. The material properties can be obtained by specifying the material of the workpiece, and the discrete precision can be achieved by fitting the number of edges. To facilitate system identification, each entity is also given a name bname, which is encapsulated in the CBody class. Mathematical model of workpiece force analysis The mathematical model of the cutting force of the workpiece during the cutting process can be established by analyzing the factors affecting the cutting force: Fc=CFcapXFcfYFcKFc where XF is the influence index of the back-feeding amount ap on the cutting force Fc.
The input code of the CNC cutting code input system can be: N, the sequence number of the NC program segment; G, the preparation function command; M, auxiliary function; cutting constant, including the cutting speed, the maximum feed allowed by the tool, the tool back The amount of the knife to be eaten, the magnification of the workpiece deformation, and the accuracy of the workpiece, that is, the maximum amount of deformation allowed by the workpiece. Each time a piece of NC code is written, the program preprocessor can perform a syntax check on the input code. If no error is found, the tool control code will be displayed in the list box; if there is an error, a message box will appear to warn the user to re- Enter this code or the system prompts to automatically make reasonable adjustments to the entered code. When the user finds that a certain segment of data is wrong, you can select the code line where the error segment is located and re-enter it. After the 3D dynamic graphic display of the machining process completes the 3D modeling of the simulated voxel, the system can simulate the dynamic machining of the cutting process according to the effective dynamic display method driven by the NC tool code. The Windows-based CNC machining process 3D dynamic simulation system developed by VC and OpenGL can perform geometric simulation and physical simulation on CNC cutting process. The combination of geometric simulation and physical simulation can not only detect the shape change of the workpiece and the tool in real time, but also improve the accuracy of the workpiece by analyzing and comparing the force and deformation of the workpiece, and thereby infer the correctness of the NC code. The object-oriented programming method is adopted in the development process of the system, which makes the developed program have the advantages of encapsulation, inheritance, polymorphism, etc., which reduces the data pollution of the program and increases the program's development, readability and maintainability. , greatly improving the programming efficiency of the system. The system is friendly in interface and easy to learn. It has achieved good results through the combination with HURCOBMC20L CNC machine tools.
(Finish)
UV Line Laser Marking Machine, ultraviolet Line Laser Marking Machine, production line uv laser marker
Feiquan Laser Technology Wuxi Co., Ltd. , https://www.feiquan-laser.com