Skip to content

Commit 95d91d8

Browse files
committed
0.1.0
1 parent 80fd9e5 commit 95d91d8

4 files changed

Lines changed: 17380 additions & 2 deletions

File tree

README.md

Lines changed: 37 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,38 @@
1+
<img src="./closing_flow.png" width="1200px"></img>
2+
3+
[![PyPI version](https://badge.fury.io/py/closing-flow.svg)](https://pypi.org/project/closing-flow)
4+
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
5+
16
# closing_flow
2-
A Python Implementation of "Opening and Closing Surfaces"
7+
8+
A Python Implementation
9+
of "[Opening and Closing Surfaces](https://dgp.toronto.edu/~sgsellan/pdf/opening-and-closing-surfaces.pdf)".
10+
11+
## Installation
12+
13+
```bash
14+
pip install closing-flow
15+
```
16+
17+
## Usage
18+
19+
```python
20+
import igl
21+
import closing_flow
22+
23+
vs, fs = igl.read_triangle_mesh("data/handle_input.obj")
24+
out_vs, out_fs = closing_flow.closing_flow(
25+
vs, fs, maxiter=300, remesh_iterations=1, h=0.005, bd=1 / 0.08, dt=0.001, tol=1e-5)
26+
igl.write_triangle_mesh("data/handle_output.obj", out_vs, out_fs)
27+
```
28+
29+
## References
30+
31+
```bibtex
32+
@article{Sellan:Opening:2020,
33+
title = {Opening and Closing Surfaces},
34+
author = {Silvia Sell{\{a}}n and Jacob Kesten and Ang Yan Sheng and Alec Jacobson},
35+
year = {2020},
36+
journal = {ACM Transactions on Graphics},
37+
}
38+
```

closing_flow.png

246 KB
Loading

0 commit comments

Comments
 (0)