From 744a336e501ddbd9f609003f516985c1993a5d75 Mon Sep 17 00:00:00 2001 From: Ben Date: Wed, 25 Apr 2018 17:12:01 -0400 Subject: [PATCH] Sort out which STL file readers are needed! --- README.md | 1 - updateSTLfile.m | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/README.md b/README.md index 12665b3..3b5967d 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,6 @@ - For stitched printing: an XYZ stage with around 0.1% linear error - Mesh Voxelisation by Adam H. Aitkenhead: [Matlab File Exchange 27390](https://www.mathworks.com/matlabcentral/fileexchange/27390-mesh-voxelisation) - STL File Reader by Eric Johnson: [Matlab File Exchange 22409](https://www.mathworks.com/matlabcentral/fileexchange/22409-stl-file-reader) -- stlTools by Pau Micó: [Matlab File Exchange 51200](https://www.mathworks.com/matlabcentral/fileexchange/51200-stltools) - Significant Figures by Teck Por Lim: [Matlab File Exchange 10669](https://www.mathworks.com/matlabcentral/fileexchange/10669-significant-figures) # Installation diff --git a/updateSTLfile.m b/updateSTLfile.m index cfc8ca8..ad99a45 100644 --- a/updateSTLfile.m +++ b/updateSTLfile.m @@ -5,7 +5,7 @@ function updateSTLfile(handles, STLfile) STL.mesh1 = READ_stl(STL.file); % This is stupid, but patch() likes this format, so easiest to just read it % again. - STL.patchobj1 = stlRead(STL.file); + STL.patchobj1 = stlread(STL.file); % Reset one or two things... STL.print.invert_z = 0;