@August said in Turtle Graphics for Sketchup:
Turtle Graphics
You would need to piggy back on the API to have implicit commands similar to Turtle-type behaviour.
In SketchUp you can use [#,#,#] to infer the [x,y,z] location in 3D space to place an object or point. But in all instances it requires user input to pick the tool and/or the first point.
I know of nothing that allow you to draw in the manner you need.
You could try @alexschreyer OpenAI extension: https://sketchucation.com/plugin/2643-as_openaiexplorer
Or @samuel_t Parametric Modelling extension: https://sketchucation.com/plugin/2387-parametric_modeling
Both have that type of capability of command based drawing. I like the latter for parametric block out.
You could use the Ruby Console to draw in the same way as you could use a chainsaw to trim your fingernails.
Try asking Claude.ai for ideas to get you a primitive example you could build on.