MCPcopy Create free account
hub / github.com/PyMesh/PyMesh / main

Function main

scripts/minkowski_sum.py:58–65  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

56 return path;
57
58def main():
59 args = parse_args();
60 mesh = pymesh.load_mesh(args.input_mesh);
61 wires = pymesh.wires.WireNetwork.create_from_file(args.path);
62 path = chain_wires(wires);
63
64 result = pymesh.minkowski_sum(mesh, path);
65 pymesh.save_mesh(args.output_mesh, result);
66
67if __name__ == "__main__":
68 main();

Callers 1

minkowski_sum.pyFile · 0.70

Calls 5

chain_wiresFunction · 0.85
create_from_fileMethod · 0.80
parse_argsFunction · 0.70
load_meshMethod · 0.45
save_meshMethod · 0.45

Tested by

no test coverage detected