carson-katri / carson-katri/geometry-script

official testing code failed ...

Open
#56 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
339
Forks
33
PR merge metrics
No merged PRs in 30d

Description

Hello,
Wanting to try geometry-script, I started following the documentation. No problems during installation. No worries either for the first demo code.
On the other hand, here is the error message that I get with the following script...
script
```python
from geometry_script import *

@tree("Cube Tree")
def cube_tree():
return cube(), 5
```
output
```shell
Python: Traceback (most recent call last):
File "/test.py", line 3, in
File "/pathto/.config/blender/4.2/scripts/addons/geometry-script-main/api/tree.py", line 152, in build_tree
result = Type(value=result)
^^^^^^^^^^^^^^^^^^
File "/pathto/.config/blender/4.2/scripts/addons/geometry-script-main/api/types.py", line 57, in __init__
raise Exception(f"'{value}' cannot be expressed as a node.")
Exception: '{'mesh': , 'uv_map': }' cannot be expressed as a node.
```
Could you direct me to the origin of the problem?
I'm taking this opportunity to find out if you plan to maintain the project in the long term (since blender evolves very quickly...), thank you for your feedback

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the documented Python example in Blender, then inspect api/tree.py and api/types.py around the traceback locations. Determine why the tuple returned by cube_tree() cannot be expressed as a node, and consider the issue complete when the example runs without this exception.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.