It is currently Mon Jul 22, 2024 12:24 pm


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 34 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: Script/plug-in request for Christmas ornaments
PostPosted: Sat Nov 26, 2011 4:22 pm  (#1) 
Offline
Global Moderator
User avatar

Joined: Oct 06, 2010
Posts: 4050
I would like to see the ornament portion of Photomaster's tutorial to be incorporated into a script or plug-in. I'm still too raw to undertake such a project on my own. I created my own toppers (the metal portion) as a brush, so I really don't need that as part of the script/plug-in. Photomaster's tutorial link is below, if anyone is interested in giving it a shot. Thank you in advance.

http://gimpchat.com/viewtopic.php?f=10&t=426&start=0

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


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: Script/plug-in request for Christmas ornaments
PostPosted: Sat Nov 26, 2011 4:27 pm  (#2) 
Offline
Global Moderator
User avatar

Joined: Apr 07, 2010
Posts: 14182
that would cut down on a lot of the mathmap steps. I did the same thing as you. I made one and I use it for a brush.

_________________
Image


Top
 Post subject: Re: Script/plug-in request for Christmas ornaments
PostPosted: Sat Nov 26, 2011 4:36 pm  (#3) 
Offline
Global Moderator
User avatar

Joined: Oct 06, 2010
Posts: 4050
Yes, I made several angles of toppers, with different lighting. The problem I am facing currently, and the reason I am requesting a script/plug-in, is because I make one image and post it, and then the whole family wants one. I have too many requests and not as much time. A script would help me breeze through this. Fingers crossed!

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


Top
 Post subject: Re: Script/plug-in request for Christmas ornaments
PostPosted: Sat Nov 26, 2011 4:46 pm  (#4) 
Offline
Global Moderator
User avatar

Joined: Apr 07, 2010
Posts: 14182
I will cross mine too... not that we are short of very bright talented scriptwriters here.

_________________
Image


Top
 Post subject: Re: Script/plug-in request for Christmas ornaments
PostPosted: Sat Nov 26, 2011 5:02 pm  (#5) 
Offline
GimpChat Member
User avatar

Joined: Jul 04, 2011
Posts: 395
Location: Indianapolis, IN
I wish there was somebody here that would take me under their wing and teach me this stuff one on one. I'd be scripting my butt off, seriously!

:geek

I have a degree in computer science (that's what they called it back in the 80's) was going to be a COBOL programmer, so logic, flow and exception processing aren't a problem. I just don't know the script-fu language. :(

_________________
"That which does not kill us makes us stronger." ~ Friedrich Nietzsche


Top
 Post subject: Re: Script/plug-in request for Christmas ornaments
PostPosted: Sat Nov 26, 2011 5:13 pm  (#6) 
Offline
Global Moderator
User avatar

Joined: Oct 06, 2010
Posts: 4050
I'd be better at it if I could concentrate on just doing that, unfortunately I only have time to dabble, and by the time I get back to it, I have to train my brain all over again. No excuse, just the way it works out for me. :)

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


Top
 Post subject: Re: Script/plug-in request for Christmas ornaments
PostPosted: Sat Nov 26, 2011 5:23 pm  (#7) 
Offline
Script Coder
User avatar

Joined: Jul 14, 2010
Posts: 697
MrBiggz wrote:
I wish there was somebody here that would take me under their wing and teach me this stuff one on one. I'd be scripting my butt off, seriously!

:geek

I have a degree in computer science (that's what they called it back in the 80's) was going to be a COBOL programmer, so logic, flow and exception processing aren't a problem. I just don't know the script-fu language. :(


I learned lisp in the 80's.

Script-fu is really scheme so if you know programming, get this: http://www.gnu.org/s/mit-scheme/documen ... me-ref.pdf in one hand, and open the pdf reference in the other, and read through a few scripts (using a good syntax highlighting editor)..... That's how I figured it out!

-Rob A>

_________________
Image
Fantasy Cartography and Mapping by RobA


Top
 Post subject: Re: Script/plug-in request for Christmas ornaments
PostPosted: Sat Nov 26, 2011 5:39 pm  (#8) 
Offline
GimpChat Member
User avatar

Joined: Jul 04, 2011
Posts: 395
Location: Indianapolis, IN
RobA wrote:
MrBiggz wrote:
I wish there was somebody here that would take me under their wing and teach me this stuff one on one. I'd be scripting my butt off, seriously!

:geek

I have a degree in computer science (that's what they called it back in the 80's) was going to be a COBOL programmer, so logic, flow and exception processing aren't a problem. I just don't know the script-fu language. :(


I learned lisp in the 80's.

Script-fu is really scheme so if you know programming, get this: http://www.gnu.org/s/mit-scheme/documen ... me-ref.pdf in one hand, and open the pdf reference in the other, and read through a few scripts (using a good syntax highlighting editor)..... That's how I figured it out!

-Rob A>



Rob,

Ok the book but what's this PDF reference you speak of? I use Notepad++ as my editor. I'm willing to take a swing at it!

_________________
"That which does not kill us makes us stronger." ~ Friedrich Nietzsche


Top
 Post subject: Re: Script/plug-in request for Christmas ornaments
PostPosted: Sat Nov 26, 2011 5:47 pm  (#9) 
Offline
Script Coder
User avatar

Joined: Jun 22, 2010
Posts: 1171
Location: Here and there
MrBiggz wrote:
I wish there was somebody here that would take me under their wing and teach me this stuff one on one. I'd be scripting my butt off, seriously!

:geek

I have a degree in computer science (that's what they called it back in the 80's) was going to be a COBOL programmer, so logic, flow and exception processing aren't a problem. I just don't know the script-fu language. :(


That sounds like a challenge to me.

Here's the script-fu resources thread right here on GimpChat: viewtopic.php?f=9&t=724
In which RobA (a notable Script-Fu Guru) pointed to the official Script-fu Tutorial: http://docs.gimp.org/en/gimp-using-scri ... orial.html

So your mission, should you choose to accept it, is to have a read, try something, and start a thread to ask your questions in.

Kevin


:ninja and you Ninja'd me with your reply to RobA


Top
 Post subject: Re: Script/plug-in request for Christmas ornaments
PostPosted: Sat Nov 26, 2011 6:59 pm  (#10) 
Offline
GimpChat Member

Joined: Mar 29, 2011
Posts: 346
Location: Wisconsin
RobA wrote:
Script-fu is really scheme so if you know programming, get this: http://www.gnu.org/s/mit-scheme/documen ... me-ref.pdf in one hand, and open the pdf reference in the other, and read through a few scripts (using a good syntax highlighting editor)..... That's how I figured it out!

-Rob A>

That's exactly how I learned Script-fu. Notepad++ is a good editor to use.

_________________
Image


Top
 Post subject: Re: Script/plug-in request for Christmas ornaments
PostPosted: Sat Nov 26, 2011 7:09 pm  (#11) 
Offline
Script Coder
User avatar

Joined: Jul 14, 2010
Posts: 697
MrBiggz wrote:
Rob,

Ok the book but what's this PDF reference you speak of? I use Notepad++ as my editor. I'm willing to take a swing at it!


Gurp! My bad... PDB (Not PDF) the Procedural DataBase which list all the gimp functions. The easiest way is to open the script-fu console (Filers->Script fu->Console) (TIP: there might be two script-fu entries, check under both...) and open the pdb reference with the Browse button, as this will let you "Apply" them into the script-fu console with the proper brackets.

Under windows I also use notepad++

-Rob A>

_________________
Image
Fantasy Cartography and Mapping by RobA


Top
 Post subject: Re: Script/plug-in request for Christmas ornaments
PostPosted: Sat Nov 26, 2011 7:14 pm  (#12) 
Offline
GimpChat Member
User avatar

Joined: Sep 24, 2010
Posts: 12535
Enjoy using code, but never really got interested in it; learned Fortran and assembler in College, but only did some assembler and Quickbasic during my short 10 year career as an EE. I'm a circuit guy; to eaches own. Anyway, it would be cool to automate the ornament process and maybe we will all get a new toy soon. Anyone for another raindance? lol

:)

_________________
Lyle

Psalm 109:8

Image


Top
 Post subject: Re: Script/plug-in request for Christmas ornaments
PostPosted: Sat Nov 26, 2011 7:25 pm  (#13) 
Offline
GimpChat Member

Joined: Mar 29, 2011
Posts: 346
Location: Wisconsin
There are methods for making the ornament cap that don't require Mathmap. (I haven't found a need for Mathmap so I've never installed it.)

I made this cap using a layer mask and a hard round brush to get the scallop.
Image

_________________
Image


Top
 Post subject: Re: Script/plug-in request for Christmas ornaments
PostPosted: Sat Nov 26, 2011 7:31 pm  (#14) 
Offline
Global Moderator
User avatar

Joined: Oct 06, 2010
Posts: 4050
I've already made 15 of these manually, I don't think I can raindance fast enough! Hahaha! Anyway, that would cut into my time making them... ;)

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


Top
 Post subject: Re: Script/plug-in request for Christmas ornaments
PostPosted: Sun Nov 27, 2011 10:24 am  (#15) 
Offline
Script Coder
User avatar

Joined: Jun 22, 2010
Posts: 1171
Location: Here and there
Has anyone made a start at scripting this? If not I'll give it a go.

Kevin


Top
 Post subject: Re: Script/plug-in request for Christmas ornaments
PostPosted: Sun Nov 27, 2011 1:32 pm  (#16) 
Offline
Global Moderator
User avatar

Joined: Oct 06, 2010
Posts: 4050
I haven't. :) Shall I start the raindance?

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


Top
 Post subject: Re: Script/plug-in request for Christmas ornaments
PostPosted: Sun Nov 27, 2011 2:26 pm  (#17) 
Offline
Script Coder
User avatar

Joined: Apr 23, 2010
Posts: 1553
Location: not from Guildford after all
Christmas Ornament script (visit the page and click on the "Download" button).

It's rather crude (the Map Object plug-in is a bit of a bear to script) but perhaps somebody can do something with the code. It has not been extensively tested so do not be surprised if you encounter bugs (I suspect that in rare cases, some non-square layers that are offset within the image might cause problems).

The script adds a command ("Filters->Map->Christmas Ornament") that works with either the current layer or the selected region of the current layer if there is a selection present. If the region is not square then it will first be fitted within a square region ("letterboxed") using the current background color. The two background strips (if added) will be visible on the final ornament
Attachment:
pinkfairy-orn1.jpg
pinkfairy-orn1.jpg [ 37.9 KiB | Viewed 1878 times ]

To ensure that this does not happen, you should start with a perfectly square layer or selection.
Attachment:
pinkfairy-orn2.jpg
pinkfairy-orn2.jpg [ 18.4 KiB | Viewed 1878 times ]


Original image for the above examples comes courtesy of GIMPchat user Lorri from this thread.

_________________
Any sufficiently primitive technology is indistinguishable from a rock.


Last edited by saulgoode on Sun Nov 27, 2011 10:55 pm, edited 1 time in total.

Top
 Post subject: Re: Script/plug-in request for Christmas ornaments
PostPosted: Sun Nov 27, 2011 2:43 pm  (#18) 
Offline
GimpChat Member
User avatar

Joined: Apr 08, 2010
Posts: 5420
Location: Northwest Ohio
that was quick! Must be Mahv's raindance!


Top
 Post subject: Re: Script/plug-in request for Christmas ornaments
PostPosted: Sun Nov 27, 2011 6:53 pm  (#19) 
Offline
Global Moderator
User avatar

Joined: Apr 07, 2010
Posts: 14182
I get an error when I try to download the script says firefox can't find the server at www.chiselapp.com

_________________
Image


Top
 Post subject: Re: Script/plug-in request for Christmas ornaments
PostPosted: Sun Nov 27, 2011 7:01 pm  (#20) 
Offline
GimpChat Member
User avatar

Joined: Jul 04, 2011
Posts: 395
Location: Indianapolis, IN
molly wrote:
I get an error when I try to download the script says firefox can't find the server at http://www.chiselapp.com


Right click on the link and then 'Save Link as' the MEME settings on that server don't know what a .scm file so it just displays it as text. Hope that works for you!

_________________
"That which does not kill us makes us stronger." ~ Friedrich Nietzsche


Top
Post new topic Reply to topic  [ 34 posts ]  Go to page 1, 2  Next

All times are UTC - 5 hours [ DST ]


   Similar Topics   Replies 
No new posts Attachment(s) Script request

3

No new posts Attachment(s) New GIMP Script Fu / Plug Ins

6

No new posts Christmas Shine - My Christmas Card for 2022

8

No new posts Attachment(s) Don't work procedures plug-in-bump-map, plug-in-displace

2

No new posts My shameful n00b request for help

3



* Login  



Powered by phpBB3 © phpBB Group