Main Content

225 results

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

STL File Reader

Version 1.2.0.0

by Eric Johnson

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

surf2stl

Version 1.0.0.0

by Bill McDonald

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

DGM's Legacy STL Tools

Version 1.1.1

by DGM

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

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

STL Lattice Generator

Version 1.4.0.0

by Marten

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

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

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

stlTools

Version 1.1.0.0

by Pau Micó

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

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

stlread

Version 1.0.0.0

by Doron Harlev

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

This file will import and plot ASCII STL file in MATLAB.

GIBBON: The Geometry and Image-Based Bioengineering add-ON for MATLAB

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

mph2stl

Version 1.0.0.0

by Henning Francke

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

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

STL_Export

Version 1.3.0.0

by Andreas Richter

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

Advanced trebuchet model that predicts dynamic performance based on design changes.

read_stl_file(name)

Version 1.0.0.0

by Eugenio

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

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

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

Morphological characterisation and simplification of three-dimensional particle geometries

Bounding BoxPau Micó - stlToolsYury Petrov - Ellipsoid fitAnton Semechko - Exact minimum bounding spheres and circlesThese external dependencies are added within the source code of SHAPE, to provide an

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

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

Toolbox for simulating optical tweezers

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

Compute mesh normals

Version 1.0.0.0

by Adam A

Calculate the normal vectors for each facet of a triangular mesh.

CAD2MATDEMO.M

Version 1.0.0.0

by Don Riley

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

Mesh voxelisation

Version 1.20.0.0

by Adam A

Voxelise a triangular-polygon mesh.

mesh can be in one of several formats: in an STL file; in a structure containing the faces and vertices data; in three 3xN arrays containing the x,y,z coordinates; or in a single Nx3x3 array defining

If you think you have played the best MATLAB game before. Think again after you try this one.

subfolders in the search path list.!Run stl_StellariaMain to play!Gameplay--------Stellaria is just like the arcade shoot-em-up you have played before, except for the sad music.Stellaria supports two

MATLAB code for reading and writing CIFTI connectivity files

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

matGeom

Version 1.2.8

by David Legland

A collection of functions for 2D and 3D geometric computing (intersections, distance...) on various shapes: polygons, meshes, ellipsoids...

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

MCmatlab

Version 4.4.9

by Dominik Marti

Numerical simulation tool for Monte Carlo propagation of light in turbid media

media are referred to by a number, corresponding to the "j" defined in "mediaPropertiesFunc" at the end of the model file.You may optionally import your geometry from STL files as shown in example

brainSurfer

Version 2.0.2.2

by Alex Teghipco

MATLAB toolbox for visualizing brain data on surfaces.

Medical software for Processing multi-Parametric images Pipelines

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

This is my public repo of all my MATLAB Screen cast codes and other random codes written in MATLAB

Conversion of meshes into U3D files for making multilayer 3D PDF figures with transparency.

TPMS Designer

Version 3.2.1.2

by Alistair Jones

TPMS Designer is a toolbox to aid in design and analysis of cellular structures

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

Bifurcation analysis of dynamical systems. Integration of AUTO bifurcation software into MATLAB.

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

Optometrika

Version 2.3.2.0

by Yury

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

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

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

gypsilab

Version 1.41.0.0

by Aussal Matthieu

Fast numerical method for protyping in matlab (FEM, BEM, H-Matrix, ray-tracing, etc.)

gptoolbox

Version 1.1.0.0

by Alec Jacobson

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

POfacets4.5

Version 4.5

by David Jenn

POFACETS calculates the monostatic or bistatic radar cross section (RCS) of meshed targets.

MIB is a package for segmentation of multi-dimensional (2D-4D) microscopy datasets

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

Find the per-vertex normals for a tesselated surface.

Plot 3d vectors

Version 1.0.0.0

by Pirmin Borer

Plot real 3d arrows from .stl file. Similar to quiver

h=vector3d(X,Y,Z,U,V,W,'Property','Value',...) Plot 3d vectors (real 3d) from .stl file to specified location and direction. basically same usage as quiver3. Property/value pairs are passed to

Six-wheeled electrically-driven rover that navigates uneven terrain to retrieve a sample.

Given a surface triangulation, compute the volume enclosed using divergence theorem.

These are the MATLAB examples used in the '3D Finite Element Analysis with MATLAB' webinar

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

Bidirectional conversion between C/C++ type (STL, openCV) and Matlab matrix (compile or run time)

Title: C/C++ <-> Matlab types convertorBrief: Bidirectional conversion between C/C++ types (native, STL, openCV...) and Matlab matrix (compile or run time).Key words: C, C++, mxArray, OpenCV

Load more