MCPcopy Create free account
hub / github.com/thygate/stable-diffusion-webui-depthmap-script / out_fmt

Function out_fmt

inpaint/mesh.py:206–210  ·  view source on GitHub ↗
(input, cur_id_b, cur_id_self, cur_id_a, ply_flag)

Source from the content-addressed store, hash-verified

204 num_node = len(mesh.nodes)
205 ply_flag = config.get('save_ply') or config.get('save_obj')
206 def out_fmt(input, cur_id_b, cur_id_self, cur_id_a, ply_flag):
207 if ply_flag is True:
208 input.append(' '.join(['3', cur_id_b, cur_id_self, cur_id_a]) + '\n')
209 else:
210 input.append([cur_id_b, cur_id_self, cur_id_a])
211 mesh_nodes = mesh.nodes
212 for node in mesh_nodes:
213 cur_id_self = mesh_nodes[node]['cur_id']

Callers 2

generate_faceFunction · 0.85
write_meshFunction · 0.85

Calls 1

appendMethod · 0.80

Tested by

no test coverage detected