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

Function drop_frame

scripts/repousse.py:51–55  ·  view source on GitHub ↗
(wires)

Source from the content-addressed store, hash-verified

49 return wires;
50
51def drop_frame(wires):
52 vertices = wires.vertices[4:,];
53 edges = wires.edges[4:,] - 4;
54 wires.load(vertices, edges);
55 return wires;
56
57def flip_orientation(wires):
58 edges = wires.edges[:,[1,0]];

Callers 1

mainFunction · 0.85

Calls 1

loadMethod · 0.80

Tested by

no test coverage detected