It is currently Sun Jun 07, 2026 12:15 am


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 115 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6  Next
Author Message
 Post subject: Re: Simple path shapes
PostPosted: Tue Oct 18, 2016 11:10 pm  (#21) 
Offline
Script Coder
User avatar

Joined: May 07, 2014
Posts: 4469
Location: Canada
looking nifty! :D

_________________
TinT
My GIMP 2.10 plug-in writer Fiverr Gig
Plaid Community Forum
Imageplaid-patterns.com


Top
 Post subject: Re: Simple path shapes
PostPosted: Wed Oct 19, 2016 2:08 am  (#22) 
Offline
GimpChat Member

Joined: Sep 13, 2016
Posts: 137
Very nice from opa Peter too ;-)

A small question: after the small change: # before os.remove(svgfile) I looked at the svg in inkscape of the playingcards heart picture and saw the black line sticking out at the top a tiny bit. Looked at it with FireFox the same small ... see:
Attachment:
svg_mini_too_high.jpg
svg_mini_too_high.jpg [ 12.34 KiB | Viewed 2274 times ]


Worthwhile to change this tiny ... ???

Peter


Top
 Post subject: Re: Simple path shapes
PostPosted: Wed Oct 19, 2016 5:36 am  (#23) 
Offline
Global Moderator
User avatar

Joined: May 16, 2010
Posts: 16015
PKHG wrote:
Very nice from opa Peter too ;-)

A small question: after the small change: # before os.remove(svgfile) I looked at the svg in inkscape of the playingcards heart picture and saw the black line sticking out at the top a tiny bit. Looked at it with FireFox the same small ... see:
Attachment:
svg_mini_too_high.jpg


Worthwhile to change this tiny ... ???

Peter

Looks as if the canvas needs to be resized to accommodate the rendered vector.

_________________
Image


Top
 Post subject: Re: Simple path shapes
PostPosted: Wed Oct 19, 2016 6:08 am  (#24) 
Offline
Global Moderator
User avatar

Joined: May 16, 2010
Posts: 16015
MareroQ wrote:
Rel 0.4 (changed the attachment in the first post):

- add shapes: "Octagon","Triangle Reuleaux (curvilinear)","Flower" divided into two (in and out);
- add option shape in selection;
- add option (inspired by Dinasset :hi5 ) "Stroke Color" and "Fill Pattern" created by Tin Tran (https://gimplearn.net/viewtopic.php?t=3&t=141#p324). Thanks Trandoductin!. :tyspin

Nice MrQ! :)

Image

_________________
Image


Top
 Post subject: Re: Simple path shapes
PostPosted: Wed Oct 19, 2016 7:14 am  (#25) 
Offline
GimpChat Member
User avatar

Joined: Jan 13, 2011
Posts: 2637
Location: Poland
@Trandoductin - can I turn on "Draw_Percentage_Ruler.py" (https://gimplearn.net/viewtopic.php?t=3&t=139&p=320#p320) to my toys?

@Rod - thanks for kind words (but it's still a kindergarten coding the paths).

@PKHG - thanks for testing:

Two cases for stroke:
- in selection YES - error fixed (needed stroke outside the selection) - in Rel-0.5 (changed the attachment in the first post),
- in selection NO - only the ability to add border (resize layer).

Is that it?


Attachments:
No selection.png
No selection.png [ 21.42 KiB | Viewed 2259 times ]

_________________
Image
Top
 Post subject: Re: Simple path shapes
PostPosted: Wed Oct 19, 2016 4:51 pm  (#26) 
Offline
GimpChat Member
User avatar

Joined: Jan 13, 2011
Posts: 2637
Location: Poland
Trandoductin did not answer :( - but it's GPL v3. ;)

Rel 0.6:
- add shapes: "Roses compass 4-point"
- add shapes: "Ruler" created by Tin Tran (Draw Percentage Ruler Script for GIMP: https://gimplearn.net/viewtopic.php?t=3&t=139&p=320#p320)


Attachments:
Rose compass and ruler.png
Rose compass and ruler.png [ 439.64 KiB | Viewed 2239 times ]

_________________
Image
Top
 Post subject: Re: Simple path shapes
PostPosted: Wed Oct 19, 2016 4:57 pm  (#27) 
Offline
Script Coder
User avatar

Joined: May 07, 2014
Posts: 4469
Location: Canada
sorry, didn't see this post ealier.
but yeah, go nuts! :hehe

I hope you don't mind me having your rel_0.3 zipped up posted in the calling simple shapes sample post as it is just a sample for dinasset, i didn't want other users trying to use the later versions where it breaks. once they understand they sample call with rel_0.3 they can deal with later versions themselves.

_________________
TinT
My GIMP 2.10 plug-in writer Fiverr Gig
Plaid Community Forum
Imageplaid-patterns.com


Top
 Post subject: Re: Simple path shapes
PostPosted: Thu Oct 20, 2016 2:16 pm  (#28) 
Offline
GimpChat Member
User avatar

Joined: Jan 13, 2011
Posts: 2637
Location: Poland
Thanks Trandoductin. :tyspin
Rel 0.7 Add shapes: "Dodecagon","Mobius band".


Attachments:
Mobius band.png
Mobius band.png [ 235.99 KiB | Viewed 2217 times ]
Dodecagon.png
Dodecagon.png [ 441.51 KiB | Viewed 2219 times ]
Alternative band.png
Alternative band.png [ 164.93 KiB | Viewed 2219 times ]

_________________
Image
Top
 Post subject: Re: Simple path shapes
PostPosted: Thu Oct 20, 2016 2:36 pm  (#29) 
Offline
GimpChat Member

Joined: May 12, 2015
Posts: 4693
Thank you, MareroQ. You really have given us a lot of shapes. It is nice not to have to spend time on trying to make them each time they are needed.


Top
 Post subject: Re: Simple path shapes
PostPosted: Thu Oct 20, 2016 3:16 pm  (#30) 
Offline
GimpChat Member
User avatar

Joined: Oct 06, 2010
Posts: 4050
resize_image_to_layers_by_the_edge error? Does not exist anywhere I can find?

Anyone want to point out what script this actually is so I can add it? I added the two from uncle2k and fencepost. I can't find change image size.scm or any other script that calls for the above, producing the error.


Thanks MareroQ for pointing out the script included with the plugin! My bad!

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


Top
 Post subject: Re: Simple path shapes
PostPosted: Fri Oct 21, 2016 9:26 am  (#31) 
Offline
GimpChat Member
User avatar

Joined: Jan 13, 2011
Posts: 2637
Location: Poland
It does not work? Strange.

Please tell me - Changing Image Border.scm registered in the Layers menu twice:
- Changing the image border ...
- Resize all layers is the image size ?

Soon ver. 0.8 ...


Attachments:
Script in menu.png
Script in menu.png [ 10.05 KiB | Viewed 2251 times ]
Recykle bin.png
Recykle bin.png [ 183.99 KiB | Viewed 2251 times ]

_________________
Image
Top
 Post subject: Re: Simple path shapes
PostPosted: Fri Oct 21, 2016 9:29 am  (#32) 
Offline
GimpChat Member
User avatar

Joined: Oct 06, 2010
Posts: 4050
Yes, its working now. I downloaded the scm file from your zip the second time around. Problem solved!

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


Top
 Post subject: Re: Simple path shapes
PostPosted: Mon Oct 24, 2016 6:53 am  (#33) 
Offline
GimpChat Member
User avatar

Joined: Jan 13, 2011
Posts: 2637
Location: Poland
Rel 0.8 Add shapes:
- "Recycle symbol" (experimental for Mahvin) - to improve (bad center :oops: ) in the final version (1.0)
- "Binoculars"
- "Protractor" created by Tin Tran (Draw_Protractor Rel 1: https://gimplearn.net/viewtopic.php?t=3&t=175#p512). Thanks Trandoductin :hi5


ps. For GIMP 2.9:
      #   pdb.gimp_edit_fill(layer,PATTERN_FILL)    #GIMP 2.8
         pdb.gimp_edit_fill(layer,FILL_PATTERN)     #GIMP 2.9   


Attachments:
Gui SSC.png
Gui SSC.png [ 122.89 KiB | Viewed 2206 times ]
Experimental Recykle bin.png
Experimental Recykle bin.png [ 188.92 KiB | Viewed 2206 times ]
Protractor in Binoculars.png
Protractor in Binoculars.png [ 386.81 KiB | Viewed 2206 times ]

_________________
Image
Top
 Post subject: Re: Simple path shapes
PostPosted: Mon Oct 24, 2016 9:52 am  (#34) 
Offline
Global Moderator
User avatar

Joined: May 16, 2010
Posts: 16015
Sweet additions guys! Thanks.

_________________
Image


Top
 Post subject: Re: Simple path shapes
PostPosted: Mon Oct 24, 2016 5:56 pm  (#35) 
Offline
GimpChat Member
User avatar

Joined: Oct 06, 2010
Posts: 4050
Many many thanks, MareroQ and Tin!

My class will love the new recycle symbol path.

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


Top
 Post subject: Re: Simple path shapes
PostPosted: Mon Oct 24, 2016 7:37 pm  (#36) 
Offline
Script Coder
User avatar

Joined: Feb 18, 2011
Posts: 4826
Location: Bendigo Vic. Australia
I found that with protractor the path was not centered until I used select all first the same went for ruler
Without selection
Image
With selection
Image

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


Top
 Post subject: Re: Simple path shapes
PostPosted: Tue Oct 25, 2016 8:07 am  (#37) 
Offline
Global Moderator
User avatar

Joined: May 16, 2010
Posts: 16015
Graechan wrote:
I found that with protractor the path was not centered until I used select all first the same went for ruler
Without selection
[ Image ]
With selection
[ Image ]

Yes i can confirm this also. With no selection the shape doesn't center.

_________________
Image


Top
 Post subject: Re: Simple path shapes
PostPosted: Tue Oct 25, 2016 9:36 am  (#38) 
Offline
GimpChat Member
User avatar

Joined: Oct 06, 2010
Posts: 4050
Mine doesn't show a selection, after you run the shape, when you select In Selection on the menu.

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


Top
 Post subject: Re: Simple path shapes
PostPosted: Tue Oct 25, 2016 11:39 am  (#39) 
Offline
Script Coder
User avatar

Joined: May 07, 2014
Posts: 4469
Location: Canada
I added version 3 of draw protractor script that draws marks inside the circle.
It's a simple change like 2 or 3 extra lines. it just has an if that calculates the
mradius = radius - mlength
instead of
mradius = radius + mlength.
I don't know if you prefer to use that or not, just a heads up.

PS: Don't even pull the trigger if you see my head in your scope(s). :hehe

_________________
TinT
My GIMP 2.10 plug-in writer Fiverr Gig
Plaid Community Forum
Imageplaid-patterns.com


Top
 Post subject: Re: Simple path shapes
PostPosted: Tue Oct 25, 2016 6:49 pm  (#40) 
Offline
Script Coder
User avatar

Joined: Feb 18, 2011
Posts: 4826
Location: Bendigo Vic. Australia
Trandoductin your protractor and ruler script are fine, but when added to Simple path shapes some thing went wrong with the centering of the path
Result of protractor and the ruler script (no selection)
Image

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


Top
Post new topic Reply to topic  [ 115 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6  Next

All times are UTC - 5 hours [ DST ]



* Login  



Powered by phpBB3 © phpBB Group