首页 | 本学科首页   官方微博 | 高级检索  
     

基于VC和OpenGL的STL文件的分层和显示
引用本文:庄云良,赵东标,刘凯,章永年,陈盛. 基于VC和OpenGL的STL文件的分层和显示[J]. 机械与电子, 2012, 0(1): 27-30
作者姓名:庄云良  赵东标  刘凯  章永年  陈盛
作者单位:南京航空航天大学机电学院,江苏南京210016
基金项目:国家自然科学基金资助项目(51175261)
摘    要:STL文件是快速成型系统的标准文件类型,广泛应用于数控加工、逆向工程和有限元分析等.详细介绍了STL文件的读取和分层算法,并利用VC++6.0平台结合OpenGL编程技术,实现了STL文件格式的读取、分层算法以及STL模型的三维显示、视角变换、缩放、平移和分层显示等功能.为进一步实现数控系统直接使用STL文件进行加工奠定了基础.

关 键 词:STL文件  分层算法  OpenGL显示

Based on the VC and OpenGL STL File Stratification and Display
ZHUANG Yun-Liang,ZHAO Dong-biao,LIU Kai,ZHANG Yong-nian,CHEN Sheng. Based on the VC and OpenGL STL File Stratification and Display[J]. Machinery & Electronics, 2012, 0(1): 27-30
Authors:ZHUANG Yun-Liang  ZHAO Dong-biao  LIU Kai  ZHANG Yong-nian  CHEN Sheng
Affiliation:(College of Mechanical and Electrical Engineering,Nanjing University of Aeronautics and Astronautics,Nanjing 210016,China)
Abstract:STL(stereo lithography) file is a standard file type of rapid prototyping system,which is widely used in CNC machining,reverse engineering and finite element analysis.The read method of the STL file and the layered algorithm of the model are introduced in this paper.The reading of STL files,the layered algorithm and the functions such as three-dimensional display,perspective transformation,zoom,shift,layered display of the STL model are implemented in VC programming environment combined with OpenGL technology.These functions are laid a foundation to further the realization of the CNC system by using STL file machining.
Keywords:STL  layered algorithm  OpenGL
本文献已被 CNKI 维普 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号