Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IndexError: list index out of range #179

Open
UrAvgProgrammer opened this issue Dec 7, 2023 · 0 comments
Open

IndexError: list index out of range #179

UrAvgProgrammer opened this issue Dec 7, 2023 · 0 comments

Comments

@UrAvgProgrammer
Copy link

UrAvgProgrammer commented Dec 7, 2023

1 file(s) with supported extensions found
Reading AMK_BLK_EPSG24500.obj
Traceback (most recent call last):
  File "/usr/app/mambaforge/envs/user/bin/obj-tiler", line 33, in <module>
    sys.exit(load_entry_point('py3dtilers', 'console_scripts', 'obj-tiler')())
  File "/usr/app/py3dtilers/py3dtilers/ObjTiler/ObjTiler.py", line 43, in main
    tileset = obj_tiler.from_obj_directory()
  File "/usr/app/py3dtilers/py3dtilers/ObjTiler/ObjTiler.py", line 25, in from_obj_directory
    objects = Objs.retrieve_objs(self.files, self.args.with_texture)
  File "/usr/app/py3dtilers/py3dtilers/ObjTiler/obj.py", line 166, in retrieve_objs
    if obj.parse_geom(mesh_mat, with_texture):
  File "/usr/app/py3dtilers/py3dtilers/ObjTiler/obj.py", line 66, in parse_geom
    uv = [np.array([vertices[n], 1 - vertices[n + 1]]) for n in range(i, i + 15, 5)]
  File "/usr/app/py3dtilers/py3dtilers/ObjTiler/obj.py", line 66, in <listcomp>
    uv = [np.array([vertices[n], 1 - vertices[n + 1]]) for n in range(i, i + 15, 5)]
IndexError: list index out of range

AMK_BLK_EPSG24500.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant