Remove repetitive face in a mesh and replace the original mesh. Args: filepath: path of the mesh (obj)
(
filepath: str
)
| 131 | |
| 132 | |
| 133 | def remove_redundant_face( |
| 134 | filepath: str |
| 135 | ): |
| 136 | """ |
| 137 | Remove repetitive face in a mesh and replace the original mesh. |
| 138 | |
| 139 | Args: |
| 140 | filepath: path of the mesh (obj) |
| 141 | """ |
| 142 | warnings.warn( |
| 143 | 'We do not release this part of the code. ' |
| 144 | 'If a high level, the function reads a mesh, ' |
| 145 | 'computes ambient occlusion on mesh (important),' |
| 146 | 'reorders the faces, and deletes redundant faces. ' |
| 147 | 'We use this function only to clean up ShapeNet meshes, ' |
| 148 | 'so the results you got on ShapeNet may be different ' |
| 149 | 'from ours.' |
| 150 | ) |
| 151 | |
| 152 | |
| 153 | def map_kd_value_to_textures(mtl_filepath: str): |
no outgoing calls
no test coverage detected