It is currently Thu Mar 28, 2024 6:45 am


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 76 posts ]  Go to page 1, 2, 3, 4  Next
Author Message
 Post subject: Platonic Calendar Script-fu
PostPosted: Wed Jan 12, 2011 10:17 pm  (#1) 
Offline
Script Coder
User avatar

Joined: Apr 23, 2010
Posts: 1553
Location: not from Guildford after all
Inspired by the images on this website (I don't speak Spanish), I started working on a script which, in conjunction with the Calendar script, will render a calendar shaped such that it can be folded into a dodecahedron. The script is in its seminal stages, but if anyone is interested in trying it in its current form, it can be downloaded from this page. EDIT: please visit this page for info and links on the latest version

I will eventually get around to fixing up the layout and adding the ability to map images onto the sides (the "facet image" option does nothing right now), but if anyone wants to experiment with this preliminary version, it is somewhat functional.

The command is called "Platonic calendar" (a dodecahedron is a 12-sided platonic solid) and is found under "File->Create". The default edge-length of "450" should produce an image suitable for printing on a DIN A4 sheet of paper at 300DPI (though this may need some tweaking).

Here is an example output using an edge-length of "150":

Attachment:
platonic-01.png
platonic-01.png [ 76.91 KiB | Viewed 9152 times ]

_________________
Any sufficiently primitive technology is indistinguishable from a rock.


Last edited by saulgoode on Fri Jan 21, 2011 12:10 pm, edited 3 times in total.

Share on Facebook Share on Twitter Share on Orkut Share on Digg Share on MySpace Share on Delicious Share on Technorati
Top
 Post subject: Re: Calendar Year Script-fu (beta)
PostPosted: Wed Jan 12, 2011 11:52 pm  (#2) 
Offline
GimpChat Member
User avatar

Joined: Oct 19, 2010
Posts: 376
Location: North Central Ohio, USA
That looks like it will be quite a challenge, Saul.

_________________
Life Truth: #12
My cat is a worst typist than I am.


Top
 Post subject: Re: Calendar Year Script-fu (beta)
PostPosted: Thu Jan 13, 2011 2:53 am  (#3) 
Offline
GimpChat Member
User avatar

Joined: May 16, 2010
Posts: 14709
Location: USA
Very nice saulgoode, thanks! =)

_________________
Image
Edmund Burke nailed it when he said, "The only thing necessary for the triumph of evil is for good men to do nothing."


Top
 Post subject: Re: Calendar Year Script-fu (beta)
PostPosted: Thu Jan 13, 2011 9:43 am  (#4) 
Offline
Retired Staff
User avatar

Joined: May 22, 2008
Posts: 6947
Location: Somewhere in GIMP
Wow! That looks complicated, saulgoode. I've seen little plastic models of calendars like that. I need to get some legal sized paper to print it on and cut and paste. Dunno if I can buy A4 paper.

Going to have to give it a try. Got the script.

_________________
Image
World War IV will be fought with sticks and stones. - Albert Einstein


Top
 Post subject: Re: Calendar Year Script-fu (beta)
PostPosted: Thu Jan 13, 2011 10:20 am  (#5) 
Offline
Retired Staff
User avatar

Joined: May 22, 2008
Posts: 6947
Location: Somewhere in GIMP
This one I used US Letter size, side 350 and a facet image. I thot the facet image would go on all of the facets. Having it on one is cool, too. Since I don't have a color printer, I could print it on colored paper, have the calendar in black and the facet image in gray. A totally cool script.

Image

_________________
Image
World War IV will be fought with sticks and stones. - Albert Einstein


Top
 Post subject: Re: Calendar Year Script-fu (beta)
PostPosted: Thu Jan 13, 2011 12:25 pm  (#6) 
Offline
Script Coder
User avatar

Joined: Apr 23, 2010
Posts: 1553
Location: not from Guildford after all
O, I though DIN A4 was the normal letter size. Please set me straight if that is incorrect.

I hadn't gotten around to implementing the facet image with that first version. I did some coding last night and I think I've got it working (it wasn't as difficult as I thought it would be).

The new version can be obtained by following the link on my Chiselapp webpage.

Here is an example using magazine covers from Fantasy & Science Fiction for the facet image:

Attachment:
platonic-02.jpg
platonic-02.jpg [ 143.29 KiB | Viewed 9133 times ]

_________________
Any sufficiently primitive technology is indistinguishable from a rock.


Top
 Post subject: Re: Calendar Year Script-fu (beta)
PostPosted: Thu Jan 13, 2011 12:32 pm  (#7) 
Offline
Retired Staff
User avatar

Joined: May 22, 2008
Posts: 6947
Location: Somewhere in GIMP
saulgoode wrote:
O, I though DIN A4 was the normal letter size. Please set me straight if that is incorrect
You could be right about DIN A4 size, I just plain don't know. I used US letter size in GIMP templates though and, plain A4 is in the GIMP templates too.

AFAIK, regular A4 is slightly narrower and slightly longer than US Letter.

Your images in the calendar are cool. How did you get different images in the calendar? More experimenting. :mrgreen:

_________________
Image
World War IV will be fought with sticks and stones. - Albert Einstein


Top
 Post subject: Re: Calendar Year Script-fu (beta)
PostPosted: Thu Jan 13, 2011 12:38 pm  (#8) 
Offline
Script Coder
User avatar

Joined: Apr 23, 2010
Posts: 1553
Location: not from Guildford after all
Oregonian wrote:
AFAIK, regular A4 is slightly narrower and slightly longer than US Letter.

Oh. Well, that could work out because the render graphic is slightly narrower than 8.5"x11" when scaled to fit.

Oregonian wrote:
Your images in the calendar are cool. How did you get different images in the calendar? More experimenting. :mrgreen:


I've just updated my wiki page. Here is what I wrote:
The facet image can be a single layer or multiple layers. If the facet image has twelve layers then each layer will appear on a different face of the dodecahedron (bottom layer is January, top layer is December). Fewer than twelve layers will result in the layers being repeated to produce the twelve faces (e.g., four layers would be "cycled through" three times).

The facet layers will be centered and scaled (up or down) to completely fill the facet. (I made it so that if a facet layer is linked then the layer will not be scaled but this feature may prove difficult to use.)

Here is an example output using an edge-length of "120" and various covers from Fantasy & Science Fiction magazines as the facet image (you can use "File->Open As Layers" to create a multilayer facet image).

_________________
Any sufficiently primitive technology is indistinguishable from a rock.


Top
 Post subject: Re: Calendar Year Script-fu (beta)
PostPosted: Thu Jan 13, 2011 12:50 pm  (#9) 
Offline
Retired Staff
User avatar

Joined: May 22, 2008
Posts: 6947
Location: Somewhere in GIMP
I'm not having any luck at all with the facet image showing up in the calendar. I made a gold-colored Gimp Chat and duplicated it so I had 12 layers. Tried it 3 times. I made sure use facet image was checked and the correct image was in the dropdown. Restarting GIMP is next.

_________________
Image
World War IV will be fought with sticks and stones. - Albert Einstein


Top
 Post subject: Re: Calendar Year Script-fu (beta)
PostPosted: Thu Jan 13, 2011 1:08 pm  (#10) 
Offline
Retired Staff
User avatar

Joined: May 22, 2008
Posts: 6947
Location: Somewhere in GIMP
Still no joy on the image. :hoh :gaah

_________________
Image
World War IV will be fought with sticks and stones. - Albert Einstein


Top
 Post subject: Re: Calendar Year Script-fu (beta)
PostPosted: Thu Jan 13, 2011 1:19 pm  (#11) 
Offline
Script Coder
User avatar

Joined: Apr 23, 2010
Posts: 1553
Location: not from Guildford after all
If you aren't getting anything (including error messages) then all I can suggest is that you make sure you have the latest version. You might try downloading the file again (maybe there is some weird caching problem with your webbrowser and you are somehow retaining the original version).

_________________
Any sufficiently primitive technology is indistinguishable from a rock.


Top
 Post subject: Re: Calendar Year Script-fu (beta)
PostPosted: Thu Jan 13, 2011 1:36 pm  (#12) 
Offline
Retired Staff
User avatar

Joined: May 22, 2008
Posts: 6947
Location: Somewhere in GIMP
The first one I made had the image in one of the months because I didn't know to make it 12 layers. I've deleted the one in my scripts folder, re-downloaded it and put it in the scripts folder. Going to boot my machine.

_________________
Image
World War IV will be fought with sticks and stones. - Albert Einstein


Top
 Post subject: Re: Calendar Year Script-fu (beta)
PostPosted: Thu Jan 13, 2011 1:53 pm  (#13) 
Offline
Retired Staff
User avatar

Joined: May 22, 2008
Posts: 6947
Location: Somewhere in GIMP
I hope someone else gives the script a try. I'm batting zero on the facet image.

_________________
Image
World War IV will be fought with sticks and stones. - Albert Einstein


Top
 Post subject: Re: Calendar Year Script-fu (beta)
PostPosted: Thu Jan 13, 2011 4:09 pm  (#14) 
Offline
Global Moderator
User avatar

Joined: Oct 06, 2010
Posts: 4039
Works like a charm for me in Ubuntu. I already printed and cut it out, scored the lines, and currently taping it together. I'll take a picture of it when done. :)

Image

_________________
"In order to attain the impossible, one must attempt the absurd."
~ Miguel de Cervantes


Top
 Post subject: Re: Calendar Year Script-fu (beta)
PostPosted: Thu Jan 13, 2011 5:16 pm  (#15) 
Offline
GimpChat Member

Joined: Apr 12, 2010
Posts: 5870
Wow
Mahvin that looks amazing

_________________
My 3D Gallery on Deviantart http://photocomix2.deviantart.com/
Main gallery http://www.flickriver.com/photos/photocomix-mandala/
Mandala and simmetry http://www.flickriver.com/photos/photocomix_mandala/

Image

Mrs Wilbress


Top
 Post subject: Re: Calendar Year Script-fu (beta)
PostPosted: Thu Jan 13, 2011 5:20 pm  (#16) 
Offline
GimpChat Member

Joined: Apr 12, 2010
Posts: 5870
O
i remember that we played time ago with a lot of versions of calendar script that was also by Saulgoode,
, are you sure that is not a copy left somewhere ?

Anyway i am downloading now and i will give a try

_________________
My 3D Gallery on Deviantart http://photocomix2.deviantart.com/
Main gallery http://www.flickriver.com/photos/photocomix-mandala/
Mandala and simmetry http://www.flickriver.com/photos/photocomix_mandala/

Image

Mrs Wilbress


Top
 Post subject: Re: Calendar Year Script-fu (beta)
PostPosted: Thu Jan 13, 2011 7:12 pm  (#17) 
Offline
GimpChat Member
User avatar

Joined: Oct 19, 2010
Posts: 376
Location: North Central Ohio, USA
Saul,
FYI,
A4 = 210mm x 297mm (8.27in x 11.69in)
Letter = 216mm x 279mm (8.5in x 11 in)

A4 is narrower by almost a quarter-inch and over one-half inch longer than Letter.

_________________
Life Truth: #12
My cat is a worst typist than I am.


Top
 Post subject: Re: Calendar Year Script-fu (beta)
PostPosted: Thu Jan 13, 2011 7:33 pm  (#18) 
Offline
Global Moderator
User avatar

Joined: Oct 06, 2010
Posts: 4039
Quote:
Wow Mahvin that looks amazing


I just went on Google images and tried to find a fitting image for each month to use as layers. I then renamed them for the months and put them in the order Saul says, on his wiki. December being top-most, and January being bottom-most.

It looks cool sitting here on my desk, too. I need to buy some double-sided sticky tape.

_________________
"In order to attain the impossible, one must attempt the absurd."
~ Miguel de Cervantes


Top
 Post subject: Re: Calendar Year Script-fu (beta)
PostPosted: Thu Jan 13, 2011 7:37 pm  (#19) 
Offline
GimpChat Member
User avatar

Joined: Oct 19, 2010
Posts: 376
Location: North Central Ohio, USA
mahvin wrote:
It looks cool sitting here on my desk, too. I need to buy some double-sided sticky tape.
Thanks for reminding me that I need to get a color cartridge for my printer... :rofl

_________________
Life Truth: #12
My cat is a worst typist than I am.


Top
 Post subject: Re: Calendar Year Script-fu (beta)
PostPosted: Thu Jan 13, 2011 7:38 pm  (#20) 
Offline
Retired Staff
User avatar

Joined: May 22, 2008
Posts: 6947
Location: Somewhere in GIMP
Well I finally have it working after the third download, and arduous sacrifices to the computer gods with vigorous shaking of rattles, feathers and beads over braziers filled with burning incense. :hexer

_________________
Image
World War IV will be fought with sticks and stones. - Albert Einstein


Top
Post new topic Reply to topic  [ 76 posts ]  Go to page 1, 2, 3, 4  Next

All times are UTC - 5 hours [ DST ]


   Similar Topics   Replies 
No new posts Attachment(s) Calendar month and year plugin (script .scm) updated - modified

12

No new posts Attachment(s) Looking for Script Coder to make Script of my VHS effect

2

No new posts Attachment(s) A liitle Start Help with a Script-Fu Script

3

No new posts Attachment(s) Cannot run test script-fu script via console

7

No new posts Attachment(s) Script-fu

6



* Login  



Powered by phpBB3 © phpBB Group