Setup geometry_script module if the module name is different
This commit is contained in:
parent
b905d31bf9
commit
9d9fd57fe6
3 changed files with 4 additions and 11 deletions
9
examples/Repeat Grid.py
Normal file
9
examples/Repeat Grid.py
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
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)
|
||||
Reference in a new issue