摘要
目前,三维CAD模型的Web显示技术摆脱了软件安装,使得设计人员可以随时随地进行协同作业,提高了产品研发效率。三维CAD模型在实现Web显示之前,要对原始格式的模型数据进行轻量化处理,得到包含与显示有关的三角网格信息,但却丢失了模型关联的产品尺寸、公差、粗糙度等三维标注信息。为了解决CAD模型在Web显示中三维标注的丢失问题,提出一种Web环境下的模型翻转、旋转过程中的三维标注显示浏览方法,首先通过分析各类型三维信息标注,提取并封装三维标注对象集合为JSON文件,然后通过WebGL技术实现三维标注在Web环境下的信息重构,最后利用标注对象的实时变换矩阵来保证模型位姿变换过程中三维标注实时显示的正确性。以UG平台下的三维标注为例,实验应用结果表明,该方法可以很好地实现三维标注的Web显示。当模型位姿发生变化时,三维标注得以实时正确显示,满足预期要求。
Currently,the Web-based3 D model browsing technology allows designers to collaborate in real time without any CAD software,which greatly improves the efficiency of product development.Before the web display of original 3 D model,we should get the lightweight 3 D model which contains the triangular mesh of model.But the product manufacturing information,such as product size,tolerance and roughness,will disappear in the lightening-weight process.In order to avoid the disappearance of 3 D model product manufacturing information,this paper proposes a method which can allow three-dimensional annotation and model show under the Web environment.Firstly,through analyzing various types of three-dimensional annotation,extracted the information of 3 D annotation collection and encapsulated it into JSON file.Then,by WebGL technology,realized the3 D annotation information reconstruction under the web environment.Finally,using the real-time transformation matrix of every 3 D Dimension objects to ensure the real-time display of 3 D annotation collection.Taking the 3 D annotation function under UG platform as an example,experimental result shows that the method can realize the Web display of three-dimensional annotation well and when the pose of the model changes,the three-dimensional annotation can be displayed correctly in real time.
作者
汪耀
盛步云
WANGYao;SHENG Bu-yun(School of Mechanical and Electronic Engineering,Wuhan University of Technology,Hubei Wuhan 430070,China)
出处
《机械设计与制造》
北大核心
2022年第1期266-270,共5页
Machinery Design & Manufacture
基金
国家重点研发计划项目(2016YFB1101700)。
关键词
三维标注
WEBGL
信息重构
实时显示
Three-Dimensional Annotation
WebGL
Information Reconstruction
Real-Time Display