carson-katri / carson-katri/geometry-script

'NoneType' object is not callable error in Blender 4.1.1

Open
#53 1 comment 1 reaction 0 assignees View on GitHub
Dominant language
Python
Stars
339
Forks
33
PR merge metrics
No merged PRs in 30d

Description

Getting the below error when trying to run the sample code in Blender 4.1.1

```
from geometry_script import *

@tree("Repeat Grid")
def repeat_grid(geometry: Geometry, width: Int, height: Int):
g = grid(
size_x=width, size_y=height,
vertices_x=width, vertices_y=height
).mesh_to_points()
return g.instance_on_points(instance=geometry)
```

```
Python: Traceback (most recent call last):
File "/Text", line 3, in
File "/Users/eugene/Library/Application Support/Blender/4.1/scripts/addons/geometry-script-main/api/tree.py", line 136, in build_tree
outputs = builder(**builder_inputs)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Text", line 8, in repeat_grid
TypeError: 'NoneType' object is not callable
```

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.