10 | 11 | ```python 12 | from geometry_script import * 13 | 14 | @tree("Repeat Grid") 15 | def repeat_grid(geometry: Geometry, width: Int, height: Int): 16 | g = grid( 17 | size_x=width, size_y=height, 18 | vertices_x=width, vertices_y=height 19 | ).mesh.mesh_to_points() 20 | return g.instance_on_points(instance=geometry) 21 | ``` 22 | 23 | | 24 |25 | 26 |  27 | 28 | | 29 |
{primary_arg[0]}: {primary_arg[1]} = ...
232 | {primary_arg[0]}.{func}(...)
233 | """
234 | docstrings.append(f"""
235 | {func}
- {method.bl_node_type.bl_rna.name}{func}(
241 | {arg_separator.join(arg_docs)}
242 | )
243 | {outputs_doc}
245 | {primary_arg_docs() if primary_arg is not None else ""}
246 |