Welcome to MeshMash
MeshMash is a powerful Python library that provides advanced mesh processing utilities with a focus on spectral geometry methods. It enables you to analyze, decompose, and manipulate 3D meshes using cutting-edge algorithms from computational geometry.Key Features
Spectral Decomposition
Compute Laplacian eigendecomposition and Heat Kernel Signatures (HKS) for geometric analysis
Mesh Operations
Extract components, subset meshes, fix topology, and perform complex mesh transformations
Graph Processing
Convert meshes to graphs, compute adjacencies, and perform label propagation
Advanced Splitting
Hierarchically split large meshes using spectral methods for parallel processing
What Makes MeshMash Unique?
Spectral Geometry Processing
Spectral Geometry Processing
MeshMash implements state-of-the-art spectral methods including:
- Cotangent Laplacian computation with robust formulation
- Heat Kernel Signatures for multi-scale geometric features
- B-spline spectral filters for frequency-domain processing
- Band-by-band eigendecomposition for large meshes
Robust Mesh Processing
Robust Mesh Processing
Built-in support for:
- Non-manifold mesh handling via robust Laplacian
- Automatic mesh repair and topology fixing
- Connected component analysis and filtering
- Efficient sparse matrix operations
Scalable Architecture
Scalable Architecture
Designed for large-scale data:
- Hierarchical mesh splitting for parallel processing
- Cloud storage integration (Google Cloud, local filesystems)
- Memory-efficient sparse representations
- Chunked processing pipelines
Use Cases
MeshMash is ideal for:- 3D Shape Analysis: Extract geometric features for machine learning
- Mesh Segmentation: Partition meshes using spectral clustering
- Neuroscience: Process neuronal morphology and connectivity data
- Computer Graphics: Analyze and filter mesh geometry in frequency domain
- Computational Biology: Work with molecular surfaces and biological structures
MeshMash integrates seamlessly with popular libraries like NumPy, SciPy, PyVista, and gpytoolbox.
Core Capabilities
Laplacian Methods
Compute cotangent Laplacian with optional robust formulation for non-manifold meshes:Spectral Decomposition
Decompose meshes into their spectral components:Mesh Utilities
Powerful utilities for mesh manipulation:Ready to Get Started?
Installation
Install MeshMash with pip or conda
Quick Start
Run your first mesh processing code