image thumbnail

updated 7 days ago

Pointsinpolyhedron-Test if points are in polyhedron by guo YuFei

Test if points are inside/outside/on single material or multi-material triangulated polyhedron (point, points, polyhedron)

Tutorial and examples of PINPOLYHEDRON function

first_step.m

image thumbnail

updated 20 days ago

STL Lattice Generator by Marten

Lattice generator program in STL format for additive manufacturing (modeling, stl, 3d printing)

Lattice_program_v0.m

image thumbnail

updated 1 month ago

punctureSurface by Paul Kassebaum

Create a 3D printable meshed surface (3d printing, stl, mesh)

punctureSurface(manifold, boundVert, holeSize, shellThick...

tPunctureSurface.m

image thumbnail

updated 3 months ago

octree - partitioning 3D points into spatial subvolumes by Sven

OcTree recursively splits a large set of points into smaller subvolumes. A QuadTree but in 3D. (stl, space, volume)

OcTree

image thumbnail

updated 5 months ago

splitFV - split a mesh by Sven

Splits a 2D or 3D mesh defined by faces and vertices into separately connected mesh pieces. (mesh, separate, split)

splitFV( f, v )

image thumbnail

updated 7 months ago

Camera-Positioner by Michael

Transforms objects to optical motion tracker coordinates (stl, computer vision, computation geometry)

image thumbnail

updated 9 months ago

inpolyhedron - are points inside a triangulated volume? by Sven

Test if 3d points are inside a mesh. Or, voxelise a mask from a surface. Mesh can be non-convex too! (inpolygon, stl, mesh)

inpolyhedron(varargin)

image thumbnail

updated 10 months ago

surf2solid - make a solid volume from a surface for 3D printing by Sven

Turns thin surfaces into closed solids by adding a flat base or offsetting by a given thickness. (stl, patch, mesh)

surf2solid(varargin)

image thumbnail

updated 11 months ago

Fast batch generation of permutations by Peter Li

Get next block of lexicographic permutations of input vector (permutation, combinatorics, mex)

nextperms.m

nextperms_example_script.m

image thumbnail

updated 1 year ago

Export Voxel Data by Cyprian Lewandowski

Export objects described in a logical matrix, label matrix or voxel list to STL and PovRay mesh2. (data export, logical matrix, label matrix)

ExportVoxelData(export_data, varargin)

N_3DAddMesh(faces, vertices, mesh_name, resample, smoothi...

N_3DAddVoxelData(Voxel_List, mesh_name, stl_file, pov_file)

image thumbnail

updated 1 year ago

unifyMeshNormals by Sven

Aligns adjacent faces in a triangulated mesh surface or volume (mesh, stl, normal)

unifyMeshNormals( varargin )

image thumbnail

updated 1 year ago

Write STL C++ Mex function by Arso

c++ mex function for writing ASCII stl file from nodes and triangles list (c, mex, stl)

test

image thumbnail

updated 1 year ago

stlwrite - Write binary or ascii STL file by Sven

Export a variety of inputs (patch, surface) to an STL triangular mesh (data import, data export, stl)

stlwrite(filename, varargin)

image thumbnail

updated almost 2 years ago

Mesh voxelisation by Adam A

Voxelise a triangular-polygon mesh. (cad, stl, data import)

COMPUTE_mesh_normals(meshdataIN,invertYN)

CONVERT_meshformat(varargin)

READ_stl(stlFILENAME,varargin)

image thumbnail

updated 2 years ago

Parametrized uniform triangulation of 3D circle/sphere by Arso

Short function for parametric triangulation of 3d sphere (circle, sphere, triangulation)

sphereTriangulation(numIterations, radius)

testSphereTriangulation.m

image thumbnail

updated 2 years ago

Converting a 3D logical array into an STL surface mesh by Adam A

Conversion of a voxelised object contained within a 3D logical array into an STL surface mesh. (stl, cad, data export)

CONVERT_meshformat(varargin)

CONVERT_voxels_to_stl(STLname,gridDATA,gridX,gridY,gridZ,...

READ_stl(stlFILENAME,varargin)

image thumbnail

updated 2 years ago

STL to ACIS SAT conversion by Adam A

Convert an STL file into ACIS SAT, which can be more readily imported into various CAD packages. (cad, stl, acis)

CONVERT_stl_to_sat(varargin)

PLOT_3D_stl_patch(coordVERTICES,varargin)

READ_stl(stlFILENAME,varargin)

image thumbnail

updated 2 years ago

stlwrite - Write binary or ascii STL file by Grant Lohsen

This is an update to the excellent work done by Sven Holcombe to add color support (data export, data import, mesh)

stlwrite(filename, varargin)

image thumbnail

updated 2 years ago

Binary STL file reader by Grant Lohsen

Update of the stlread function by Francis Esmonde-White to properly implement color reading. (3d models, binary, cad)

stlread(filename, verbose)

image thumbnail

updated 3 years ago

Compute STL Vertex Normals by Francis Esmonde-White

Find the per-vertex normals for a tesselated surface. (stl, normal, vertex normal)

[vn]=STLVertexNormals(f, v, fn)

image thumbnail

updated 3 years ago

STL File Reader by Eric Johnson

STLREAD imports geometry from a binary stereolithography (STL) file into MATLAB. (data import, data export, geometry)

3D Model Demo

stlread(file)

image thumbnail

updated 3 years ago

Generate U3D files from STL models for making multilayer 3D PDF figures by Francis Esmonde-White

Conversion of meshes into U3D files for making multilayer 3D PDF figures with transparency. (stl, mesh, 3d)

idtf2u3d(idtf_filename, u3d_filename)

installGoogleArchive(downloadLocation, zipFile)

mesh2idtf(varargin)

image thumbnail

updated 3 years ago

Show 3D model by Francis Esmonde-White

A function to simplify plotting 3D models. (stl, 3d model, patch)

show_model(model,varargin)

image thumbnail

updated 3 years ago

SimMechanics STL file importer by Jean-Baptiste Lanfrey

MATLAB code that automatically creates SimMechanics blocks from text-based STL files. (simmechanics, stl, stereolithographic)

density()

mech_import_stl(varargin)

stl2m

image thumbnail

updated 3 years ago

STL to FACET model geometry file converter by Eric Trautmann

This script imports an STL file and writes a .facet file commonly used by Xpatch, etc. (geometry, stl, facet)

stl2facet3(infile,material,varargin)

varargout=import_stl_fast(filename,mode)

image thumbnail

updated 3 years ago

Fast STL import function by Eric Trautmann

Function to import .stl geometry model files into matlab. (geometry, stl, model)

varargout=import_stl_fast(filename,mode)

image thumbnail

updated 3 years ago

surf2solid by Matthew Roughan

Conversion routines to take a surface and convert this into a solid. (stl, 3d printer, data export)

surf2solid(x,y,z, S, delta)

surf2solid_polar(theta, r, z, S, delta)

surf2solid_ex.m

image thumbnail

updated almost 4 years ago

Patch Slim (patchslim.m) by Francis Esmonde-White

Remove duplicate vertices in surface meshes. (stlread, stl file, 3d models)

[vnew, fnew]=patchslim(v, f)

image thumbnail

updated almost 4 years ago

Binary STL file reader by Francis Esmonde-White

This binary STL file reader is much faster than the existing readers. (stl file, stlreadm, 3d models)

stlread(filename, verbose)

image thumbnail

updated almost 4 years ago

Compute mesh normals by Adam A

Calculate the normal vectors for each facet of a triangular mesh. (mesh, normals, stl)

COMPUTE_mesh_normals(meshdataIN)

PLOT_3D_stl_patch(coordVERTICES,varargin)

READ_stl(stlFILENAME,varargin)

image thumbnail

updated 4 years ago

Tool for handling tessellated free shape objects with a Morphing Mesh Procedure by Pasquale Franciosa

Permits to import and modify a triangulated stl model by means of a morphing mesh approach. (gui, graphics, 3d plot)

A=evalAdjacentMatrix(Faces)

Bern=evalBern(n)

GUI_interface.m

image thumbnail

updated 4 years ago

Volume of a surface triangulation by Krishnan Suresh

Given a surface triangulation, compute the volume enclosed using divergence theorem. (stl, volume, triangles)

stlVolume(p,t)

image thumbnail

updated almost 5 years ago

Matlab mesh to PDF with 3D interactive object by Alexandre Gramfort

Export triangulated mesh into a pdf with a 3D interactive object. (mesh, pdf, latex)

mesh_normals(points,faces)

mesh_to_latex(fname,points,faces,face_vertex_data)

save_idtf(filename,points,faces,face_vertex_data)

image thumbnail

updated 5 years ago

STL_Export by Andreas Richter

This is a tool to export 3D graphics from a Tri_Surface file to an ASCII STL file. (stl, automotive, aerospace)

STL_Export.m

image thumbnail

updated almost 10 years ago

stlread by Doron Harlev

Read STL file into MATLAB patch compatible matrixes. (data import, data export, stl)

image thumbnail

updated almost 11 years ago

surf2stl by Bill McDonald

Write STL file from surface data. (data import, data export, stl)

image thumbnail

updated 11 years ago

CAD2MATDEMO.M by Don Riley

3D CAD data to MATLAB Converter, CAD STL to MATLAB Patch. (data import, data export, 3d cad)

cad2matdemo(filename)

showmethedemos.m

Contact us