cypher grid generator
cypher grid generator thingy
Section titled “cypher grid generator thingy”IN: (x, y) boundsOUT: cypher mutation to generate graph nodesuv 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.5introspect
Section titled “introspect”points within bounds…
MATCH (p:Point)WHERE p.x >= -0.1 AND p.x <= 0.1AND p.y >= -0.1 AND p.y <= 0.1RETURN pother bells other wistles
Section titled “other bells other wistles”--write_gcode=./path/to/file.gcodeif --write_gcode=... is passed then points are additionally written to file as
G1 X0 Y0 Z0G1 X1 Y0 Z0... etc