KDE 4.3 for Windows Release of KTurtle

108 views
Skip to first unread message

Ms.B_Techie

unread,
Sep 10, 2009, 4:40:16 PM9/10/09
to KTurtle; an educational programming environment
Hello all,

It's me again. I was wondering if in the release of KDE for Windows
were there plans to print the canvas. I noticed that there was an
option to save the file as a picture so that you can open it in a
Paint or graphics program. I enabled the option but was unable to
find the saved .PNG file in the directory that it was placed in.
Would there be a way to save it as a JPG or GIF file in the future?

My students are loving working through the handbook that is provided
and playing with the different variables to see their creations. I
have approached teaching them KTurtle by using a combination of the
handbook and different LOGO programming templates and lessons and
changing them to fit KTurtle. Today, my high school students got
upset with a 7th grader that created the code listed below.

The bottom line is that what they (the students) really wanted to do
is to show off their code results to others by printing the different
colors of the output. Any suggestions?


reset
canvassize 500,500
center
gox 350
goy 150
repeat 100
{
$x = random 1,255
$r = random 1,255
$y = random 1,255
pencolor $x,$r,$y
turnleft 50
forward 5
turnleft 24
forward 30
turnleft 26
forward 70
turnleft 20
forward 37
turnleft 10
forward 50
turnleft 45
forward 35
turnleft 15
forward 35
turnright 30
forward 40
turnleft 18
forward 57
}

Niels Slot

unread,
Sep 10, 2009, 5:45:54 PM9/10/09
to kdeedu-...@googlegroups.com
Hi,

I can confirm that saving the canvas to a PNG file doesn't work on Windows. It works fine on Linux (the platform we as developers mainly test on). I have an idea what the bug might be, but I'm not completely sure. I'll see if I can get a development environment up on Windows and have a look at it.

It's really cool to read about how KTurtle is being used. If you or any of you're students have any suggestions of how to make KTurtle even better, we're looking forward to them.

As a workaround to not being able to save or print the canvas, you could make a screenshot of it and print or save that. In Windows XP you can do this by pressing Alt + PrintScreen on your keyboard, then open, for example, Paint and paste the contents of the clipboard. You should then have the contents of the KTurtle window in Paint. Use the selection tool to cut out the canvas and save or print that. Windows Vista has a special tool for making screenshots, you should be about to find that somewhere in the start menu.

We're working on, and have done a lot already, to make KTurtle in KDE 4.4 have a lot more features when it comes to exporting the canvas.

Regards,

Niels

cies

unread,
Sep 11, 2009, 12:46:08 AM9/11/09
to kdeedu-...@googlegroups.com
kturtle in 4.4 should have export to svg baked in... you could then
(as another work around) pring the svg file.


> I noticed that there was an
> option to save the file as a picture so that you can open it in a
> Paint or graphics program. I enabled the option but was unable to
> find the saved .PNG file in the directory that it was placed in.

> I can confirm that saving the canvas to a PNG file doesn't work on Windows.


does it give any error? or it just 'seems to work' yet no PNG file gets written?
(please runt from a command line (cmd) and see if there is any hint of
an error there)


thanks for the feedback!
_c.

Niels Slot

unread,
Sep 11, 2009, 3:38:40 AM9/11/09
to kdeedu-...@googlegroups.com


2009/9/11 cies <cies....@gmail.com>


kturtle in 4.4 should have export to svg baked in... you could then
(as another work around) pring the svg file.


> I noticed that there was an
> option to save the file as a picture so that you can open it in a
> Paint or graphics program.  I enabled the option but was unable to
> find the saved .PNG file in the directory that it was placed in.

> I can confirm that saving the canvas to a PNG file doesn't work on Windows.


does it give any error? or it just 'seems to work' yet no PNG file gets written?
(please runt from a command line (cmd) and see if there is any hint of
an error there)
It just didn't do anything. The 'Save as..'  dialog appeared, I entered in a filename, clicked OK, and nothing. No error and no PNG file.

I haven't yet tried running it from cmd.

Niels
 
Reply all
Reply to author
Forward
0 new messages