image thumbnail

updated 15 days ago

gptoolbox by Alec

Alec (view profile)

Useful functions for geometry processing, constrainted optimization and image processing. (geometry, geometry processing, linear algebra)

image thumbnail

updated 1 month ago

Compute exact rigid-body parameters of objects represented by triangular surface meshes by Anton Semechko

Compute exact rigid body parameters of closed triangular surface meshes using divergence theorem (local reference frame, rigid body, kinematics)

IcosahedronMesh

RBP_cuboid(TR,vis)

RBP_ellipsoid(TR,vis)

image thumbnail

updated 1 month ago

Elliptic Mesh Smoother by Andrew

Andrew (view profile)

Smooth an initial 2d mesh distribution using the elliptic grid equation (mesh, cfd, grid)

elliptic_mesh(xy)

test.m

image thumbnail

updated 2 months ago

stlwrite(filename, varargin) by Sven

Sven (view profile)

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

stlwrite(filename, varargin)

image thumbnail

updated 2 months ago

icosphere by wil

wil (view profile)

Generate unit geodesic sphere created by subdividing a regular icosahedron (geometry, surface, mesh)

icosphere(varargin)

image thumbnail

updated 3 months ago

IsoLine by Ulrich Reif

IsoLine is drawing lines on a surface along which a given function has constant values. (triangulation, contour, mesh)

IsoLine(Surf,F,V,Col)

IsoLineDemo

image thumbnail

updated 3 months ago

Shape Model Builder by Manu

Manu (view profile)

Framework to develop shape models (image processing, mesh, image registration)

ICPmanu_allign2(target,source)

ICPmanu_allignSSM(vnew,MEAN3d,estimate,BTXX,BTXY,BTXZ,nro...

PCAData(RR)

image thumbnail

updated 3 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)

image thumbnail

updated 3 months ago

Patch Remesher by Manu

Manu (view profile)

Iterative triangle optimization for mesh (patch, image processing, mesh)

cleanpatch(V, F)

edgecollaps( vnew, fnew, sizzz,voriginal,foriginal )

project(vS,fS,vT,fT)

image thumbnail

updated 3 months ago

Code to realize Olga Sorkine paper by Mohamed Elkomy

used in accompany with graph tool box (mesh)

testA.m

test_12.m

test_13.m

image thumbnail

updated 3 months ago

Pointsinpolyhedron-Test if points are in polyhedron by YuFei Guo

YuFei Guo (view profile)

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 3 months ago

Fast mesh-mesh intersection using ray-tri intersection with octree spatial partitioning. by Thomas

Fast mesh-mesh intersection based on ray-tri solution. Octree partitioning gives large speed-up. (triangular mesh, delaunay, intersection)

fastMesh2Mesh.m

mesh2mesh(facesInA, pointsInA, facesInB, pointsInB)

octMesh(facesA, pointsA, facesB, pointsB, octs)

image thumbnail

updated 4 months ago

2 Dimensional Optimization using a Continuous Genetic Algorithm by Hashem Rizk

Function Optimization using a Continuous Genetic Algorithm (gentic, optimization, gui)

GeneticAlgorithmOptimizationGUI(varargin)

image thumbnail

updated 5 months ago

ColorBrewer: Attractive and Distinctive Colormaps by Stephen Cobeldick

The complete palette of ColorBrewer colormaps. Simple selection by scheme name and map length. (colormap, colorbrewer, rgb)

image thumbnail

updated 5 months ago

Exact minimum bounding spheres/circles by Anton Semechko

Compute exact or approximate minimum bounding spheres/circles (optimization, geometry, sphere)

ApproxMinBoundSphereND.m

ExactMinBoundCircle(X)

ExactMinBoundSphere3D(X)

image thumbnail

updated 5 months ago

DUALMESH - Polygonal mesh construction. by Darren Engwirda

Darren Engwirda (view profile)

Construct polygonal "dual" meshes from 2-simplex triangulations embedded in R^3. (mathematics, modeling, 2d)

image thumbnail

updated 6 months ago

Surface Intersection by Jaroslaw Tuszynski

Intersection of two triangulated surfaces (mesh, surface, intersection)

Tutorial for SurfaceIntersection Function

SurfaceIntersection.m

image thumbnail

updated 6 months ago

Computational Geometry Toolbox by George Papazafeiropoulos

Convex hull, mesh generation, Delaunay triangulation, Voronoi diagram and other algorithms. (bounding box, concave, convex)

Bounding box of a random point set in 2-dimensional space

Bounding box of a random point set in 3-dimensional space

Bounding box of a random point set in 4-dimensional space

image thumbnail

updated 6 months 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)

femTriangularMeshGenerator(Lx,Ly,Nx,NE)

FEMmeshExample.m

image thumbnail

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

geom3d by David Legland

David Legland (view profile)

Library to handle 3D geometric primitives: create, intersect, display, and make basic computations (potw, pick of the week, 3d)

demoDrawTubularMesh

demoGeom3d

demoInertiaEllipsoid

image thumbnail

updated 8 months ago

3D mesh transform using sparse control points by Daniel Markel

Performs a 3D non-rigid deformation using irregularly placed transformation vectors (non rigid, deformation, sparse)

inhull(testpts,xyz,tess,tol)

mesh_transform3D2(im,bold,bnew,tmesh,X,Y,Z)

image thumbnail

updated 8 months ago

meshArea.m by Thomas

Calculate the area of a triangular irregular network (point cloud, tin, mesh)

meshArea(faces, points)

image thumbnail

updated 10 months ago

fastscatter.m by Aslak Grinsted

Aslak Grinsted (view profile)

A much faster scatterplot (scatter, scatterplot, points)

h=fastscatter(X,Y,C,varargin)

image thumbnail

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

splitFV - split a mesh by Sven

Sven (view profile)

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

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

Dylan Muir (view profile)

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

TutteMap(mnTriangulation)

[ mnEdges, mbVertVertAdjacency, ...

image thumbnail

updated 12 months ago

Fast Loop mesh subdivision by Dylan Muir

Dylan Muir (view profile)

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

...

image thumbnail

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

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

Dylan Muir (view profile)

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

inpolyhedron - are points inside a triangulated volume? by Sven

Sven (view profile)

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

Dataplot3 by Tapiwa

Tapiwa (view profile)

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

dataplot3( Data, Pos, res )

image thumbnail

updated 1 year ago

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

Sven (view profile)

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

MSH (fluent mesh) reader by Wouter

Wouter (view profile)

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

mshread( filelocation, disp_loading_progress )

image thumbnail

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

unifyMeshNormals by Sven

Sven (view profile)

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

unifyMeshNormals( varargin )

image thumbnail

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

Spin/Rotate your plot! by Yu Ang Tan

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

spin3dplot

image thumbnail

updated 2 years ago

Mesh voxelisation by Adam A

Adam A (view profile)

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

Arso (view profile)

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

sphereTriangulation(numIterations, radius)

testSphereTriangulation.m

image thumbnail

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

read_tetgenmesh by Immanuel Anjam

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

read_tetgenmesh( file )

test.m

Contact us