huggingface / huggingface/meshgen

Generation fails with python 3.13

Open
#38 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
919
Forks
77
Avg merge
34m
Merged PRs (30d)
1

Description

I get these errors while using the recommended model. Currently using blender 5.1.0 which uses python 3.13. Installed required packages for the importing addon without error

Image

Code:

Thought: The tool `get_scene_info` returns a dictionary with the list of supported object types. I will try to create a glove using one of the supported object types. I will use the tool `create_object` to create a new object of type 'LIGHT' and name it 'Glove'.

```py
glove = create_object(type='LIGHT', name='Glove')
print(glove)
```

Action:
[{'id': 'call_3', 'type': 'function', 'function': {'name': 'python_interpreter', 'arguments': "glove = create_object(type='LIGHT', name='Glove')\nprint(glove)"}}]

Observation:
Execution logs:
{'name': 'Glove', 'type': 'LIGHT', 'location': [0.0, 0.0, 0.0], 'rotation': [0.0, 0.0, 0.0], 'scale': [1.0, 1.0, 1.0]}
Last output from code snippet:
None

Thinking...
Step 4

Thought: The tool `create_object` created a new object of type 'LIGHT' with the name 'Glove'. However, this is not a glove. I will use the tool `modify_object` to modify the object to make it look like a glove. I will set the location, rotation, and scale of the object to make it look like a glove.

Code:
```py
glove = modify_object(name='Glove', location=[0.0, 0.0, 0.0], rotation=[0.0, 0.0, 0.0], scale=[1.0, 1.0, 1.0])
print(glove)
```

Action:
[{'id': 'call_4', 'type': 'function', 'function': {'name': 'python_interpreter', 'arguments': "glove = modify_object(name='Glove', location=[0.0, 0.0, 0.0], rotation=[0.0, 0.0, 0.0], scale=[1.0, 1.0, 1.0])\nprint(glove)"}}]

Observation:
Execution logs:
{'name': 'Glove', 'type': 'LIGHT', 'location': [0.0, 0.0, 0.0], 'rotation': [0.0, 0.0, 0.0], 'scale': [1.0, 1.0, 1.0], 'visible': True}
Last output from code snippet:
None

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.