摘要
针对3D打印中因三维模型转换成STL文件而丢失其原有拓扑关系的问题,在分析STL文件信息存储特点的基础上,提出基于哈希表的STL文件拓扑关系快速重建算法。在读入每个三角形顶点坐标时,通过哈希表构建无冗余坐标信息的点表,同时在面表中记录该顶点的索引值;在所有三角形顶点都读取完成后,运用点表与面表中点索引值来获取每个三角形邻接面信息,进行快速拓扑关系重建。
In the field of 3D printing, while 3D models converted into STL file, its original topological relationship was lost. In order to solve this problem, a fast-topological reconstruction algorithm for STL file based on Hash Table was proposed after analyzing STL storage features. First, when the coordinates of the vertex were read, the vertex table without redundant vertex coordinates was established by hash table; meanwhile, the index value of the vertex was recorded in the facet table. After all triangles had been read,the fast-topological relation was reconstructed by obtaining the adjacent facet index value according the vertex table and the facet table.
作者
钱乘
李震
江本赤
王刚
QIAN Cheng;LI Zhen;JIANG Benchi;WANG Gang(School of Mechanical and Automotive Engineering,Anhui Polytechnic University,Wuhu 241000,China)
出处
《新乡学院学报》
2018年第6期36-39,51,共5页
Journal of Xinxiang University
基金
安徽省高校自然科学研究重点项目(KJ2015A392)
安徽省重点研究与开发计划项目(1704a0902056)
关键词
STL文件
哈希表
拓扑重建
STL file
Hash table
topological reconstruction