Taichi-UnityExample icon indicating copy to clipboard operation
Taichi-UnityExample copied to clipboard

how to make .bytes file for fem?

Open KimYe-Ji0305 opened this issue 8 months ago • 1 comments

i'm trying to use anoter mesh to fem simulation.

1st. i'm trying make some .bytes file. in implicit_fem.cgraph.py, we need to put some .bytes file.

c2e_np = np.fromfile(get_rel_path('c2e.bytes'), dtype=np.int32).reshape(-1, 6) vertices_np = np.fromfile(get_rel_path('vertices.bytes'), dtype=np.int32).reshape(-1, 4) indices_np = np.fromfile(get_rel_path('indices.bytes'), dtype=np.int32).reshape(-1, 3) edges_np = np.fromfile(get_rel_path('edges.bytes'), dtype=np.int32).reshape(-1, 2) ox_np = np.fromfile(get_rel_path('ox.bytes'), dtype=np.float32).reshape(-1, 3)

in this part, i don't know what's mean each file. i try to making that files with gpt.

but it's not working. it effused. (i don't know it's right word.)

please help me. please know me how to make that files.

KimYe-Ji0305 avatar May 30 '25 07:05 KimYe-Ji0305