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

Function load_wire

scripts/microstructure_gen.py:77–80  ·  view source on GitHub ↗
(wire_file)

Source from the content-addressed store, hash-verified

75 return config;
76
77def load_wire(wire_file):
78 network = WireNetwork();
79 network.load_from_file(wire_file);
80 return network;
81
82def load_wires(wire_list_file):
83 root_dir = os.path.dirname(wire_list_file);

Callers 3

load_wiresFunction · 0.70
tile_with_guide_boxFunction · 0.70
tile_with_guide_meshFunction · 0.70

Calls 2

load_from_fileMethod · 0.95
WireNetworkClass · 0.90

Tested by

no test coverage detected