Skip to content

how to make .bytes file for fem? #32

@KimYe-Ji0305

Description

@KimYe-Ji0305

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions