Skip to content

scene loading problem #1055

@sathibabu9

Description

@sathibabu9

I've created a 3D scene using Blender and exported it as an XML file. I want to load this scene and run a simulation or preview a Google Colab environment.

However, I encountered the following error:

---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)
[/tmp/ipython-input-1550851773.py](https://localhost:8080/#) in <cell line: 0>()
      1 from sionna.rt import load_scene
      2 
----> 3 scene = load_scene("test_scene/test_benzcircle/test_benzcircle.xml")
      4 scene.preview()

3 frames
[/usr/local/lib/python3.12/dist-packages/sionna/rt/scene.py](https://localhost:8080/#) in _load_scene_objects(self, remove_duplicate_vertices)
    926             # Only meshes are supported
    927             if not isinstance(s, mi.Mesh):
--> 928                 raise TypeError('Only triangle meshes are supported')
    929 
    930             # Instantiate the scene object

TypeError: Only triangle meshes are supported
Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions