An implementation of CSG modeling technique on Machining Simulation using C++ and Open GL

  • Le, Duy (School of Mechanical and Aerospace Engineering, Gyeongsang National University) ;
  • Kim, Su-Jin (School of Mechanical and Aerospace Engineering, Gyeongsang National University) ;
  • Lee, Jong-Min (School of Mechanical and Aerospace Engineering, Gyeongsang National University) ;
  • Nguyen, Anh-Thi (Department of Aeronautical Engineering, University of Technologies) ;
  • Ha, Vy-Thoai (Department of Aeronautical Engineering, University of Technologies)
  • 발행 : 2008.11.05

초록

An application of CSG (Constructive Solid Geometry) modeling technique in Machining Simulation is introduced in this paper. The current CSG model is based on z-buffer CSG Rendering Algorithm. In order to build a CSG model, frame buffers of VGA (Video Graphic Accelerator) should be used in term of color buffer, depth buffer, and stencil buffer. In addition to using CSG model in machine simulation Stock and Cutter Swept Surface (CSS) should be solid. Method to create a solid Cuboid stock and Ball-end mill CSS are included in the present paper. Boolean operations are used to produce the after-cut part, especially the Difference operation between Stock and CSS as the cutter remove materials form stock. Finally, a small program called MaSim which simulates one simple cut using this method was created.

키워드