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

Method load_from_raw

python/pymesh/wires/WireNetwork.py:122–126  ·  view source on GitHub ↗

Load vertex and edges from raw C++ wire data structure.

(self, raw_wires)

Source from the content-addressed store, hash-verified

120 self.__initialize_wires()
121
122 def load_from_raw(self, raw_wires):
123 """ Load vertex and edges from raw C++ wire data structure.
124 """
125 self.raw_wires = raw_wires
126 self.__initialize_wires()
127
128 def write_to_file(self, filename):
129 """ Save the current wire network into a file.

Callers 1

wire_networkMethod · 0.95

Calls 1

__initialize_wiresMethod · 0.95

Tested by

no test coverage detected