gz-sim icon indicating copy to clipboard operation
gz-sim copied to clipboard

Procedural Datasets with Blender doesn't work with newer Blender versions

Open jmackay2 opened this issue 5 months ago • 0 comments

Environment

  • OS Version: Ubuntu 24.04
  • Source or binary build? Binary build of Ionic
I am unable to run Generation of Procedure Datasets with Blender with a newer version of Blender.

I tested with Blender 4.2.

It looks like the GeometryNodeTree objects in Blender have changed.

Description

Steps to reproduce

  1. Follow Option A in the precedural datasets tutorial, using procedural_dataset_generator.py.

Output

Python: Traceback (most recent call last):
  File "rock.blend/procedural_dataset_generator.py", line 1945, in <module>
  File "rock.blend/procedural_dataset_generator.py", line 1627, in main
  File "rock.blend/procedural_dataset_generator.py", line 1468, in generate
  File "rock.blend/procedural_dataset_generator.py", line 703, in export
  File "rock.blend/procedural_dataset_generator.py", line 832, in _process_meshes
  File "rock.blend/procedural_dataset_generator.py", line 859, in _export_geometry
  File "rock.blend/procedural_dataset_generator.py", line 899, in _export_geometry_collision
  File "rock.blend/procedural_dataset_generator.py", line 1494, in _pre_export_geometry_collision
  File "rock.blend/procedural_dataset_generator.py", line 1569, in _try_set_nodes_input_attribute
AttributeError: 'GeometryNodeTree' object has no attribute 'inputs'

jmackay2 avatar Sep 04 '24 03:09 jmackay2