摘要
提出一种将IGES文件格式转换成STL文件格式的算法.根据IGES文件内容重构几何实体信息及其拓扑关系;将几何实体的三维曲面贴合为二维平面,并将曲面上的轮廓边界转换到平面上,在二维空间中根据封闭轮廓边界裁剪曲面;根据曲面上保留的特征点及轮廓边界上的顶点信息对面进行符合STL模型一致性规则的三角剖分,生成合法的STL文件.该算法的核心是保证面与面接合处的三角化的正确性.最后介绍了该算法的转换实例.
A new arithmetic of transforming IGES files to STL files is presented.By the algorithm,we construct entities defined in the file and build the topological connection of entities according to information recorded in entities,spread the three-dimensional surface to planar plane,and transform the border loops to the planar plane too,then prune every surface according to the loops inside,triangulate the surface with reserved points on it and the points on the loops under the consistency of STL format,and finally output the legal STL file.The key point of the arithmetic is to ensure the triangles created on the joint of faces correctly.At last,an instance of transformation is introduced.
作者
王刘记
张李超
曾少勇
Wang Liuji;Zhang Lichao;Zeng Shaoyong(State Key Laboratory of Plastic Forming Simulation and Die&Mould Technology,Huazhong University of Science and Technology,Wuhan430074)
出处
《计算机辅助设计与图形学学报》
EI
CSCD
北大核心
2007年第1期37-41,共5页
Journal of Computer-Aided Design & Computer Graphics
基金
湖北省自然科学基金创新群体项目(2004ABC001).