cypher grid generator thingy
IN: (x, y) bounds
OUT: cypher mutation to generate graph nodes
usage
uv run generate_grid_points.py \
--x_min -0.5 --x_max 0.5 \
--y_min -0.5 --y_max 0.5 \
--grid_spacing 0.005 \
--z_height 0.5
introspect
points within bounds...
MATCH (p:Point)
WHERE p.x >= -0.1 AND p.x <= 0.1
AND p.y >= -0.1 AND p.y <= 0.1
RETURN p
other bells other wistles
--write_gcode=./path/to/file.gcode
if --write_gcode=... is passed then points are additionally written to file as
G1 X0 Y0 Z0
G1 X1 Y0 Z0
... etc