It is currently 21 Jan 2018, 06:29

GIMP Python Fu ScriptsExtrude Active Layer with Active Path script for GIMP (Showcase | Slideshow)

Share your Python Fu scripts for GIMP here
User avatar
Pat625
Script Tester
View: Showcase | Slideshow
Topic Posts: 4/15
Posts: 2049
Joined: 27 Sep 2016, 20:35
Cash on hand: 11,979.76 GLP
Gender: Gal
Location: USA
Operating System: Windows
GIMP Version: 2.8.22
x 7
x 430
United States of America

Re: Extrude Active Layer with Active Path script for GIMP

Post#8 by Pat625 » 04 Nov 2016, 21:21


Gimp.jpg
Gimp.jpg # (89.69 KiB) Viewed 642 times (Watermarked | Thumbnail)
Thanks for the explanations, Tin. I still have more questions trying to understand how this works. Should I make my brush size large as that would affect the percentage of brush size. Would that make it go any faster?

Your example of three words with the zig zag path, did you extrude each word separately on a different layer and then merge down? I tried to do all at one time and it ran for close to 20 min. and then just left 3 color bands.

Here is a small successful one done with a small curve path. Do you have any other suggestions or tips for me?
0 x




Registered members enjoy ads-free content
User avatar
tim

Administrator
View: Showcase | Slideshow
Topic Posts: 8/15
Posts: 2071
Joined: 25 Sep 2016, 17:16
Cash on hand: 7,180.19 GLP
Bank: 42,250.25 GLP
Gender: Guy
Location: Victoria, BC
Website: https://gimplearn.net
Operating System: Windows
GIMP Version: 2.8.22
My Personal Blog
My FineArtAmerica
x 1106
x 240
Contact:
Canada

Post#9 by tim » 04 Nov 2016, 23:03


with zigzag I just had one text layer, that has the text "EXTRUDE WITH PATH" and then drew a zigzag. But my text was white so that the gradient when applied remains bright. You can use brush size 100 that would be the fastest i think because it just has to copy layers. But I can run it with starting brushsize 1 percent that's what i used on my 2nd sample and it didn't take too long.
Trying playing with short paths first and you'll get a feel of how long things take. Your curved path looks pretty long that's probably why it's taking a long time.
0 x



aka Tin
Image gimplearn.net                                              

User avatar
Rod
Forum Member
View: Showcase | Slideshow
Topic Posts: 1/15
Posts: 11
Joined: 18 Oct 2016, 03:42
Cash on hand: 12.34 GLP
Gender: Guy
x 1
United States of America

Post#10 by Rod » 05 Nov 2016, 00:49


I did it the hard way first. :lol:
1) I created my black text and a white bg layer
2) I merged down the black text
3) layer to image size
4) colors>invert
5) blur>Gaussian blur by 12 or so (just to look 3Dish)
6) selected black by color and removed black color
7) created a path
8) ran the filter brush size of 10

Results

Image

THEN i did it the easier way :hammer_head:
1) created the new white bg and bluish text
2) Filters>Map>bump map (simple default)
3) created a path
4) ran the filter brush size of 75

Results


Image

Thanks Tran. Nice filter
0 x



Image

User avatar
tim

Administrator
View: Showcase | Slideshow
Topic Posts: 8/15
Posts: 2071
Joined: 25 Sep 2016, 17:16
Cash on hand: 7,180.19 GLP
Bank: 42,250.25 GLP
Gender: Guy
Location: Victoria, BC
Website: https://gimplearn.net
Operating System: Windows
GIMP Version: 2.8.22
My Personal Blog
My FineArtAmerica
x 1106
x 240
Contact:
Canada

Post#11 by tim » 05 Nov 2016, 00:56


Rod, if you just create white text, and bump map using defaults it'll make a nicer gradient (brighter like the actual gradient).
0 x



aka Tin
Image gimplearn.net                                              

User avatar
tim

Administrator
View: Showcase | Slideshow
Topic Posts: 8/15
Posts: 2071
Joined: 25 Sep 2016, 17:16
Cash on hand: 7,180.19 GLP
Bank: 42,250.25 GLP
Gender: Guy
Location: Victoria, BC
Website: https://gimplearn.net
Operating System: Windows
GIMP Version: 2.8.22
My Personal Blog
My FineArtAmerica
x 1106
x 240
Contact:
Canada

Post#12 by tim » 05 Nov 2016, 02:03


Updated version 3.
- Gradient mapping bug fix for when path is really short (and we're only using small percentage for zooming effect).
- Added Reverse Gradient option.
Attachments
Extrude Active Layer with Active Path bug fix.jpg
Extrude Active Layer with Active Path bug fix.jpg # (59.21 KiB) Viewed 429 times (Watermarked | Thumbnail)
Extrude Active Layer with Active Path Added Gradient Reverse option.jpg
Extrude Active Layer with Active Path Added Gradient Reverse option.jpg # (27.26 KiB) Viewed 429 times (Watermarked | Thumbnail)
0 x



aka Tin
Image gimplearn.net                                              

User avatar
RJKD
Tutorial Creator
View: Showcase | Slideshow
Topic Posts: 2/15
Posts: 1280
Joined: 03 Oct 2016, 06:01
Cash on hand: 8,896.25 GLP
Bank: 0.00 GLP
Gender: Guy
Location: Sheffield UK
Operating System: Windows
GIMP Version: 2.8.20
x 1405
x 195
Contact:
Great Britain

Post#13 by RJKD » 05 Nov 2016, 05:28


I'm going to have a lot of fun with this script, here's my first 'successful' outcome, thank you t :gimp_clap:
ExfromPath1.jpg
ExfromPath1.jpg # (61.84 KiB) Viewed 429 times (Watermarked | Thumbnail)
0 x




User avatar
RJKD
Tutorial Creator
View: Showcase | Slideshow
Topic Posts: 2/15
Posts: 1280
Joined: 03 Oct 2016, 06:01
Cash on hand: 8,896.25 GLP
Bank: 0.00 GLP
Gender: Guy
Location: Sheffield UK
Operating System: Windows
GIMP Version: 2.8.20
x 1405
x 195
Contact:
Great Britain

Post#14 by RJKD » 05 Nov 2016, 06:45


This may help you understand how the script is working?
Ex_from_path+to_T.zip #
(196.41 KiB) Downloaded 27 times
0 x




Post Reply

Last 20 Members Who Visited This Topic

User avatar mahvin (1), User avatar RJKD (1), User avatar tim (1), User avatar Pat625 (3)

  • Similar Topics
    Replies
    Views
    Last post
• Featuring Members' Works (Image Attachments Only) •
1: Issabella
2: trandoductin
3: Issabella
4: oldmangrumpy
5: gnerd
6: Pat625
7: Pat625

Who is online

Users browsing this forum: No registered users and 1 guest