#mesh #partitioning


Coupe is a mesh partitioning library. It implements composable geometric and topologic algorithms.

1 unstable release

0.1.0 May 10, 2022

#1192 in Algorithms


4.5K SLoC


A modular, multi-threaded partitioning library.

Coupe implements a variety of algorithms that can be used to partition meshes, graphs and numbers. See the API docs for a list. These algorithms can be composed together to build relevant partitions of your data.


From the command-line

A list of tools is provided to work with coupe from the command-line, you may find them, along with their documentation in the tools/ directory.

From Rust

See the API documentation on docs.rs, and the examples/ directory for example usages of the library.

From other languages

Coupe can only be used from Rust, for now. Interoperability with other languages will be available through C bindings, and is a work in progress. See the relevant PR for more information.


Contributions are welcome and accepted as pull requests on GitHub.

You may also ask questions on the discussion forum and file bug reports on the issue tracker.


Licensed under either of

at your option.

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.


~155K SLoC