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

Function inflate_supports

scripts/support_gen.py:22–28  ·  view source on GitHub ↗
(support_wires)

Source from the content-addressed store, hash-verified

20 return network;
21
22def inflate_supports(support_wires):
23 thickness = support_wires.get_attribute("thickness");
24
25 inflator = Inflator(support_wires);
26 inflator.inflate(thickness, per_vertex_thickness=True);
27 mesh = inflator.mesh;
28 return mesh;
29
30def add_base(support_mesh, print_dir, support_length):
31 Z_dir = np.array([0.0, 0.0, 1.0]);

Callers 1

mainFunction · 0.85

Calls 3

inflateMethod · 0.95
InflatorClass · 0.90
get_attributeMethod · 0.45

Tested by

no test coverage detected