Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PyMesh/PyMesh
/ get_box_mesh
Method
get_box_mesh
python/pymesh/tests/test_meshio.py:18–21 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
16
return
mesh2
17
18
def
get_box_mesh(self):
19
mesh = generate_box_mesh(np.zeros(3), np.ones(3))
20
mesh = form_mesh(mesh.vertices, mesh.faces)
21
return
mesh
22
23
def
test_obj(self):
24
mesh = self.get_box_mesh()
Callers
2
test_obj
Method · 0.95
test_ply
Method · 0.95
Calls
2
generate_box_mesh
Function · 0.90
form_mesh
Function · 0.90
Tested by
no test coverage detected