image thumbnail

updated 1 month 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 12 months 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

Simple 3D mesh to web converter by Benjamin I

A simple script to convert a mesh consisting of faces and vertices to an interactive html document. (mesh, x3dom, 3d)

x3mesh(f,v, varargin)

demo1.m

demo2.m

image thumbnail

updated almost 2 years ago

Meshing a spherical shell by Bilen Oytun Peksel

This small function meshes a spherical shell and returns to unique vertices and proper faces matrix (mesh, spherical, nodal connectivity)

mesh_sph (rho,theta,phi)

image thumbnail

updated almost 2 years ago

Vertices and faces matrices generation for rectangular prisms by Bilen Oytun Peksel

Vertices and faces matrices generation for rectangular prisms (faces, vertices, rectangular prism)

gen_vert (ms_x,ms_y,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 2 years ago

Active Shape Model (ASM) and Active Appearance Model (AAM) by Dirk-Jan Kroon

Cootes 2D/3D Active Shape & Appearance Model for automatic image object segmentation and recognition (asm, active shape model, active shape)

A=imresize3d(V,scale,tsize,ntype,npad)

AAM_2D_example.m

AAM_3D_train_example.m

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

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 3 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 4 years ago

Mesh2Tetra by Dirk-Jan Kroon

Convert a closed triangulated mesh to a tetrahedron volume ( like constrained Delaunay ) (constrained delaunay, delaunay, delaunayn)

C=PointToClosestPointOnPlane(A,B,C,P)

Faces=GetRemainingFaces(T,F,V)

InsidePoints3D(V,F)

image thumbnail

updated 4 years ago

Smooth Triangulated Mesh by Dirk-Jan Kroon

Accurate smoothing of triangulated patch / mesh (curvature, curvature flow, smoothing)

FV2=smoothpatch(FV,mode,itt,lambda,sigma)

Ne=vertex_neighbours(FV)

Ne=vertex_neighbours_double(Fa,Fb,Fc,Vx,Vy,Vz)

image thumbnail

updated 4 years ago

Triangular Mesh Refinement by Dirk-Jan Kroon

This function will refine a triangular mesh with 4-split spline interpolation (approximation, interpolation, triangular)

Fnew=makenewfacelist(F,HT_index, HT_values)

Ne=vertex_neighbours(FV)

Ne=vertex_neighbours_double(Fa,Fb,Fc,Vx,Vy,Vz)

image thumbnail

updated 5 years ago

Patch Normals by Dirk-Jan Kroon

Calculates the normal vectors of a triangulated mesh (patch) (patch, isosurface, normals)

N=patchnormals(FV)

[Nx,Ny,Nz]=patchnormals_double(Fa,Fb,Fc,Vx,Vy,Vz)

image thumbnail

updated 6 years ago

readObj by Bernard Abayowa

readObj file into Matlab structure (data import, data export, obj)

readObj(fname)

image thumbnail

updated 8 years ago

Fix to SHRINKFACES by Ofek Shilon

A fix to shrinkfaces that behaves as documented also for patches not formed with faces/vertices prop (data exploration, shrinkfaces, patch)

myshrinkfaces(varargin)

Contact us