{{tamiwiki:projects:tami_draw.gcode}}
cat drawbot_skeleton.gcode | llm -m openrouter/anthropic/claude-3.7-sonnet -x - | tee drawbot_claude37.gcode
{{:tamiwiki:projects:pxl_20251019_225657827.jpg?400|}}
{{tamiwiki:projects:drawbot_skeleton.gcode}}
; drawbot_skeleton.gcode
;extend the following gcode to draw an orthographic view of a rubic cube
; speed is F2200
; limits are y:60 x:200
; only one color
; do not draw occlude lines
G21 ; Set units to millimeters
G90 ; Set to absolute positioning
M5 ; Pen up
G4 P1 ; always Wait 1 second after pen up
M3 S1000 ; Pen down
we came a long way
cat drawbot_skeleton.gcode | llm -m 3.5 -x - | tee drawbot_gpt35-turbo.gcode
G1 X0 Y0 F2200 ; Move to starting position
G1 X60 Y0 ; Draw first square of the rubic cube
G1 X0 Y60 ; Draw second square of the rubic cube
G1 X60 Y60 ; Draw third square of the rubic cube
G1 X60 Y20 ; Draw fourth square of the rubic cube
G1 X60 Y40 ; Draw fifth square of the rubic cube
G1 X20 Y60 ; Draw sixth square of the rubic cube
G1 X40 Y60 ; Draw seventh square of the rubic cube
G1 X20 Y0 ; Draw eighth square of the rubic cube
G1 X40 Y0 ; Draw ninth square of the rubic cube
M5 ; Pen up
G4 P1 ; Wait 1 second
M2 ; End of program
* https://sameer.github.io/svg2gcode/
* https://www.generativehut.com/post/ly-drawbot-a-70-pen-plotter
* https://hannahilea.com/blog/ly-drawbot-setup/#fn4
* https://he.aliexpress.com/item/1005005888174412.html