It is currently Tue Dec 12, 2017 5:20 am


Latest GIMP Scripts & Plug-ins

All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 76 posts ]  Go to page 1, 2, 3, 4, 5 ... 8  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 5103 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

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


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

Joined: May 22, 2008
Posts: 6951
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
Global Moderator
User avatar

Joined: May 22, 2008
Posts: 6951
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 5084 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
Global Moderator
User avatar

Joined: May 22, 2008
Posts: 6951
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
Global Moderator
User avatar

Joined: May 22, 2008
Posts: 6951
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
Global Moderator
User avatar

Joined: May 22, 2008
Posts: 6951
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 new topic Reply to topic  [ 76 posts ]  Go to page 1, 2, 3, 4, 5 ... 8  Next

All times are UTC - 5 hours [ DST ]


   Similar Topics   Replies 
No new posts Christmas wall calendar

2

No new posts Libre Calendar 2015

1

This topic is locked, you cannot edit posts or make further replies. Attachment(s) Mayan calendar ends in a few hours.

34

No new posts Attachment(s) Guides to Path (scheme script, now python script more advanced).

28

No new posts Script and Plugin Menu Placement Points for script-fu and python-fu

8



* Login  



Powered by phpBB3 © phpBB Group