Addressing the issues in existing CNC machining simulation systems,such as poor dynamic simulation effects during processing,limited types of cutting simulation,and inadequate system interactivity,this study integrates the geometric shape and forming characteristics of workpieces.By employing an algorithm based on the 2D Boundary Representation(B-rep)model,rapid generation and update of rotational body workpiece models were achieved.Application experiments on a virtual CNC lathe demonstrated that this method efficiently generates and updates workpiece models,meeting the requirements for real-time monitoring.Furthermore,improvements to the two-dimensional B-rep polygon cutting algorithm based on Boolean operations enabled the simulation of three types of cutting processes,internal diameter machining,external diameter machining and thread machining.This enhancement significantly improved the system's simulation capabilities and flexibility.
machining process simulationturningBoolean operationworkpiece modelB-rep