matlab stl分层代码,一种基于MATLAB的STL文件分层切片算法

本文介绍了一种基于MATLAB的STL文件分层切片新算法,旨在提高3D打印的精度和稳定性。首先对三角面片排序,确定各分层三角形,接着建立三角形的邻接关系,最后通过求交点获取轮廓线。该方法利用MATLAB的基本编程,能快速准确地提取轮廓环,并通过实例验证了算法的准确性和稳定性。
摘要由CSDN通过智能技术生成

2018年 3月 第 46卷 第 5期 机床与液压 MACHINE T00L & HYDRAULICS Mar.2018 Vo1.46 No.5 DOI:10.3969/j.issn.1001—3881.2018.05.025 一 种基于 MATLAB的 STL文件分层切 片算法 丁华锋 ,王卓 ,刘婧芳 ,孙龙 ,张良安 (1.北京工业大学机械 工程及应用电子 学院,北京 100124; 2.安徽工业大学机械工程学院,安徽 马鞍山 243032) 摘要:STL文件的分层算法是 3D打印最基本也是最重要的一环。在已有的切片算法的基础上,提出了一种基于 MAT— LAB软件对 STL文件的新的分层切片优化算法,可以保证精度和稳定性 。此方法的实现过程是:先对三角面片排序,找到 所在分层的三角形 ;然后建立所筛选出这些三角的邻接关系;最后求出交点依次相连,就能直接提取出轮廓线。该算法运 用 MATLAB软件最基本的编程代码,可以快速准确地提取出轮廓环。通过一个例子来验证该算法的准确性和稳定性。 关键词:分层 :MATLAB:STL;轮廓线 中图分类 号 :TH16;TP312 文献标 志码 :A 文章编号 :1001—3881(2018)05-102—4 An Algorithm of Slicing STL M odel Based on M ATLAB DING Huafeng ,WANG Zhuo ,LIU Jingfang ,SUN Long ,ZHANG Liang’an (1.College of Mechanical Engineering and Applied Electronics Technology,Beijing University of Technology ,Beijing 100124,China;2.College of Mechanical Engineering,Anhui University of Technology,Maanshan Anhui 243032,China) Abstract:The layered algorithm of stereolithography(STL)file is the most basic and most important thing for Three Dimensional (3D)printing.A new optimal algorithm based on MTALAB software is proposed to guarantee the accuracy and stability based on the existing algorithm.The implement process of method was firstly,the triangles were sorted to find in a layered triangle; secondly, the adjacency relations of these triangles were built;thirdly,the intersection point was found that can be directly extracted contour lines. The algorithm uses the most basic programming code in MATLAB software,which concisely an d effectively

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值