image thumbnail

updated 7 days ago

Curvature Estimationl On triangle mesh by Itzik Ben Shabat

Computes curvature and curvature derivative tensors in each vertex of a triangle meshes (curvature, mesh, computational geometr...)

GetCurvaturesAndDerivatives( FV,toggleDerivatives )

[FaceCMatrix,VertexCMatrix,Cmagnitude]=CalcCurvatureDeriv...

[FaceNormals]=CalcFaceNormals(FV)

image thumbnail

updated 17 days 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 22 days ago

Compute a Tutte map of a planar surface triangulation by Dylan Muir

Map a surface mesh onto a planar unit circle, using Tutte's algorithm (surface, triangulation, mesh)

TutteMap(mnTriangulation)

[ mnEdges, mbVertVertAdjacency, ...

image thumbnail

updated 22 days ago

Fast Loop mesh subdivision by Dylan Muir

Subdivide a surface mesh, using Loop subdivision. Boundary- and shape-maintaining (surface, mesh, triangulation)

...

image thumbnail

updated 1 month ago

Kohonen's Self Organizing Feature Map by ammar al jodah

This SOM will learn a 3d shape of random features (kohonen, self organizing featu..., som)

som3dmesh.m

image thumbnail

updated 2 months ago

Unstructured quadrilateral mesh quality assessment by Allan Peter Engsig-Karup

Assess the quality of a quadrilateral mesh using a simple indicator. (mesh, quality, quadrilateral)

MeshQualityQuads(EToV,VX,VY)

image thumbnail

updated 3 months ago

Fast Alpha Hulls (alpha shapes in 3d; parfor enabled) by Dylan Muir

Compute the alpha hulls (exterior and interior) of a set of points. (alpha hull, shape, surface)

AlphaHull(mfPoints, fAlphaRadius, triDelaunay)

TriCircumcenter(vfPoint1, vfPoint2, vfPoint3)

image thumbnail

updated 4 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 5 months ago

Dataplot3 by Tapiwa

2D position versus value plot with random position (temperature, plot, field)

dataplot3( Data, Pos, res )

image thumbnail

updated 5 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 6 months ago

intriangulation - which points are inside a 3d watertight triangulation? by Johannes Korsawe

Are 3D-testpoints located inside or outside an arbitrary watertight mesh with vertices and faces? (inside, 3d, point)

intriangulation(vertices,faces,testp)

image thumbnail

updated 8 months ago

MSH (fluent mesh) reader by Wouter

This function loads a fluent mesh (*.msh file) into an matlab struct. (mesh, import, fluent)

mshread( filelocation, disp_loading_progress )

image thumbnail

updated 8 months ago

2D image to STL mesh by Pasquale Franciosa

Convert 2D images to 3D stl CAD model (image processing, mesh, gui tools)

View3dIMAGE.m

view3d(arg,arg2)

image thumbnail

updated 9 months 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 10 months ago

Export figure to 3D interactive PDF by Ioannis Filippidis

Export figure as U3D file or directly to 3D interactive graphics within PDF. (3d, u3d, graphics)

[strmodelshading, strfaces_colors, strfaceshading, strcol...

arclength(px,py,varargin)

axes_extremal_xyz(ax)

image thumbnail

updated 10 months ago

unifyMeshNormals by Sven

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

unifyMeshNormals( varargin )

image thumbnail

updated 11 months ago

Linear Blend Skinning by Aaron Wetzler

Simple example of linear blend skinning in Matlab (skinning, linear blend skinning, mesh)

loadbvh(fname)

plotax(pt,R,sz)

DEMO_lbs.m

image thumbnail

updated 11 months ago

gradedmesh by Ben Postlethwaite

Meta-function and optional GUI that transforms linear mesh coordinates into a chosen graded mesh (mesh graded gradedmes..., mesh graded gradedmes..., mesh)

meshfunc(curve, weight)

meshgui(varargin)

plotmesh( x, z )

image thumbnail

updated 1 year ago

3D Surface Plot For Data Visualization by Yehonatan Peleg

Easy to use function for 3d surface plotting of sample data. (3d, 3d surface, 3d plot)

vecsurf_demo

vecsurf(varargin)

vecsurf_testmain.m

image thumbnail

updated 1 year ago

Animated mesh on the web by Benjamin I

Convert a matlab mesh to a transforming 3D figure on the web (html, mesh, animation)

x3mesh_deform(f,v, v2, varargin)

demo1.m

demo2.m

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 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 1 year ago

Grid Generation by Siva Srinivas Kolukula

To demonstrate grid generation using analytic coordinates systems. (grid, grid generation, mesh)

BipolarCoordinates(Xi,Eta,a)

EllipticCylinderCoordinates(Xi,Eta,a)

Horseshoe(Xi,Eta,row,b0,b1)

image thumbnail

updated 1 year ago

Spin/Rotate your plot! by Yu Ang Tan

Spins your plot in the z-axis! (cool, awesome, visual)

spin3dplot

image thumbnail

updated 1 year 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 1 year 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 1 year 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

regular_mesh by Immanuel Anjam

Regular (uniform) meshes for non-rectangular domains. (regular, uniform, mesh)

[x,y]=geom(bs,s)

[x,y]=geom(bs,s)

drawedges(geom)

image thumbnail

updated almost 2 years ago

read_tetgenmesh by Immanuel Anjam

Reads Tetgen meshes into Matlab (tetgen, 3d, mesh)

read_tetgenmesh( file )

test.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

Polygon2Voxel by Dirk-Jan Kroon

Convert a triangulated mesh into a voxel volume (discretization, mesh, polygons)

Volume=polygon2voxel(FV,VolumeSize,mode,Yxz)

Volume=polygon2voxel_double(FacesA,FacesB,FacesC,Vertices...

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

loadAmiraMesh by Cengiz Gunay

Load Amira Mesh 3D ASCII data (amira, mesh, data)

loadAmiraMesh(filename, isverbose)

image thumbnail

updated 2 years ago

The Plane Stress Problem by Siva Srinivas Kolukula

Plate under uniform tension at its edges is solved using Finite Element Method (finite element method, postprocessing, plate)

GaussQuadrature(ngl)

PlotFieldonMesh(coordinates,nodes,component)

PlotMesh(coordinates,nodes)

image thumbnail

updated 2 years ago

Meshing thin shells using four noded elements by Siva Srinivas Kolukula

To mesh thin shells using four noded elements to use in Finite Element Analysis (thin shells, preprocessing, finite element analys...)

MeshConicalShell(Radius,theta,Height,NT,NR)

MeshCylindricalShell(Radius,theta,Height,NH,NT)

MeshSphericalShell(Radius,Height,theta,phi,N)

image thumbnail

updated 2 years ago

Meshing a plate using four noded elements by Siva Srinivas Kolukula

To mesh a plate with four noded elements for Finite Element Analysis (preprocessing, mesh, nodes)

MeshCircularPlate(Radius,theta,NR,NT)

MeshRectanglularPlate(L,B,Nx,Ny)

SHOWELEMENTS(ShowElements,ShowNodes,coordinates,X,Y,nel,n...

image thumbnail

updated 2 years ago

vtkpipe by LeFlaux

Pipe visualization data to vtk files. (vtk, visualization, data export)

vtkquiver(x, y, z, u, v, w, varname, filename)

vtkseries(t, f, filename)

vtktrisurf(tri, x, y, z, argin5, argin6, argin7)

image thumbnail

updated almost 3 years ago

QUADPLOT - for plotting 2D quad-meshes by Allan Peter Engsig-Karup

QUADPLOT is a routine for plotting 2D meshes based on quadrilaterals. (mesh, plot, quads)

quadplot(quad,varargin)

image thumbnail

updated almost 3 years ago

QUADPLOT - for plotting 2D quad-meshes by Allan Peter Engsig-Karup

QUADPLOT - for plotting 2D quad-meshes in Matlab. (mesh, plot, quad)

quadplot(quad,varargin)

image thumbnail

updated almost 3 years ago

Finite Element Triangular Mesh Generator by Kehinde OROLU

This function generates triangular mesh for a rectangular shape structure for FEM analysis (mesh, finite element analys..., matrix)

[coords cT nNodes ]=femTriangularMeshGenerator(Lx,Ly,Nx,NE)

FEMmeshExample.m

image thumbnail

updated almost 3 years ago

Wavefront OBJ toolbox by Dirk-Jan Kroon

Read and Write Wavefront OBJ geometry and MTL files (obj, wavefront, wobj)

OBJ=read_wobj(fullfilename)

write_wobj(OBJ,fullfilename)

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

Create 3D-interactive HTML File from MATLAB surface, Part2 by Sven Koerner

This function allows to show 3d-surface plots in html - documents. (figure, html, interactive)

javaview_nosym(surface_handle, filename, destination, sou...

image thumbnail

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

meshCanopy by Sean de

Display a mesh above a grayscale image (mesh, slice, colormap)

meshCanopy(I,Mdata,Mmap,height)

image thumbnail

updated almost 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

3D Surface/Mesh to VRML Utility: mesh2vrml 1.0 by Simulink Dude

Convert MATLAB 3D surface to ElevationGrid in VRML (simulink, 3d, animation)

filename_final=mesh2vrml(X, Y, Z)

startmeup.m

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

2D polygon interior detection by Bruno Luong

Detect a whereas a point is interior or exterior to a 2D polygon (inpolygon, polygon, mesh)

benchinpoly(xv, yv, ntest)

insidepoly(varargin)

insidepoly_dblengine

image thumbnail

updated 4 years ago

Create 3D-interactive HTML File from MATLAB surface by Sven Koerner

This function uses the abiliy from MuPad to create javaview-files (jvd, jvx) and html - documents. (3d, mesh, surface)

javaview(surface_handle, filename, destination, source, o...

Contact us