Skip to content
/ melon Public

πŸ‰ A comprehensive Python library for 3D mesh processing with advanced I/O capabilities, proximity analysis, and integration with external mesh processing tools.

License

Notifications You must be signed in to change notification settings

liblaf/melon

✨ Features

  • πŸ—‚οΈ Advanced I/O: Supports reading and writing various mesh formats (OBJ, PLY, STL, VTK, VTP, VTU) with seamless integration to PyVista and Trimesh;
  • πŸ“ Proximity Analysis: Provides efficient algorithms for nearest point and nearest point on surface queries with configurable thresholds and normal-based filtering;
  • πŸ”§ External Tool Integration: Wraps powerful external tools like MeshFix for mesh repair and TetWild for tetrahedral mesh generation;
  • πŸ“ Barycentric Utilities: Includes functions for converting barycentric coordinates to points and sampling barycentric coordinates for simulation and analysis;
  • ⌨️ Command-Line Interface: Offers a CLI for common tasks such as landmark annotation and mesh information display;
  • 🏷️ Type Safety: Utilizes modern Python type hints and static analysis tools for robust and maintainable code.

πŸ“¦ Installation

To install liblaf-melon, run the following command:

uv add liblaf-melon

⌨️ Local Development

You can use Github Codespaces for online development:

Or clone it for local development:

gh repo clone liblaf/melon
cd melon
mise run install

🀝 Contributing

Contributions of all types are more than welcome, if you are interested in contributing code, feel free to check out our GitHub Issues to get stuck in to show us what you're made of.

PR Welcome

Contributors

πŸ”— More Projects

  • πŸ‡ Grapes - Supercharge your Python with rich logging, precise timing, and seamless serialization.
  • πŸ‰ Melon - A comprehensive Python library for 3D mesh processing with advanced I/O capabilities, proximity analysis, and integration with external mesh processing tools.
  • 🍊 Tangerine - Squeeze dynamic content into your files with Tangerine's template magic.
  • πŸ‹β€πŸŸ© Lime - AI-powered Git commit assistant and repository documentation generator
  • 🍎 Apple - A JAX and Warp library for differentiable physics simulation, featuring elastic energy models and finite element methods.
  • πŸ’ Cherries - Sweet experiment tracking with Comet, DVC, and Git integration.

πŸ“ License

Copyright Β© 2025 liblaf.
This project is MIT licensed.

About

πŸ‰ A comprehensive Python library for 3D mesh processing with advanced I/O capabilities, proximity analysis, and integration with external mesh processing tools.

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Sponsor this project

Packages

No packages published

Contributors 6