欢迎访问《图学学报》 分享到:

图学学报

• 图学教育 • 上一篇    下一篇

基于WebGL 的工程制图网络虚拟模型库的开发

  

  1. 兰州交通大学土木工程学院,甘肃 兰州 730070
  • 出版日期:2016-12-31 发布日期:2017-01-05
  • 基金资助:
    兰州交通大学重点教改项目(JG2014Z03)

Development of Web Virtual Model Library of Engineering Drawing Based on WebGL

  1. School of Civil Engineering, Lanzhou Jiaotong University, Lanzhou Gansu 730070, China
  • Online:2016-12-31 Published:2017-01-05

摘要: 以AutoCAD 为建模工具,对工程制图中的组合体进行建模,通过分析其STL 格式
的导出文件,利用WebGL 技术实现了模型数据文件的解析读取、着色器程序的编制和鼠标交互
处理程序的添加,研究开发了运行于浏览器的工程制图模型库。该模型库模型丰富、交互友好,
实现了服务器端一次部署,客户端随处浏览,方便了教师课堂教学,培养了学生的空间想象力,
提高了学习效率,为虚拟模型库的研发提供了思路。

关键词: 工程制图, 模型库, WebGL

Abstract: 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.

Key words: engineering drawing, model library, WebGL