以AutoCAD为建模工具,对工程制图中的组合体进行建模,通过分析其STL格式的导出文件,利用WebGL技术实现了模型数据文件的解析读取、着色器程序的编制和鼠标交互处理程序的添加,研究开发了运行于浏览器的工程制图模型库。该模型库模型丰富、交互友好,实现了服务器端一次部署,客户端随处浏览,方便了教师课堂教学,培养了学生的空间想象力,提高了学习效率,为虚拟模型库的研发提供了思路。%The composite solids in Engineering Drawing are modelled by using AutoCAD. Based on the exported files in the STL format for the models and WebGL, the data files for the models are read and parsed, a shading program and an interactive processing program for mouse event are developed, and a web virtual model library of solids for engineering drawing, which can be run in browsers is established. The library has a large number of models and a friendly graphical user interface. When installed on a server, the library can be accessed on client terminals, which facilitates classroom teaching and is helpful to spatial imagination ability of students, improve their study efficiency and provide reference for the development of other virtual model library.
展开▼