STLREAD imports geometry from a binary stereolithography (STL) file into MATLAB.
In addition to the STLREAD import function, this submission also includes a small demo that loads an STL model of a human femur bone.FV = STLREAD(FILENAME) imports triangular faces from the binary
- 40.4K (All time)
- 4 (Last 30 days)
- 4.7 / 5
- Community
-
20 Jul 2011
stlwrite - write ASCII or Binary STL files
Export a variety of inputs (patch, surface) to an STL triangular mesh
** Big speed boost courtesy of Oliver Woodford. Recommended to update to latest version ** stlwrite(FILE, FV) writes a stereolithography (STL) file to FILE for a triangulated patch defined by
- 30.5K (All time)
- 8 (Last 30 days)
- 4.9 / 5
- Community
-
4 May 2018
Write STL file from surface data.
SURF2STL Write STL file from surface data. SURF2STL('filename',X,Y,Z) writes a stereolithography (STL) file for a surface with geometry defined by three matrix arguments, X, Y and Z. X, Y
- 26.5K (All time)
- 15 (Last 30 days)
- 4.6 / 5
- Community
-
24 Feb 2004
An efficient and fully-featured legacy-compatible STL encoder and decoder, along with other assorted tools.
I figured that if I was going to nitpick every STL tool on the FEX, it's only fair that I at least put my own questionable work on the table. So that's the core of this mini-toolbox. Both the
- 33 (All time)
- 1 (Last 30 days)
- 5.0 / 5
- Community
-
12 Jan 2026
Lattice generator program in STL format for additive manufacturing
The Lattice Generator is a simple MatLab program that automatically generates various lattice geometries direct to STL format. These periodic structures are intended for use with the metallic
- 5.2K (All time)
- 11 (Last 30 days)
- 5.0 / 5
- Community
-
27 Jan 2015
This binary STL file reader is much faster than the existing readers.
This function is used for loading binary STL files.There are already two stlread.m files available on the mathworks file exchange site. Harlev's version reads in the data and returns matrices with
- 9.7K (All time)
- 4 (Last 30 days)
- 4.7 / 5
- Community
-
4 Jan 2011
Converting a 3D logical array into an STL surface mesh
Conversion of a voxelised object contained within a 3D logical array into an STL surface mesh.
Converting a 3D logical array into an STL surface mesh====================================================== Adam H. Aitkenhead adam.aitkenhead@christie.nhs.uk The Christie NHS Foundation Trust 24th
- 5.5K (All time)
- 2 (Last 30 days)
- 4.9 / 5
- Community
-
9 Jul 2012
Write STL file from surface data.
%SURF2STL Write STL file from surface data.% SURF2STL(surfhandle, 'filename') writes a stereolithography (STL) file% for a surface with the given handle surfhandle. It eliminate triangles
- 230 (All time)
- 2 (Last 30 days)
- 5.0 / 5
- Community
-
28 May 2024
Make STL of 3D array (Optimal for 3d printing)
make_STL_of_Array Convert a voxelized object contained within a 3D logical array into an STL surface mesh, It's optimal for 3D printing.
make_STL_of_Array Convert a voxelized object contained within a 3D logical array into an STL surface mesh, It's optimal for 3D printing because of the number of faces in final STL is as low as
- 2.4K (All time)
- 1 (Last 30 days)
- 4.9 / 5
- Community
-
13 Sep 2018
This is a collection of functions, samples and demos to illustrate how to deal with STL files
The 'stlTools' toolbox is a collection of functions, samples and demos to illustrate how to deal with STL files. Some of them are contributions published in Matlab Central and properly referenced
- 9.2K (All time)
- 4 (Last 30 days)
- 5.0 / 5
- Community
-
20 Oct 2017
Function to import .stl geometry model files into matlab.
This version is currently ASCII only but future revisions will support binary. This function is based off of Luigi Giaccari's STL importer but uses the textscan function to dramatically increase
- 3.8K (All time)
- 1 (Last 30 days)
- 4.1 / 5
- Community
-
31 Mar 2011
This is a tool to export 3D graphics from a Tri_Surface file to an ASCII STL file.
Before the export, the Tri_Surface file can be used in Matlab for visualization, some calculations or modifications. Thereafter, the datafor further processing often re-used in the STL
- 2.2K (All time)
- 2 (Last 30 days)
- 4.7 / 5
- Community
-
29 Jun 2009
Converts COMSOL geometry object from geometry files or workspace to stl-file
COMSOL, reimporting did work.Hope this helps anyone.%%%%%MPH2STL(infile,outfile) loads the mphbin/mphtxt-file, plots it and calls Raw2stl to save the stl file. Plotting is essential because the
- 2.1K (All time)
- 3 (Last 30 days)
- 4.5 / 5
- Community
-
5 Apr 2007
File for reading a stl file in MATLAB
Get information in MATLAB about a STL file. Use it as,[F, V, N] = read_stl_file('myfile.stl');where F are "faces", V are "vertices" and N are "normals".The object can be plotted with,p = patch('Faces
- 514 (All time)
- 1 (Last 30 days)
- 5.0 / 5
- Community
-
29 Oct 2015
read_binary_stl_file(filename)
a very fast binary stl file reader.
reads stl files in very short time. does not read color.reads binary file and returns triangle nodes as n*3 matrix , vertices as 3n*3 matrix and normals as n*3 matrixtriangles can be plotted using
- 252 (All time)
- 2 (Last 30 days)
- 5.0 / 5
- Community
-
29 Mar 2017
slice_stl_create_path(triangles,slice_height)
slice stl files and create continuous contour along the slices
This contains the matlab files to slice a stl file and create a continuous contour along which the machine can move for deposition for 3D printing. The main file is slice_stl_create.mThe supporting
- 3.4K (All time)
- 9 (Last 30 days)
- 4.8 / 5
- Community
-
13 May 2021
c++ mex function for writing ASCII stl file from nodes and triangles list
Matlab functions for writing and reading textual files are lacking in speed. Here is c++ implementation for simple writing ASCII stl files from Matlab with reasonable speed for data up to 250k nodes
- 529 (All time)
- 1 (Last 30 days)
- 5.0 / 5
- Community
-
3 May 2013
Function for importing and plotting STL files in MATLAB
This file will import and plot ASCII STL file in MATLAB.
- 4.6K (All time)
- 1 (Last 30 days)
- 3.5 / 5
- Community
-
23 May 2013
STL to FACET model geometry file converter
This script imports an STL file and writes a .facet file commonly used by Xpatch, etc.
This file uses import_stl_fast to pull in model geometry and write an appropriate .facet file. If you require the ability to import binary stl files, import_stl_fast can be replaced with another
- 1.4K (All time)
- 4 (Last 30 days)
- 5.0 / 5
- Community
-
31 Mar 2011
Convert an STL file into ACIS SAT, which can be more readily imported into various CAD packages.
STL to ACIS SAT converter=========================Adam H. Aitkenhead31st March 2010Convert an STL file into an ACIS v4.0 SAT file (Standard ACIS Text), which can be more readily imported into various
- 4.8K (All time)
- 4 (Last 30 days)
- 4.6 / 5
- Community
-
6 Jun 2012
Shape-preserving refinement of an STL/Triangulation
This function performs a shape preserving refinement to add faces to an existing triangulation (struct or STL).
The function performs a shape preserving refinement of ta given triangulation. This input can be taken in the form of a Vertices,Faces structure pair, or ASCII/Binary STLs. It can then return the
- 139 (All time)
- 1 (Last 30 days)
- 5.0 / 5
- Community
-
20 Oct 2020
- 4K (All time)
- 34 (Last 30 days)
- 5.0 / 5
- Community
-
15 Jul 2024
Matlab classes for computing forward kinematics and inverse kinematics of a UR5 robot along with a class for visualizing it
https://www.mathworks.com/matlabcentral/fileexchange/38964-example-matlab-class-wrapper-for-a-c-class2) stlTools by Pau Micóhttps://www.mathworks.com/matlabcentral/fileexchange/51200-stltools?focused=3878420&tab=function3) universal_robot package by Kelsey Hawkins (kphawkins@gatech.edu
- 948 (All time)
- 1 (Last 30 days)
- 5.0 / 5
- Community
-
30 Jan 2019
【Light Version 】Matlab STL GUI slice program
Transform 3D STL file (StereoLithography) into 2D series BMP files.
DIY 自製 Matlab STL GUI 轉檔slice程式為了紀念母親節,第一次自行設計Matlab GUI程式,STL轉擋切圖,破天荒免費分享給有需要的人XD,主要跟3D列印有相關的人可能會使用。 https://www.youtube.com/watch?v=L-PJxcc50V8 【To commemorate Mother's Day 】 ● This is my first
- 1.1K (All time)
- 1 (Last 30 days)
- 5.0 / 5
- Community
-
16 Nov 2017
Export objects described in a logical matrix, label matrix or voxel list to STL and PovRay mesh2.
Export Voxel Data===================This submission allows to export multiple objects described in logical matrix, label matrix or voxel list data to STL and PovRay mesh2 format.Mesh can be
- 2.1K (All time)
- 1 (Last 30 days)
- 4.9 / 5
- Community
-
27 Oct 2017
Update of the stlread function by Francis Esmonde-White to properly implement color reading.
This function is used for loading binary STL files.There are already two stlread.m files available on the mathworks file exchange site. Harlev's version reads in the data and returns matrices with
- 1.3K (All time)
- 2 (Last 30 days)
- 5.0 / 5
- Community
-
18 May 2012
Design Oriented Trebuchet Model with SimMechanics
Advanced trebuchet model that predicts dynamic performance based on design changes.
- 1.9K (All time)
- 2 (Last 30 days)
- 5.0 / 5
- Community
-
26 Feb 2016
AMebius-slicer(STL slicer, gcode generator for 3D print)
A stl files slicer to generate gcode file for real printing
AM slicer can generate gcode from STL file, you can define printer parameters, and some print settings This is only a basic version, the slicer has passed the actual printing test, and has built in
- 679 (All time)
- 1 (Last 30 days)
- 5.0 / 5
- Community
-
13 Jun 2021
CLUMP: Code Library to generate Multi-sphere Particles
Generation and shape characterisation of multi-sphere particles
triangulated mesh and saved as an stl file, allowing for a full characterisation of particle morphology, using tools like SHAPE or 3D-printing of physical particle replicas. CLUMP was initially developed in
- 178 (All time)
- 1 (Last 30 days)
- 5.0 / 5
- Community
-
28 Jun 2024
Computation of craniofacial symmetry
Computation of 3D symmetry plane of a triangulated model
Jakob Wilm and that can be found in:http://mathworks.com/matlabcentral/fileexchange/27804-iterative-closest-pointAnd the stlTools provided by Pau Micó for STL input and output that can be found
- 1.1K (All time)
- 1 (Last 30 days)
- 5.0 / 5
- Community
-
5 Jun 2019
Laser Cut Slicer in MATLAB / Porsche 917K
Laser Cut Slicer in MATLAB / Porsche 917KThis MATLAB code helps you to realize a 3d object with stacked laser cut plates:Extract the intersection of a 3d STL object and a cut plane, visualize, and
- 180 (All time)
- 2 (Last 30 days)
- 5.0 / 5
- Community
-
4 Nov 2021
- 1.8K (All time)
- 14 (Last 30 days)
- 5.0 / 5
- Community
-
28 Jun 2022
A playable demo of Super Mario Bros. World 1-1 with background music
you see up there is an ACTUAL screenshot of this demo.----------Installation ------------Regular Version: Put stl_mario_main.m and two .mat files under the same folder. Run stl
- 27.3K (All time)
- 9 (Last 30 days)
- 4.9 / 5
- Community
-
22 Apr 2013
- 1.6K (All time)
- 1 (Last 30 days)
- 5.0 / 5
- Community
-
1 Dec 2010
Generate U3D files from STL models for making multilayer 3D PDF figures
Conversion of meshes into U3D files for making multilayer 3D PDF figures with transparency.
- 1.7K (All time)
- 2 (Last 30 days)
- 5.0 / 5
- Community
-
13 May 2011
- 1K (All time)
- 3 (Last 30 days)
- 5.0 / 5
- Community
-
30 Jul 2024
Read STL file into MATLAB patch compatible matrixes.
This function reads a binary SPL file into X, Y, Z, C matrixes compatible with the MATLAB patch function.See, http://rpdrc.ic.polyu.edu.hk/old_files/stl_binary_format.htm , for more information on
- 10.1K (All time)
- 2 (Last 30 days)
- 4.8 / 5
- Community
-
7 Jan 2005
MP3 a medical imaging toolbox (MRI, CT, PET...)
Medical software for Processing multi-Parametric images Pipelines
- 1.4K (All time)
- 6 (Last 30 days)
- 5.0 / 5
- Community
-
18 Aug 2023
- 919 (All time)
- 7 (Last 30 days)
- 5.0 / 5
- Community
-
20 May 2023
Find the per-vertex normals for a tesselated surface.
- 1.2K (All time)
- 1 (Last 30 days)
- 4.5 / 5
- Community
-
11 Oct 2011
Montalvo Models, Simulations and Scripts
This is my public repo of all my MATLAB Screen cast codes and other random codes written in MATLAB
- 1.4K (All time)
- 5 (Last 30 days)
- 5.0 / 5
- Community
-
30 Jun 2023
Useful functions for geometry processing, constrainted optimization and image processing.
(.obj,.off,.stl,.wrl,.ply,.mesh,.node,.ele,.poly,.smf,.bdl,.face) - discrete differential geometry operators for triangle and tetrahedral meshes (cotangent Laplacian, gradient, divergence) - quadratic programming, active set solver - scribble-based image
- 9.6K (All time)
- 8 (Last 30 days)
- 4.4 / 5
- Community
-
22 Jul 2024
Optometrika MATLAB library implements analytical and iterative ray tracing approximation to optical image formation using Snell’s and Fresne
lens with astigmatism (different vertical and horizontal radii of curvature)example15.m: simulates a hexagonal array of spherical micro lensesexample16.m: demonstrates STL export of various lenses
- 11.8K (All time)
- 8 (Last 30 days)
- 4.8 / 5
- Community
-
18 Jan 2022
An immitation of STL vector container in Matlab.
- 37 (All time)
- 1 (Last 30 days)
- -- / 5
- Community
-
29 Dec 2020
- 23.1K (All time)
- 14 (Last 30 days)
- 4.3 / 5
- Community
-
27 Oct 2020
- 833 (All time)
- 3 (Last 30 days)
- 5.0 / 5
- Community
-
17 Sep 2021
- 1.3K (All time)
- 10 (Last 30 days)
- 5.0 / 5
- Community
-
16 Jul 2024
stlwrite - Write binary or ascii STL file
This is an update to the excellent work done by Sven Holcombe to add color support
STLWRITE(FILE,fv) writes a stereolithography (STL) file to FILE for a triangulated patch defined by FV (a structure with fields 'vertices' and 'faces'). STLWRITE(FILE,FACES,VERTICES) takes faces
- 2.4K (All time)
- 1 (Last 30 days)
- 3.4 / 5
- Community
-
18 May 2012
3D CAD data to MATLAB Converter, CAD STL to MATLAB Patch.
4 samples.To get CAD data into MATLAB, the process is:1) Export the 3D CAD data as an ASCII STL (or Pro/E render SLP) file.2) This MATLAB routine reads the CAD data, and 3) Once read, the CAD data is
- 21.9K (All time)
- 4 (Last 30 days)
- 4.7 / 5
- Community
-
25 Jun 2003
POFACETS calculates the monostatic or bistatic radar cross section (RCS) of meshed targets.
- 2.8K (All time)
- 31 (Last 30 days)
- 5.0 / 5
- Community
-
17 Feb 2023
Medical Image Processing Toolbox
Classes and functions for N-dimensional medical image processing, inspired by ITK
, origin, image orientation, etc. The package includes functions for input-output with common image formats (mhd, gipl) and mesh formats (vtk, stl), and basic (although not necessarily simple) image
- 18.7K (All time)
- 18 (Last 30 days)
- 4.5 / 5
- Community
-
13 Apr 2021
The STL Scale Changer streamlines the process of directly changing the scale of STL files within a specified folder. For instance, it facili
STL Scale ChangerThe STL Scale Changer streamlines the process of directly changing the scale of STL files within a specified folder. For instance, it facilitates easy unit conversion from
- 61 (All time)
- 2 (Last 30 days)
- 3.0 / 5
- Community
-
30 Apr 2024
The STL Resolution Reducer streamlines the process of decreasing the number of faces in STL files, enabling smoother animations for highly p
STL Resolution ReducerThe STL Resolution Reducer streamlines the process of decreasing the number of faces in STL files, enabling smoother animations for highly precise 3D mechanical simulation
- 69 (All time)
- 2 (Last 30 days)
- -- / 5
- Community
-
18 Apr 2024
Volume of a surface triangulation
Given a surface triangulation, compute the volume enclosed using divergence theorem.
- 3.2K (All time)
- 2 (Last 30 days)
- 3.9 / 5
- Community
-
17 Mar 2010
- 58 (All time)
- 1 (Last 30 days)
- -- / 5
- Community
-
28 Mar 2024
To create a 3D-printable Moebius strip STL file
To create a 3D-printable Moebius strip: 1. Set size parameters in parameter section2. Put output text into text file and save with file extension .stl. This is an ASCII STL file.3. Open with CAD
- 163 (All time)
- 1 (Last 30 days)
- -- / 5
- Community
-
15 Jun 2017
Convert to a solid of stl file from periodic surface equations and save
Build and save stl files of periodic surface solid
Periodic surface forms a region that could be a solid, this file can build and save this solid to stl. Also, if stl file of surface is needed, this file can also work.This work is inspired by Sven
- 518 (All time)
- 1 (Last 30 days)
- -- / 5
- Community
-
11 Jan 2016
This a mexified MATLAB wrapper of C++ STL priority queue
This a mexified MATLAB wrapper of C++ STL priority queueThis priority queue implementation is simple. Nevertheless, it can be used to keep a "sorted" list of arbitrary objects. Instead of pushing the
- 191 (All time)
- 1 (Last 30 days)
- 5.0 / 5
- Community
-
31 Jan 2019
STL Toolbox: Visualizing and quantifying movement from pre-recorded videos
The spectral time-lapse (STL) algorithm is designed to be a simple and efficient technique for analyzing and presenting both spatial and temporal information of animal movements within a
- 226 (All time)
- 1 (Last 30 days)
- -- / 5
- Community
-
11 May 2016
Analysis of voidage in packed reactors
Slice STL files and analyse void distribution in the reactors
create the reactor model, suspend an array of particles on top and apply gravity to the array untin the reactor is filled. Once the simulation is complete, export two STL files: one for the reactor itself
- 47 (All time)
- 1 (Last 30 days)
- 5.0 / 5
- Community
-
8 Mar 2021