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

Function load_wire

scripts/support_gen.py:17–20  ·  view source on GitHub ↗
(wire_file)

Source from the content-addressed store, hash-verified

15from pymesh.wires import WireNetwork, Inflator
16
17def load_wire(wire_file):
18 network = WireNetwork();
19 network.load_from_file(wire_file);
20 return network;
21
22def inflate_supports(support_wires):
23 thickness = support_wires.get_attribute("thickness");

Callers 6

mainFunction · 0.70
TEST_FFunction · 0.50
TEST_FFunction · 0.50
TEST_FFunction · 0.50
TEST_FFunction · 0.50
TEST_FFunction · 0.50

Calls 2

load_from_fileMethod · 0.95
WireNetworkClass · 0.90

Tested by 5

TEST_FFunction · 0.40
TEST_FFunction · 0.40
TEST_FFunction · 0.40
TEST_FFunction · 0.40
TEST_FFunction · 0.40