GIMP Chat
http://gimpchat.com/

pm_create_a_glass_marble.py updated to v3
http://gimpchat.com/viewtopic.php?f=9&t=19609
Page 1 of 2

Author:  Pocholo [ Thu Sep 23, 2021 12:00 am ]
Post subject:  pm_create_a_glass_marble.py updated to v3

Not much to say, Thank you Issabella for sharing the tutorial. I didn't like the Octopus, so I created some "Cat's eyes" pattern.
Instructions
***Important***
There is a known problem with GIMP trying to choose anther brush on the pop up Brushes dialog, making the plugin impossible to run twice in a row.(we hope it gets fixed). In the mean time, to run the plugin again go to "Filter> Reset All Filters" if want to run the plugin and you're set to choose a different brush.


Image

Version 2
Changes:
1. You can choose the brush of your choice before running the plugin.
2. The plugin will run every time you call it.


Image

Version 3
1. Added an option to merge all layer's effects into one layer
2. Fixed a typo "Text size" to "Brush size"(sorry guys) Reduce brush size and now you can be able to change the size up to 550 inside the Marble.

Attachments:
pm_create_a_glass_marble_version 3.zip [3.81 KiB]
Downloaded 128 times
pm_create_a_glass_marble_version 2.zip [3.68 KiB]
Downloaded 91 times
pm_create_a_glass_marble.zip [34.8 KiB]
Downloaded 92 times

Author:  dinasset [ Thu Sep 23, 2021 12:17 am ]
Post subject:  Re: pm_create_a_glass_marble.py (Issa wishes)

So, you did it!
Issabella will be very happy.
Why not to create a new "joint venture" between you two for the creation of interesting objects?
(no conflict with our JVID, I'm only interested in photo manipulations)

Author:  Jappaloe63 [ Thu Sep 23, 2021 1:04 am ]
Post subject:  Re: pm_create_a_glass_marble.py (Issa wishes)

Thank you Pocholo, good job...how can I possibly use a different brush in the glass marble? I've already tried a few things but it always uses the same image.

Author:  Issabella [ Thu Sep 23, 2021 1:29 am ]
Post subject:  Re: pm_create_a_glass_marble.py (Issa wishes)

Pocholo! Wow!!!!!!!
You did a wonderful difficult job with superb success! :jumpclap :jumpclap :jumpclap
I love the result. Your object inside is so attractive, too. :tyspin :coolthup
I'm going to do my first result with your filter. :yes

Author:  Issabella [ Thu Sep 23, 2021 1:57 am ]
Post subject:  Re: pm_create_a_glass_marble.py (Issa wishes)

:tyspin Here my first results.
Thank you so much :tyspin

Attachments:
Thanks-Pocholo.JPG
Thanks-Pocholo.JPG [ 160.57 KiB | Viewed 2225 times ]
Thanks Pocholo.JPG
Thanks Pocholo.JPG [ 234.17 KiB | Viewed 2225 times ]

Author:  Issabella [ Thu Sep 23, 2021 2:44 am ]
Post subject:  Re: pm_create_a_glass_marble.py (Issa wishes)

Pocholo, when I want to get another design from your three options, the filter will always choose the first option.
Thanks Pocholo. :) :bigthup

Author:  PixLab [ Thu Sep 23, 2021 3:28 am ]
Post subject:  Re: pm_create_a_glass_marble.py (Issa wishes)

Wow!!!
Thank you so much Pocholo :tyspin
What I like a lot is that we got all layers, thus allowing us to modify them as we wish :coolthup

If you wish you can add to your "Read-Me.txt"
Linux paths for all users
Python script > /usr/lib/gimp/2.0/plug-ins
Brushes > /usr/share/gimp/2.0/brushes

Linux path for a single user
Python script > /home/username/.config/GIMP/2.10/plug-ins
Brushes > /home/username/.config/GIMP/2.10/brushes

My first try
Attachment:
thank you Pocholo.jpg
thank you Pocholo.jpg [ 250.54 KiB | Viewed 2190 times ]

Author:  PixLab [ Thu Sep 23, 2021 3:42 am ]
Post subject:  Re: pm_create_a_glass_marble.py (Issa wishes)

Issabella wrote:
Pocholo, when I want to get another design from your three options, the filter will always choose the first option.
Thanks Pocholo. :) :bigthup

It's "hard coded" @ lines
208 pdb.gimp_brushes_set_brush("Marble ball design #1")
261 pdb.gimp_brushes_set_brush("Marble ball design #1")

While waiting for a fix, we can play by creating a brush and call it Marble ball design #1 (as you did it with your beautiful butterfly ;) )

Author:  PixLab [ Thu Sep 23, 2021 7:44 am ]
Post subject:  Re: pm_create_a_glass_marble.py (Issa wishes)

Sorry I can't wait... so I fixed the brushes' problem (just the choice problem), sorry Pocholo :oops:

As usual, any script passing by me can burn your computer, your house and may even nuke your town, even if I changed just 2 tuples :evilgrin
Attachment:
fixed-pm_create_a_glass_marble.zip [32.89 KiB]
Downloaded 92 times


It works with any brush you got (I have some lightning brushes :yes )
Image

Author:  MareroQ [ Thu Sep 23, 2021 9:30 am ]
Post subject:  Re: pm_create_a_glass_marble.py (Issa wishes)

You only need to add some information.
Try redoing the plugin without restarting GIMP. :gaah
This causes a small "known" problem Issues #6317

Author:  Pocholo [ Thu Sep 23, 2021 10:10 am ]
Post subject:  Re: pm_create_a_glass_marble.py (Issa wishes)

Thank you for the head up in any mistake I made or something I missed.
@Jappaloe63 Thank you. The plugin was fixed by PixLab and you can either redownload it from the initial post or from PixLab post #9

@Issabella; same as Jappaloe63. Download the fixed files again from the initial post or from PixLab post #9

@PixLab, Thank you for the catch and fixed. Also, thank you for pointing out the directory for the Linux users, I will write it on the "Read me please file"

@MareroQ, I totally forgot about that PF_BRUSH problem. By the way, you don't have to re-start GIMP if you want to run the plugin again. I found out that going to: Filters> Reset All Filters, will do the trick. I will included in the "Read me please" file. Thank you for reminding me!

Author:  Issabella [ Thu Sep 23, 2021 10:24 am ]
Post subject:  Re: pm_create_a_glass_marble.py (Issa wishes)

Pocholo, you did an excellent job. Thanks a lot.
PixLab, thanks for fixing the problem.
MareroQ, Thanks, too

Author:  Issabella [ Thu Sep 23, 2021 12:15 pm ]
Post subject:  Re: pm_create_a_glass_marble.py (Issa wishes)

I did a few more glass balls. a bit gripping, I think. :hi5
In colour, too. :coolthup

Attachments:
Marble_Bird_Pocholo.JPG
Marble_Bird_Pocholo.JPG [ 183.52 KiB | Viewed 1714 times ]
Marble_Branch_Pocholo.JPG
Marble_Branch_Pocholo.JPG [ 183.31 KiB | Viewed 1714 times ]

Author:  Issabella [ Thu Sep 23, 2021 12:52 pm ]
Post subject:  Re: pm_create_a_glass_marble.py (Issa wishes)

:paint

Attachments:
Marble_Salamandra_Pocholo.JPG
Marble_Salamandra_Pocholo.JPG [ 184.69 KiB | Viewed 1706 times ]

Author:  Pocholo [ Thu Sep 23, 2021 12:56 pm ]
Post subject:  Re: pm_create_a_glass_marble.py (Issa wishes)

Very nicely done Issa. I like how you used the colors on the glass bubble :jumpclap

Author:  teapot [ Thu Sep 23, 2021 9:09 pm ]
Post subject:  Re: pm_create_a_glass_marble.py (Issa wishes)

Thank you for the script Pocholo :tyspin

Attachment:
pmarble.jpg
pmarble.jpg [ 80.76 KiB | Viewed 1681 times ]


Added a loop on top and turned off the bottom shadow :hehe
Attachment:
pmarble2.jpg
pmarble2.jpg [ 197.53 KiB | Viewed 1674 times ]

Author:  Pocholo [ Thu Sep 23, 2021 11:03 pm ]
Post subject:  Re: pm_create_a_glass_marble.py (Issa wishes)

Very nice Teapot, you have that early Christmas spirit! :jumpclap

Author:  Issabella [ Fri Sep 24, 2021 2:00 am ]
Post subject:  Re: pm_create_a_glass_marble.py (Issa wishes)

Really nice, teapot. :coolthup :bigthup

Author:  mackenzieh [ Sat Sep 25, 2021 2:17 am ]
Post subject:  Re: pm_create_a_glass_marble.py (Issa wishes)

Pocholo, Using "Reset All Filters" every time I want to use the plugin would get a bit tiresome. Is there another solution for this problem? Also, how can brushes that users already have, be resized to fit inside the marble? Also, I think there should be a flatten image option. That way users can continue using the plugin on the same size canvas if they wanted to.

I used the fixed version of the plugin and the plugin still only runs once. Also, not all brushes that users have will fit into the dimensions of the glass ball.

An example would be this:

Image

As you can see, the dropbox logo brush doesn't fit into the glass marble.

Author:  MareroQ [ Sat Sep 25, 2021 5:05 am ]
Post subject:  Re: pm_create_a_glass_marble.py (Issa wishes)

Of course (at least two):
1. Remind the GIMP authors to fix the error (especially as there is a suggestion to fix the problem) - Recommended :yes
2. Change the code so that the plugin uses the default active brush (so You can also customize the size...).
It will be a minor matter for the plugin author - if he wants to change it?. :bowdown

Page 1 of 2 All times are UTC - 5 hours [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/