# STL-Slicer
This is a basic MATLAB Code that takes a STL File as input and provides the intersections of slicing plane and the model.<br />
# Basics of STL File
The data in a STL file is stored in form of a mesh of triangular surfaces(also known as triangular tesselation). This makes it easy to slice for 3 D printing( Additive Manufacturing) Applications.<br />
To read from a STL File, we must know about the format in which data is stored in it.STL File has the data of vertices of triangles and their normal vector in it. This is the data we want to extract.<br />
# Binary Format-
The binary format starts with a 80 char Header which we generally ignore.<br />
Then we have a 4 byte unsigned integer representing number of triangles in the mesh.<br />
AFter that we have 12 4 byte floating point integers, out of which the first three represent the normal Vector and other represent the co-ordinates of Vertices.<br />
and then we have a 2 byte gap betwen each triangle.<br />
So we have a 50 byte FACET for Binary Storage.<br />
# ASCII-
It starts with the solid name and then we have normal and vertices information.<br />
# BASIC INFO
In this Code, a standard MATLAB function stlread is used to extract the vertices of the triangles.<br />
After that Slicing is done by introducing Planes along Z axis as per user's demand.<br />
The values of Intersections are stored.<br />
Plotting the values using delaunay triangles gives us a rough Idea of the cross section, which was found to be satisfyingly accurate.<br />
This code is applicable for simplified models with less no. of Vertices in the mesh( in order of maximum 10^4).<br />
This Code is still very rough and needs work.<br />
# Future aspirations-
Make this code suitable for Complex models and make it efficient.<br />
Create an open source Slicer software by configuring.<br />
1. Pathing Options(Either zigzag, or if possible implementation of Hilbert continuous paths).<br />
2.Options for changing Axis of Slicing.<br />
And further if time permits-<br />
Configuring Extrusion parameters too.<br />
# Any feedback is appreciated.<br />

weixin_38590790
- 粉丝: 4
最新资源
- 物理层接口及其协议ppt课件市公开课金奖市赛课一等奖课件.pptx
- 前景广阔的中国移动互联网(1).docx
- 公用网络机房计算机的管理系统.docx
- 2023年3月试二级C语言笔试试卷及参考答案.doc
- 网编程教学专业知识讲座公开课一等奖优质课大赛微课获奖课件.pptx
- 北京交通大学2021年9月《城市轨道交通信息技术》作业考核试题及答案参考12.docx
- 三本院校计算机专业C语言程序设计课程教学改革与探索.docx
- 拥抱互联网时代心得体会.docx
- 亿吉尔水工概预算软件操作指南讲解材料.ppt
- 南开大学2021年9月《C语言程序设计》作业考核试题及答案参考14.docx
- 网络营销运营网站的四大方向.doc
- 51单片机学习(键盘接口)-2013512-(2)演示教学.ppt
- 数据库检索APS数据库课件教案资料.ppt
- 中级CAD绘图员考试试题八套试题附样图.doc
- 复合式永磁同步电动机设计及其CAD系统开发的开题报告.docx
- 大连理工大学2021年9月《电子商务(管理类)》作业考核试题及答案参考1.docx
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈



评论0