Add README
This commit is contained in:
parent
100368d198
commit
ec6ad9bdfb
5 changed files with 98 additions and 6 deletions
|
|
@ -1,5 +1,9 @@
|
|||
from geometry_script import *
|
||||
|
||||
@tree
|
||||
def simple(size: Vector):
|
||||
return cube(size=size)
|
||||
@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