Reading and Controlling on UG Files by OpenGL Based on Object-Oriented Methods

Article Preview

Abstract:

Aimed at the problem of reading and controlling UG files by OpenGL in VC++ environment, a method of object-oriented programming is proposed. The OpenGL single document, multiple documents and visualization windows are created by using the classified idea in VC++ environment. PRT format data files of UG are converted to DXF format data files. Not only the conversion rate but also the conversion quality of different format data file are ensured by using the intermediate conversion format CGM and the problems of redundancy lines and view missing are prevented. DXF files are converted to 3DS files by 3DS MAX software. Controlling and redrawing of UG files in OpenGL are realized. The Object-oriented method is better than process-oriented program design method on the reliability and operability of procedure. The method has been applied in the virtual CNC milling system and provided a theoretical basis for the development of visualization system.

You might also be interested in these eBooks

Info:

Periodical:

Pages:

3981-3986

Citation:

Online since:

December 2010

Export:

Price:

Permissions CCC:

Permissions PLS:

Сopyright:

© 2011 Trans Tech Publications Ltd. All Rights Reserved

Share:

Citation:

[1] Peace Dove Studios: Advanced programming and visualization system of OpenGL(China Water Power Press, Beijing2003), in Chinese.

Google Scholar

[2] Kerry Wood Studio: Examples tutorial of UG18 modeling(chapter, 5, Machinery Industry Press, Beijing2003), in Chinese.

Google Scholar

[3] Xikui Lv, Sirong Yi and Li He: Engineering Graphics Vol. 2(2007), pp.12-15.

Google Scholar

[4] Cline A. K and RenKa R L. A: Rockey Mountain Journal of Mathematics Vol. 14, No. 1 (2004), pp.119-139.

Google Scholar

[5] Yiqun, Wang and Cheng Huang: Academic Journal of Yancheng Institute of Technology (Natural Science) Vol. 9 (2005), pp.41-43.

Google Scholar

[6] Mason Woo, Jackie Neider and Tom Davis: China electric power press Vol. 8(2001), pp.2-3.

Google Scholar

[7] Sibson R. Locally equiangular triangulations: Computer Journal, Vol. 21, No. 3 (1997), pp.243-245.

Google Scholar

[8] F. Zhou, J. F. Ni and X. Z. Zeng: Academic journal of Suzhou university Vol. 29 (2009), pp.54-56.

Google Scholar

[9] Chunrong Pan and Qingsheng Luo: EDM Die, Vol. 4(2002), pp.19-21.

Google Scholar

[10] Zhengbo Zhang, Yan Mu and Hua Huang: Engineering and Applications of Computer Vol. 13 (2005), pp.98-100.

Google Scholar

[11] Xiuqiang Pan and Chengcai Mei: Fujian computer, Vol. 3(2007), pp.159-160.

Google Scholar

[12] Budong You, Chunchang Yi and Zunrong Ke: Academic journal of Nanchang university Vol. 12 (2008), pp.381-383.

Google Scholar