kaolin icon indicating copy to clipboard operation
kaolin copied to clipboard

It doesn't import obj file (v0.9.1)

Open typest opened this issue 4 years ago • 1 comments

I tried loading obj file that contain faces constructed by various number of vertices (faces constructed 3 or 4 vertices). But model.obj.import_mehs() returns exception "expected sequence of length 3 at dim 1 (got 4)".

typest avatar Sep 15 '21 08:09 typest

Hi @typest our obj loader currently only support homogeneous meshes.

If you want to load heterogeneous mesh do you want to keep them heterogeneous or eventually convert them to triangle mesh?

Caenorst avatar Sep 23 '21 18:09 Caenorst

Added heterogeneous_mesh_handler to kaolin.io.obj.import_mesh.

Caenorst avatar Dec 12 '22 16:12 Caenorst