It is currently Mon Apr 15, 2024 8:04 am


All times are UTC - 5 hours [ DST ]


Switch to mobile style

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: 3975
Location: Canada
looking nifty! :D

_________________
TinT


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 1740 times ]


Worthwhile to change this tiny ... ???

Peter


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

Joined: May 16, 2010
Posts: 14709
Location: USA
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
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: Simple path shapes
PostPosted: Wed Oct 19, 2016 6:08 am  (#24) 
Offline
GimpChat Member
User avatar

Joined: May 16, 2010
Posts: 14709
Location: USA
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
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: Simple path shapes
PostPosted: Wed Oct 19, 2016 7:14 am  (#25) 
Offline
GimpChat Member
User avatar

Joined: Jan 13, 2011
Posts: 2238
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 1725 times ]

_________________
Image

Slava
Ukraini!
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: 2238
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 1705 times ]

_________________
Image

Slava
Ukraini!
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: 3975
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


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: 2238
Location: Poland
Thanks Trandoductin. :tyspin
Rel 0.7 Add shapes: "Dodecagon","Mobius band".


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

_________________
Image

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

Joined: May 12, 2015
Posts: 4694
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
Global Moderator
User avatar

Joined: Oct 06, 2010
Posts: 4045
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: 2238
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 1689 times ]
Recykle bin.png
Recykle bin.png [ 183.99 KiB | Viewed 1689 times ]

_________________
Image

Slava
Ukraini!
Top
 Post subject: Re: Simple path shapes
PostPosted: Fri Oct 21, 2016 9:29 am  (#32) 
Offline
Global Moderator
User avatar

Joined: Oct 06, 2010
Posts: 4045
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: 2238
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 1644 times ]
Experimental Recykle bin.png
Experimental Recykle bin.png [ 188.92 KiB | Viewed 1644 times ]
Protractor in Binoculars.png
Protractor in Binoculars.png [ 386.81 KiB | Viewed 1644 times ]

_________________
Image

Slava
Ukraini!
Top
 Post subject: Re: Simple path shapes
PostPosted: Mon Oct 24, 2016 9:52 am  (#34) 
Offline
GimpChat Member
User avatar

Joined: May 16, 2010
Posts: 14709
Location: USA
Sweet additions guys! Thanks.

_________________
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: Simple path shapes
PostPosted: Mon Oct 24, 2016 5:56 pm  (#35) 
Offline
Global Moderator
User avatar

Joined: Oct 06, 2010
Posts: 4045
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: 4827
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
GimpChat Member
User avatar

Joined: May 16, 2010
Posts: 14709
Location: USA
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
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: Simple path shapes
PostPosted: Tue Oct 25, 2016 9:36 am  (#38) 
Offline
Global Moderator
User avatar

Joined: Oct 06, 2010
Posts: 4045
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: 3975
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


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: 4827
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 ]


   Similar Topics   Replies 
No new posts Simple Geometric Shapes Art using Neural Network

2

No new posts Attachment(s) i struggle with the option to copy the path - the path where a file i

3

No new posts Is there a 'shapes' tool ?

8

No new posts Attachment(s) Abstract Art by Discovery out of Geometric/Basic Shapes

10

No new posts Draw Arrows/Draw Shapes: Sorry! My download link hadn't worked.

0



* Login  



Powered by phpBB3 © phpBB Group