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

Function load_parameters

scripts/microstructure_gen.py:90–98  ·  view source on GitHub ↗
(wire_network, config)

Source from the content-addressed store, hash-verified

88 return wires;
89
90def load_parameters(wire_network, config):
91 parameters = Parameters(wire_network, config["thickness"]);
92 if "modifier_file" in config:
93 if "dof_file" in config:
94 print("dof_file is shadowed by modifier file!");
95 parameters.load_modifier_file(config["modifier_file"]);
96 elif "dof_file" in config:
97 parameters.load_dof_file(config["dof_file"]);
98 return parameters;
99
100def extract_options(config):
101 options = {

Callers 2

tile_with_guide_boxFunction · 0.85
tile_with_guide_meshFunction · 0.85

Calls 3

load_modifier_fileMethod · 0.95
load_dof_fileMethod · 0.95
ParametersClass · 0.90

Tested by

no test coverage detected