Using Turtle as a drawing tool
Migrated from https://bugs.launchpad.net/inkscape/+bug/170692
From 2005-04-21
Summary:
It would be really neat if there was a drawing tool that allowing a turtle / logo type programme as input, and would draw the output on the canvas of inkscape.
Something along the lines of another button on the drawing tools, when clicked on, opens up a code window where a turtle programme can be written / loaded. When the turtle programme is run, the resulting lines that the turtle programme usually draws would be made into nodes / lines in inkscape, where the user could then edit them.
A simple example might be to draw a line that looks like a set of stairs. Consider the following code
repeat 10 [ turnleft 90 forward 40 turnright 90 forward 30 ]
This is pretty simple to programme, but could take some time to draw by hand using the inkscape tools. I see that this, plus the far more advanced things you can do with turtle could be a valuable addition to inkscape, while being very little work to build, as the source for both gnome turtle and kturtle is available and all the tool has to do is to draw lines from one point to the next point where the direction has changed.
I'd be happy to hear all comments, as have just thought of this idea during linux.conf.au 2005.
Additional Information/Comments:
Horkana-users (horkana-users) wrote on 2005-10-01:
Perhaps it might be better to add SVG export there. (I have filed a request for SVG Export in Kturtle which should be relatively easy to add using the built in SVG export support in QT.)
Steps to reproduce:
- open Inkscape
- repeat 10
- turnleft 90...oh, stop it!