MCPcopy Create free account
hub / github.com/AiuniAI/Unique3D / to_pyml_mesh

Function to_pyml_mesh

scripts/utils.py:76–81  ·  view source on GitHub ↗
(vertices,faces)

Source from the content-addressed store, hash-verified

74
75
76def to_pyml_mesh(vertices,faces):
77 m1 = pymeshlab.Mesh(
78 vertex_matrix=vertices.cpu().float().numpy().astype(np.float64),
79 face_matrix=faces.cpu().long().numpy().astype(np.int32),
80 )
81 return m1
82
83
84def to_py3d_mesh(vertices, faces, normals=None):

Callers 1

geo_reconstructFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected