Switch to full style
Post all Gimp scripts and script writing questions here
Post a reply

Any script for clock dials?

Sat Nov 02, 2019 5:22 pm

Hello everyone,

It makes a lot that I don't come to visit, but the truth is that when I need help with "Gimp", I can't think of a better place.

Well I would like someone to help me, me and anyone who may need it, I have been making a 3D model of a watch, and I have found myself in the need to create the calendar dial, with 31 days.

All good, until I have realized that I have been doing this madness for hours and hours.
And I thought, damn it, with a "Scrip" you could expedite this torture.
It would be faster more efficient, and it wouldn't hurt my head.

If anyone is interested in writing a "Script", and lend me a hand :), I am willing to help in any way I can.
(I enclose an image of what I have done!)

Thank you very much to all.

Re: Any script for clock dials?

Sat Nov 02, 2019 7:11 pm

Have you tried the "Text to Circle" script? File>Create> Logos> Text Circle ?
Or you can create a circular path and place the text on the path.

Re: Any script for clock dials?

Sat Nov 02, 2019 7:34 pm

Here is the text circle scm file fixed.

text-circle.scm
(7.54 KiB) Downloaded 261 times


Image

I had to move the 1, 2 and 31 around a bit but thats pretty easy to just cut and paste on a new layer in place then move them where you want and merge down.

Re: Any script for clock dials?

Sat Nov 02, 2019 11:44 pm

Speaking of clocks, don't forget to set your clocks back if you live in a state that goes back to standard time. Looking forward to my extra hour of sleep (before I head back to work tomorrow; lol). :)

Re: Any script for clock dials?

Sun Nov 03, 2019 4:31 am

Two of my scripts:

* ofn-path-to-shape to create a path with 31 rays, then converted to tick marks
Segments>Polygons and stars>Spokes to generate 31 spokes
Segments>Transform segments>Resize segments to only keep the end of the segments
* ofn-text-along-path to set text along the 31 rays (Tools>Tex (multi) along path)

Dial.png
Dial.png (40.49 KiB) Viewed 8224 times


All of 4 minutes.

Scripts are here: http://sourceforge.net/projects/gimp-pa ... s/scripts/

You can use ofn-path-to-shape to generate dial ticks, but if you want nice looking ones
you can try the dial-marks script (same place).

Re: Any script for clock dials?

Sun Nov 03, 2019 9:05 am

My take; make a vertical column of numbers, rotate left, then run Pan to Bow script-fu. Pretty simple. :)

edit:

As a sidenote, I should have center all the text to get a result similar to Offnuts. :)
Post a reply