dfki-ric / phobos

An add-on for Blender allowing to create URDF, SDF and SMURF robot models in a WYSIWYG environment.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Export fails if geometry is not defined

0Nel opened this issue · comments

commented

Describe the bug
During export I got an error in models.py at line 1353 saying: TypeError: 'tuple' object does not support item assignment. After further investigating on which link the error occured I figured that the reason for this issue was that the Geometry of that link was not defined.

To Reproduce
Steps to reproduce the behavior:

  1. Create a model and don't define Geometry
  2. Try to export model (smurf and urdf)
  3. See TypeError

Expected behavior
No error, but maybe a user info on which link the geometry definition is missing

Desktop (please complete the following information):

  • OS: Ubuntu
  • Version 20.04
  • Blender 3.4
  • python 3.8

Duplicate of #265.
Already fixed but not yet released. ;)