syuntoku14 / fusion2urdf

A Fusion 360 Script to export URDF
MIT License
453 stars 151 forks source link

Index error: the index (-1) is out of range #37

Open elpimous opened 3 years ago

elpimous commented 3 years ago

IMG_20201026_171656 Hello, strange error.. Any idea? Thanks friends Vincent

stardobas commented 3 years ago

SAME PROBLEM..forever... all file...same problem...

romzn commented 3 years ago

I changed in utils/utils.py in line 37 allOccs[-1] with allOccs.item((allOccs.count-1)) and it worked. Opened a Pull Request here.

stardobas commented 3 years ago

very thank you for your work!!

mhubii commented 3 years ago

experienced the same issue, fixed it, thanks