Skip to content

official testing code failed ... #56

@pterusgithub

Description

@pterusgithub

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

from geometry_script import *

@tree("Cube Tree")
def cube_tree():
    return cube(), 5

output

Python: Traceback (most recent call last):
  File "/test.py", line 3, in <module>
  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': <geometry-script-main.api.types.Type object at 0x7e00479e7550>, 'uv_map': <geometry-script-main.api.types.Type object at 0x7e00479ee090>}' 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions