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

Method filter_edges

python/pymesh/wires/WireNetwork.py:183–188  ·  view source on GitHub ↗

Remove all edges unless marked with to keep. Vertices are left unchanged.

(self, to_keep)

Source from the content-addressed store, hash-verified

181 self.__initialize_wires()
182
183 def filter_edges(self, to_keep):
184 """ Remove all edges unless marked with to keep.
185 Vertices are left unchanged.
186 """
187 self.raw_wires.filter_edges(to_keep)
188 self.__initialize_wires()
189
190 def compute_symmetry_orbits(self):
191 """ Compute the following symmetry orbits:

Callers 1

trimMethod · 0.45

Calls 1

__initialize_wiresMethod · 0.95

Tested by

no test coverage detected