dimforge / dimforge/rapier

📐 Create Convex Decomposition From 2D Triangle Mesh?

Open
#204 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
5.7k
Forks
387
Avg merge
4d 23h
Merged PRs (30d)
6

Description

I have a 2D triangle mesh that I want to do a convex decomposition on, but the `convex_decomposition` function only takes a triangle mesh in 3D mode, and it takes a polyline in 2D mode. Is there a way to either:

1. Create a convex decomposition from a 2D triangle mesh, or
2. Create a polyline from a 2D triangle mesh?

I'm not super geometry math savvy so I'm not sure if there is a simple algorithm to convert a 2D trimesh into a polyline or not.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.