slice_stl_create_path(triangles,slice_height)
Cite As
Sunil Bhandari (2026). slice_stl_create_path(triangles,slice_height) (https://www.mathworks.com/matlabcentral/fileexchange/62113-slice_stl_create_path-triangles-slice_height), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- MATLAB > Data Import and Analysis > Data Import and Export > Standard File Formats > STL (STereoLithography) >
Tags
Acknowledgements
Inspired: Infill Patterns and Shell Contours - 3D Printing Slice Data
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 4.0.30 | updated to correct a bug that prevented displaying STL file in the GUI app |
||
| 4.0.22 | slicing app reported bug fixed |
||
| 4.0.21 | . |
||
| 4.0.2 | Updated plot_stl to correctly plot STL file. example_plot_stl added to show how to correctly use the file |
||
| 4.0.1 | error corrections to the gui |
||
| 4.0 | gui tool added |
||
| 3.2.2.1 | corrected files uploaded for version 3.2.2.0 |
||
| 3.2.2.0 | updated so that the sliced paths move in same direction when possible |
||
| 3.2.1.0 | function to read ASCII stl files added |
||
| 3.2.0.0 | Function to rotate stl file added. |
||
| 3.1.0.0 | The stl file can now be oriented along x, y or z axis before slicing. The original configuration is assumed to be oriented along x axis.
|
||
| 3.0.0.0 | Corrected code:
|
||
| 2.0.0.0 | intersecting triangles with each slicing plane now calculated using binary search. Big O for this step changed from O(nk) to O(nlogk), where n is the number of triangles and k is the number of slicing planes. |
||
| 1.0.0.0 |