It is currently Thu Apr 18, 2024 8:09 pm


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 126 posts ]  Go to page 1, 2, 3, 4, 5 ... 7  Next
Author Message
 Post subject: Announcing ArrowsCreator-0.3
PostPosted: Mon Dec 22, 2014 5:54 pm  (#1) 
Offline
GimpChat Member

Joined: Jul 13, 2014
Posts: 109
Hi,
For those who have adopted GIMP-2.8.14 on Linux or Windows this release candidate ArrowsCreator-0.3
takes advantage of the brush correction in it, being more flexible at the price of not working for GIMP < 2.8.14 .
Among other changes there is new shape head control for style: "Arrow with disk joint".

Merry Christmas to all.

Permit linux-root install for user group and use a background colour for coloured text in UI. (2016-12-09)
Add a patch for a missing case, of head length greater than arrow length, for arrow style 6.
(2017/02/25)


Attachments:
File comment: ArrowsCreator-0.3.5 (2017/02/25)
ArrowsCreator-0.3.py.zip [21.95 KiB]
Downloaded 4612 times
File comment: Style examples
AC-0.3-styles.png
AC-0.3-styles.png [ 113.28 KiB | Viewed 17325 times ]


Last edited by rob_brz1 on Sat Feb 25, 2017 10:45 pm, edited 31 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: Announcing ArrowsCreator-0.3
PostPosted: Mon Dec 22, 2014 6:16 pm  (#2) 
Offline
Global Moderator
User avatar

Joined: Nov 16, 2011
Posts: 5128
Location: Metro Vancouver, BC
Merry Christmas and Thank you, I'll give it a go.

_________________
Image
Gimp 2.8.18, Linux, median user
Gimp Chat Tutorials Index
Spirit Bear (Kermode)


Top
 Post subject: Re: Announcing ArrowsCreator-0.3
PostPosted: Mon Dec 22, 2014 6:19 pm  (#3) 
Offline
Retired Staff
User avatar

Joined: May 22, 2008
Posts: 6947
Location: Somewhere in GIMP
Thank you.

There are two things I don't like about it:
1. Makes a new image Menu item: Extensions. Why not put it in Script-Fu/Tools?

2. It makes a layer group. I'd rather it just used layers.

It seems to work fine. A bit of a tutorial with it would be nice.
Image

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


Top
 Post subject: Re: Announcing ArrowsCreator-0.3
PostPosted: Mon Dec 22, 2014 7:11 pm  (#4) 
Offline
Script Coder
User avatar

Joined: Oct 25, 2010
Posts: 4736
Oregonian wrote:
Thank you.

There are two things I don't like about it:
1. Makes a new image Menu item: Extensions. Why not put it in Script-Fu/Tools?

2. It makes a layer group. I'd rather it just used layers.

It seems to work fine. A bit of a tutorial with it would be nice.
[ Image ]


Script-fu/Tools? There is no such menu in standard Gimp. IMHO the logical place for this kind of script is Filters/Render.

_________________
Image


Top
 Post subject: Re: Announcing ArrowsCreator-0.3
PostPosted: Mon Dec 22, 2014 8:08 pm  (#5) 
Offline
Script Coder
User avatar

Joined: Feb 18, 2011
Posts: 4827
Location: Bendigo Vic. Australia
Oregonian wrote:
Thank you.

There are two things I don't like about it:
1. Makes a new image Menu item: Extensions. Why not put it in Script-Fu/Tools?

2. It makes a layer group. I'd rather it just used layers.

It seems to work fine. A bit of a tutorial with it would be nice.
[ Image ]

'O' I changed my location to Python-Fu/Tools, you will where to change it at the bottom of the file

menu = "<Image>"+_("/Python-Fu/Tools"),

_________________
Image
No matter how much you push the envelope, it'll still be stationery.


Top
 Post subject: Re: Announcing ArrowsCreator-0.3
PostPosted: Mon Dec 22, 2014 11:16 pm  (#6) 
Offline
GimpChat Member

Joined: Jul 13, 2014
Posts: 109
@Odinbc
You're welcome. Much appreciated.

@Oregonian
Welcome and tanks for the comments.

1) I'm mildly surprise at this comment since the configuration part of this plug-in (GIMP's parlance)) was to put everybody who had menu preference on an about equal footing! It's more than GIMP gives, but it's a complex issue, it should not be too easy and not so complicate (for example imagine you want an alphabetical arrangement).
If you do nothing the status-quo seems OK, it's not.

2) It complicates things but offers some advantages like to erase the work made by the plug-in (remember no 'history'): erase the group. Also some info like the creation date is in that layer group parasite.
Now that most of that work is done I'm not eager to change.

As for the tutorial, like many script writer I don't enjoy writing tutorial, compounded with my rusty English.
So a photo will illustrate why I consider it more flexible than before.
Image
Without exiting the plug-in, the size of the 'star' brush was controlled with the plug-in brush slider.


Top
 Post subject: Re: Announcing ArrowsCreator-0.3
PostPosted: Tue Dec 23, 2014 9:43 am  (#7) 
Offline
GimpChat Member
User avatar

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

Image

Thanks for the new update.

_________________
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: Announcing ArrowsCreator-0.3
PostPosted: Tue Dec 23, 2014 5:00 pm  (#8) 
Offline
GimpChat Member

Joined: Jul 13, 2014
Posts: 109
Hi Rod,
For the update you're welcome. :)
This is a work in progress, but I don't plan to add new capability, if any, before we see GIMP-2.10 .
So a candidate release after it was running reasonably well.

Thanks for trying it and the screen capture.


Top
 Post subject: Re: Announcing ArrowsCreator-0.3
PostPosted: Tue Dec 23, 2014 8:24 pm  (#9) 
Offline
Script Coder
User avatar

Joined: Feb 18, 2011
Posts: 4827
Location: Bendigo Vic. Australia
rob_brz1 should ArrowsCreator-0.3 be able to run on 2-8-15

_________________
Image
No matter how much you push the envelope, it'll still be stationery.


Top
 Post subject: Re: Announcing ArrowsCreator-0.3
PostPosted: Wed Dec 24, 2014 3:35 am  (#10) 
Offline
Script Coder
User avatar

Joined: Feb 18, 2011
Posts: 4827
Location: Bendigo Vic. Australia
I hope someone with python skills can help me fix this, because the .py file does not know what to do with 2.8.15 and fails

_________________
Image
No matter how much you push the envelope, it'll still be stationery.


Top
 Post subject: Re: Announcing ArrowsCreator-0.3
PostPosted: Wed Dec 24, 2014 6:51 am  (#11) 
Offline
GimpChat Member
User avatar

Joined: May 16, 2010
Posts: 14709
Location: USA
Graechan wrote:
I hope someone with python skills can help me fix this, because the .py file does not know what to do with 2.8.15 and fails

2.8.15? I didn't know that was released yet.

_________________
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: Announcing ArrowsCreator-0.3
PostPosted: Wed Dec 24, 2014 11:59 am  (#12) 
Offline
GimpChat Member

Joined: Jul 13, 2014
Posts: 109
Hi Graechan,
If you refer to the samj's build. When I tried it, no. Then tried the simpler python plug-in included with it as user to no avail, got a little farther as administrator but could not complete.
So I believe it's an install problem not strictly a python language one.

Edit: works with GIMP-2.9, the last partha's build of December 21.


Top
 Post subject: Re: Announcing ArrowsCreator-0.3
PostPosted: Wed Dec 24, 2014 4:06 pm  (#13) 
Offline
Script Coder
User avatar

Joined: Feb 18, 2011
Posts: 4827
Location: Bendigo Vic. Australia
Rod and rob_brz1 it's a portable build of 2.8.14 I just got from a friend,ArrowsCreator-0.2 works but not 03, note (gimp-version) = ("2.8.15")
Image
Image

_________________
Image
No matter how much you push the envelope, it'll still be stationery.


Top
 Post subject: Re: Announcing ArrowsCreator-0.3
PostPosted: Wed Dec 24, 2014 5:19 pm  (#14) 
Offline
GimpChat Member

Joined: Jul 13, 2014
Posts: 109
Hi Graechan,
If ArrowsCreator-0.2 works well it means that version has not the new brush behaviour of my GIMP 2.8.14 .
The "Take note ..." message is from ArrowsCreator-0.3 because 'gimp.version' has return (2,8,6);
that test is at the line 83 of the code.


Top
 Post subject: Re: Announcing ArrowsCreator-0.3
PostPosted: Wed Dec 24, 2014 5:36 pm  (#15) 
Offline
Script Coder
User avatar

Joined: Feb 18, 2011
Posts: 4827
Location: Bendigo Vic. Australia
it does have the 2.8.14 brush behaviour, I can grow and shrink brushes at will are you sure it's not looking for 2.8.14 instead of 2.8.14 and above
I have ran a script-fu that has to differentiate between 2.8.14 and below and it functions OK

_________________
Image
No matter how much you push the envelope, it'll still be stationery.


Top
 Post subject: Re: Announcing ArrowsCreator-0.3
PostPosted: Wed Dec 24, 2014 6:58 pm  (#16) 
Offline
GimpChat Member

Joined: Jul 13, 2014
Posts: 109
Hi Graechan,
Then if you want to run AC-0.3, I suggest to comment out line 83 to 86 by putting a '#' at the beginning of each line.
 
...
if version < (2, 8, 14) :
    mssgBox("Take note that GIMP => 2.8.14 is needed. Your is %s .\n"%str(version)\
    +"Should remove %s from this folder."%fi)
    sys.exit(1)
...

It look for below that's the reason of the message, my theory is that build use an older gimp.py module.


Top
 Post subject: Re: Announcing ArrowsCreator-0.3
PostPosted: Wed Dec 24, 2014 7:14 pm  (#17) 
Offline
Script Coder
User avatar

Joined: Feb 18, 2011
Posts: 4827
Location: Bendigo Vic. Australia
Way to go, that did the trick All is OK now thank you for your assistance. :jumpclap
yes I,m using 32bit py because the new py wouldn't work in portable yet

_________________
Image
No matter how much you push the envelope, it'll still be stationery.


Top
 Post subject: Re: Announcing ArrowsCreator-0.3
PostPosted: Thu Dec 25, 2014 12:38 am  (#18) 
Offline
GimpChat Member

Joined: Jul 13, 2014
Posts: 109
Happy to assist you Graechan.
Quote:
it does have the 2.8.14 brush behaviour, I can grow and shrink brushes at will are you sure it's not looking for 2.8.14 instead of 2.8.14 and above
I have ran a script-fu that has to differentiate between 2.8.14 and below and it functions OK

The info in the last line got me to consider of using the 'pdb.gimp_version()' of script-fu instead of 'gimp.version' from pygimp the first return (string) is less convenient then the second (tuple) but the first seems to have a more direct relationship with gimp. If it works?


Top
 Post subject: Re: Announcing ArrowsCreator-0.3
PostPosted: Thu Dec 25, 2014 7:50 pm  (#19) 
Offline
Script Coder
User avatar

Joined: Feb 18, 2011
Posts: 4827
Location: Bendigo Vic. Australia
Rob_brz1 using Gimps PDB to determine the version may be more accurate when checking for a 'Gimp' feature in this case

_________________
Image
No matter how much you push the envelope, it'll still be stationery.


Top
 Post subject: Re: Announcing ArrowsCreator-0.3
PostPosted: Fri Dec 26, 2014 4:55 pm  (#20) 
Offline
GimpChat Member

Joined: Jul 13, 2014
Posts: 109
Hi,
Graechan wrote:
Rob_brz1 using Gimps PDB to determine the version may be more accurate when checking for a 'Gimp' feature in this case

That was the idea, since this was put there to lessen frustration, but it did not work. A plug-in fail to register with 'pdb.gimp_version()' there.
A possibility is that the PDB is not accessible at that stage (pre-registration)!


Top
Post new topic Reply to topic  [ 126 posts ]  Go to page 1, 2, 3, 4, 5 ... 7  Next

All times are UTC - 5 hours [ DST ]



* Login  



Powered by phpBB3 © phpBB Group