A Python Implementation of "Opening and Closing Surfaces".
pip install closing-flow
import igl
import closing_flow
vs, fs = igl.read_triangle_mesh("data/handle_input.obj")
out_vs, out_fs = closing_flow.closing_flow(
vs, fs, maxiter=300, remesh_iterations=1, h=0.005, bd=1 / 0.08, dt=0.001, tol=1e-5)
igl.write_triangle_mesh("data/handle_output.obj", out_vs, out_fs)
@article{Sellan:Opening:2020,
title = {Opening and Closing Surfaces},
author = {Silvia Sell{\{a}}n and Jacob Kesten and Ang Yan Sheng and Alec Jacobson},
year = {2020},
journal = {ACM Transactions on Graphics},
}