image thumbnail

updated 27 days ago

3D Surface Plot For Data Visualization by Yehonatan Peleg

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

vecsurf_demo

vecsurf(varargin)

vecsurf_testmain.m

image thumbnail

updated 1 month 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 3 months 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. (x3dom, html, 3d)

x3mesh(f,v, varargin)

demo1.m

demo2.m

image thumbnail

updated 3 months ago

stlwrite - Write binary or ascii STL file by Sven

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

stlwrite(filename, varargin)

image thumbnail

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

Spin/Rotate your plot! by Yu Ang Tan

Spins your plot in the z-axis! (3d, mesh, visual)

spin3dplot

image thumbnail

updated 5 months ago

Mesh voxelisation by Adam A

Voxelise a triangular-polygon mesh. (cad, mesh, voxelize)

COMPUTE_mesh_normals(meshdataIN,invertYN)

CONVERT_meshformat(varargin)

READ_stl(stlFILENAME,varargin)

image thumbnail

updated 8 months ago

inpolyhedron - are points inside a volume? by Sven

It's inpolygon(), but for 3D triangulated surfaces. (non-convex surfaces, too!) (inpolygon, inside, mesh)

inpolyhedron(varargin)

image thumbnail

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

Export figure to 3D interactive PDF by Ioannis Filippidis

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

[strmodelshading, strfaces_colors, strfaceshading, strcolor...

arclength(px,py,varargin)

axes_extremal_xyz(ax)

image thumbnail

updated 12 months ago

read_tetgenmesh by Immanuel Anjam

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

read_tetgenmesh( file )

test.m

image thumbnail

updated 12 months 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,va...

READ_stl(stlFILENAME,varargin)

image thumbnail

updated 1 year ago

Polygon2Voxel by Dirk-Jan Kroon

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

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

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

image thumbnail

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

loadAmiraMesh by Cengiz Gunay

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

loadAmiraMesh(filename, isverbose)

image thumbnail

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

The Plane Stress Problem by Siva Srinivas Kolukula

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

GaussQuadrature(ngl)

PlotFieldonMesh(coordinates,nodes,component)

PlotMesh(coordinates,nodes)

image thumbnail

updated 1 year 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 1 year 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,nod...

image thumbnail

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

Fast Alpha Hulls (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 1 year ago

Unstructured quadrilateral mesh quality assessment by Allan Peter Engsig-Karup

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

MeshQualityQuads(EToV,VX,VY)

image thumbnail

updated almost 2 years 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 almost 2 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 2 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 2 years ago

Finite Element Triangular Mesh Generator by Kehinde OROLU

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

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

FEMmeshExample.m

image thumbnail

updated almost 2 years ago

Wavefront OBJ toolbox by Dirk-Jan Kroon

Read and Write Wavefront OBJ geometry and MTL files (3d studio max, obj, blender)

OBJ=read_wobj(fullfilename)

write_wobj(OBJ,fullfilename)

image thumbnail

updated 2 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 2 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, sourc...

image thumbnail

updated 2 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 2 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 3 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. (mesh, stl, 3d plot)

A=evalAdjacentMatrix(Faces)

Bern=evalBern(n)

GUI_interface.m

image thumbnail

updated 3 years ago

3D Surface/Mesh to VRML Utility: mesh2vrml 1.0 by Saurabh Mahapatra

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

filename_final=mesh2vrml(X, Y, Z)

startmeup.m

image thumbnail

updated 3 years ago

Mesh2Tetra by Dirk-Jan Kroon

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

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

Faces=GetRemainingFaces(T,F,V)

InsidePoints3D(V,F)

image thumbnail

updated 3 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 3 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, ope...

image thumbnail

updated 3 years ago

Generate vertices, faces and color for u3d format by Sven Koerner

Generate vertices, faces and color for u3d format and display it in pdf or doc, xls and ppt (3d, u3d, excel)

u3d_pre

image thumbnail

updated 3 years ago

Plots a surface coloring by layers (using contour curves) by Rafael Palacios

Creates a surface and applies color by layers. Different elevation levels are clearly identified. (surface coloring, elevation, contour)

[s m]=surflayers(X,Y,Z,layers)

image thumbnail

updated 3 years ago

Smooth Triangulated Mesh by Dirk-Jan Kroon

Accurate smoothing of triangulated patch / mesh (curvature, umbrella, 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 3 years ago

view2dm by Jeff Tuhtan

View a SMS .2dm mesh file in MATLAB using 'patch'. (sms, 2dm, patch)

view2dm(fileName,cmap,sh,li,al)

image thumbnail

updated 3 years ago

Triangular Mesh Refinement by Dirk-Jan Kroon

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

Fnew=makenewfacelist(F,HT_index, HT_values)

Ne=vertex_neighbours(FV)

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

image thumbnail

updated 3 years ago

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

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

mesh_normals(points,faces)

mesh_to_latex(fname,points,faces,face_vertex_data)

save_idtf(filename,points,faces,face_vertex_data)

image thumbnail

updated 3 years ago

Triangle Subdivide (vectorized/fast) by Peter Karasev

vectorized 4x triangle subdivision: subdivide_tri.m (mesh, triangle, triangulate)

subdivide_tri( xyz, faces )

image thumbnail

updated 3 years ago

Remove Unconnected Triangle by David Gingras

This function takes a triangular mesh and remove the unconnected cells. (delaunay, triangulation, mesh)

[TRI2 XYZ2]=removeUnconnectedTri(TRI1,XYZ1,triID)

image thumbnail

updated almost 4 years ago

Two functions for smoothing/denoising of triangular meshes by J. Ole Kaven

2 functions to smooth noisy triangular meshes: Mean face normal filtering, Laplace flow filtering (mesh filter, smoothing, 3d)

image thumbnail

updated almost 4 years ago

Unstructured triangle mesh quality assesment by Allan Peter Engsig-Karup

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

MeshQuality(EToV,VX,VY)

Contact us