面向STL文件的截面轮廓线段连接方法研究  被引量:4

Research of Cross Contour Segments Connection for STL File

在线阅读下载全文

作  者:文豪 高健[2] 张正甫[1] WEN Hao;GAO Jian;ZHANG Zheng-fu(School of Mechanical Engineering,Guangdong Polytechnic of Science and Technology,Guangdong Zhuhai 519090,China;School of Electromechanical Engineering,Guangdong University of Technology,Guangdong Guangzhou 510006,China)

机构地区:[1]广东科学技术职业学院机械与汽车学院,广东珠海519090 [2]广东工业大学机电工程学院,广东广州510006

出  处:《机械设计与制造》2021年第7期171-175,共5页Machinery Design & Manufacture

基  金:国家自然科学基金重点项目—广东省联合基金项目(U1601202);广东省普通高校青年创新人才项目(2018KQNCX342)。

摘  要:针对3D打印中模型数据的截面轮廓求取问题,分析STL文件的计算机数据格式特征,提出面向STL文件的截面轮廓线段连接算法。首先,通过STL文件的相交面片选取与求交计算,直接生成相交截面的轮廓线段;然后,通过轮廓线段的连接判断,快速生成模型数据的截面轮廓;最后,借助PythonOCC的开源三维模型显示平台,使用Python的计算机编程语言编程开发面向STL文件的截面轮廓生成模块,并通过多个模型的数据测试对所提算法的有效性给予验证。实验结果表明,所提算法可完全避免模型数据的拓扑数据操作,并通过STL文件的直接数据处理,直接实现3D打印中模型数据截面轮廓的快速生成。Aiming at the problem of obtaining the cross-sectional contour from the model data in 3D printing,the data format characteristics of STL files in computer are analyzed,and an algorithm of cross contour segments connection for STL file is pro posed.Firstly,select and calculate the intersecting coordinates through the intersection facets of the STL file,and directly gener ate the contour segments of the intersecting cross-section.Then,by judging the connection of the contour segments,the cross con tour of the model data can be quickly generated.Finally,on the basis of an open source 3D model display platform called Python OCC and computer programming by Python,a cross-sectional profile generation module for STL files is developed,and the effec tiveness of the proposed method is verified through data testing of several models.The experimental results show that the proposed method can completely avoid the topological data reconstruction operation of model data,and generate the cross contour directly in 3D printing through the direct data processing of STL file.

关 键 词:STL文件 截面求交 轮廓线段 连接判断 3D打印 

分 类 号:TH16[机械工程—机械制造及自动化] TH164

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象