()
| 19 | return parser.parse_args(); |
| 20 | |
| 21 | def main(): |
| 22 | args = parse_args(); |
| 23 | mesh = pymesh.load_mesh(args.input_mesh, drop_zero_dim=True); |
| 24 | mesh,__ = pymesh.split_long_edges(mesh, 0.01); |
| 25 | points = mesh.vertices[mesh.boundary_vertices,:]; |
| 26 | mesh = pymesh.triangulate_beta(points, args.engine); |
| 27 | pymesh.save_mesh(args.output_mesh, mesh); |
| 28 | pymesh.timethis.summarize(); |
| 29 | |
| 30 | if __name__ == "__main__": |
| 31 | main(); |
no test coverage detected