slice_stl_create_pa​th(triangles,slice_​height)

slice stl files and create continuous contour along the slices

Download
Download

You are now following this Submission

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 .

General Information

MATLAB Release Compatibility

  • Compatible with R2015b and later releases

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
4.0.30

updated to correct a bug that prevented displaying STL file in the GUI app

Download
4.0.22

slicing app reported bug fixed

Download
4.0.21

.

Download
4.0.2

Updated plot_stl to correctly plot STL file. example_plot_stl added to show how to correctly use the file

Download
4.0.1

error corrections to the gui

Download
4.0.0

gui tool added

Download
3.2.2

corrected files uploaded for version 3.2.2.0

Download
3.2.2-0

updated so that the sliced paths move in same direction when possible

Download
3.2.1

function to read ASCII stl files added

Download
3.2.0

Function to rotate stl file added.

Download
3.1.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.

Download
3.0.0

bug with infinite loop corrected
code for improperly formed triangles uncommented

Download
2.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.

Download
1.0.0

Download