It is currently Thu Jul 02, 2026 8:51 am


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 70 posts ]  Go to page Previous  1, 2, 3, 4  Next
Author Message
 Post subject: Re: path-to-shape: the hidden son of Gfig and shape-paths
PostPosted: Wed Feb 19, 2014 6:12 am  (#21) 
Offline
GimpChat Member

Joined: Mar 04, 2011
Posts: 2604
Possibly worth a mention that the path does not have to be continuous. You can merge (or link) a couple of paths together before applying the plug-in.

Image


Top
 Post subject: Re: path-to-shape: the hidden son of Gfig and shape-paths
PostPosted: Wed Feb 19, 2014 7:53 am  (#22) 
Offline
Script Coder
User avatar

Joined: Oct 25, 2010
Posts: 4812
Cool shape:

Attachment:
CircleOnDiameterOverRegularPolygon.png
CircleOnDiameterOverRegularPolygon.png [ 141.2 KiB | Viewed 2227 times ]

_________________
Image


Top
 Post subject: Re: path-to-shape: the hidden son of Gfig and shape-paths
PostPosted: Wed Feb 19, 2014 8:32 am  (#23) 
Offline
Script Coder
User avatar

Joined: Apr 13, 2010
Posts: 244
Ooh, this is snazzy! I can't wait to try this out. Thanks, ofnuts!

_________________
I'd rate you as an upper-middle-lower-mod with pro-novice-inter tendencies.....and a twist of lime! Of course, my rating scale is completely objectively subjective, but ALWAYS consistently inconsistent.


Top
 Post subject: Re: path-to-shape: the hidden son of Gfig and shape-paths
PostPosted: Thu Feb 20, 2014 12:17 am  (#24) 
Offline
GimpChat Member
User avatar

Joined: Jan 13, 2011
Posts: 2644
Location: Poland
Another great plugin. :jumpclap
Thank you for longer - and ask for more ?
Is it possible that add heart and epicycloid ?


Attachments:
Cykloid.png
Cykloid.png [ 24.59 KiB | Viewed 2198 times ]

_________________
Image
Top
 Post subject: Re: path-to-shape: the hidden son of Gfig and shape-paths
PostPosted: Thu Feb 20, 2014 2:04 am  (#25) 
Offline
GimpChat Member

Joined: Jan 25, 2014
Posts: 78
Thank you, ofnuts!
Will be playing a lot with this.


Top
 Post subject: Re: path-to-shape: the hidden son of Gfig and shape-paths
PostPosted: Thu Feb 20, 2014 9:05 am  (#26) 
Offline
Script Coder
User avatar

Joined: Oct 25, 2010
Posts: 4812
For the cycloid, see my path-waves plugin.

For the heart, will think about it

_________________
Image


Top
 Post subject: Re: path-to-shape: the hidden son of Gfig and shape-paths
PostPosted: Fri Feb 21, 2014 12:56 am  (#27) 
Offline
GimpChat Member
User avatar

Joined: Sep 22, 2012
Posts: 2089
Location: US
It is totally irrelevant to this script but how do you add anchor point to a path (Bezier curve
or straight line) right in the segment's center? Is there a script of yours that can do that, divide a path into power of 2 number of segments?
E.g. we have a straight line between two anchor points, apply the script = 2 equal segments, reapply the script = 4 segments and so on.


Top
 Post subject: Re: path-to-shape: the hidden son of Gfig and shape-paths
PostPosted: Fri Feb 21, 2014 2:06 am  (#28) 
Offline
Script Coder
User avatar

Joined: Oct 25, 2010
Posts: 4812
K1TesseraEna wrote:
It is totally irrelevant to this script but how do you add anchor point to a path (Bezier curve
or straight line) right in the segment's center? Is there a script of yours that can do that, divide a path into power of 2 number of segments?
E.g. we have a straight line between two anchor points, apply the script = 2 equal segments, reapply the script = 4 segments and so on.

Not very difficult, but none of my script does that so far. I can put that on my bucket list :)

_________________
Image


Top
 Post subject: Re: path-to-shape: the hidden son of Gfig and shape-paths
PostPosted: Fri Feb 21, 2014 5:58 am  (#29) 
Offline
GimpChat Member
User avatar

Joined: Sep 22, 2012
Posts: 2089
Location: US
ofnuts wrote:
Not very difficult, but none of my script does that so far. I can put that on my bucket list :)


Please, do. :) I was trying to make concentric circles with path-to-shape's 'circle from radius'
where radii would be nx2, then realized, there is no precise way to do it in gimp. Now I can think of a few more cases
where I would need such a script. Thank you ofnuts!


Top
 Post subject: Re: path-to-shape: the hidden son of Gfig and shape-paths
PostPosted: Fri Feb 21, 2014 7:36 am  (#30) 
Offline
Script Coder
User avatar

Joined: Oct 25, 2010
Posts: 4812
K1TesseraEna wrote:
ofnuts wrote:
Not very difficult, but none of my script does that so far. I can put that on my bucket list :)


Please, do. :) I was trying to make concentric circles with path-to-shape's 'circle from radius'
where radii would be nx2, then realized, there is no precise way to do it in gimp. Now I can think of a few more cases
where I would need such a script. Thank you ofnuts!


Hmm. What you need is a way to split a line into N segments. So you would do something like:

Attachment:
LineDivideBefore.png
LineDivideBefore.png [ 4.48 KiB | Viewed 2133 times ]


And then the script would evenly spread the nodes:

Attachment:
LineDivideAfter.png
LineDivideAfter.png [ 1.92 KiB | Viewed 2133 times ]

_________________
Image


Top
 Post subject: Re: path-to-shape: the hidden son of Gfig and shape-paths
PostPosted: Fri Feb 21, 2014 8:32 am  (#31) 
Offline
GimpChat Member

Joined: Mar 04, 2011
Posts: 2604
does your generate intermediate paths not do something similar?

Image


Top
 Post subject: Re: path-to-shape: the hidden son of Gfig and shape-paths
PostPosted: Fri Feb 21, 2014 9:16 am  (#32) 
Offline
Script Coder
User avatar

Joined: Oct 25, 2010
Posts: 4812
rich2005 wrote:
does your generate intermediate paths not do something similar?


True :)

_________________
Image


Top
 Post subject: Re: path-to-shape: the hidden son of Gfig and shape-paths
PostPosted: Fri Feb 21, 2014 10:25 am  (#33) 
Offline
GimpChat Member
User avatar

Joined: Sep 22, 2012
Posts: 2089
Location: US
No, I was talking about a script that would find a center on pre-existing/imported path (linear or curved) and place an anchor there.
To create such a path from scratch I don't need a script, I'd probably do just fine using guides, grids and rulers.
The script would have a more general purpose than just creating a number of concentric circles.

Besides, I don't see how intermediate paths plugin would do the task for the curves, e.g. an arc.


Top
 Post subject: Re: path-to-shape: the hidden son of Gfig and shape-paths
PostPosted: Fri Feb 21, 2014 11:14 am  (#34) 
Offline
GimpChat Member
User avatar

Joined: Jan 20, 2013
Posts: 590
ofnuts, please, tell us how to make the "CircleOnDiameterOverRegularPolygon."

_________________
Image


Top
 Post subject: Re: path-to-shape: the hidden son of Gfig and shape-paths
PostPosted: Fri Feb 21, 2014 12:50 pm  (#35) 
Offline
GimpChat Member
User avatar

Joined: Jan 13, 2011
Posts: 2644
Location: Poland
For the cycloid, see my path-waves plugin ?
False.

A new beauty concept to create paths.
I appreciate the path-waves - but your new approach to creating paths is completely different (I thought of a few points create Cykloid)

_________________
Image


Top
 Post subject: Re: path-to-shape: the hidden son of Gfig and shape-paths
PostPosted: Fri Feb 21, 2014 3:26 pm  (#36) 
Offline
Script Coder
User avatar

Joined: Oct 25, 2010
Posts: 4812
Carlos Diniz wrote:
ofnuts, please, tell us how to make the "CircleOnDiameterOverRegularPolygon."


- Make a regular polygon (any of three methods)
- Right-click polygon path -> Shapes>Circle>Circle from diameter

_________________
Image


Top
 Post subject: Re: path-to-shape: the hidden son of Gfig and shape-paths
PostPosted: Fri Feb 21, 2014 3:40 pm  (#37) 
Offline
Script Coder
User avatar

Joined: Oct 25, 2010
Posts: 4812
MareroQ wrote:
For the cycloid, see my path-waves plugin ?
False.

A new beauty concept to create paths.
I appreciate the path-waves - but your new approach to creating paths is completely different (I thought of a few points create Cykloid)


So that begs the two questions:

1) How does one approximates a cycloid with Bezier splines, and 2) what are the point you would have in mind?

_________________
Image


Top
 Post subject: Re: path-to-shape: the hidden son of Gfig and shape-paths
PostPosted: Sat Feb 22, 2014 3:22 am  (#38) 
Offline
GimpChat Member
User avatar

Joined: Jan 13, 2011
Posts: 2644
Location: Poland
Is it possible this way?


Attachments:
Is it possible this way..png
Is it possible this way..png [ 48.82 KiB | Viewed 2157 times ]

_________________
Image
Top
 Post subject: Re: path-to-shape: the hidden son of Gfig and shape-paths
PostPosted: Sat Feb 22, 2014 6:39 am  (#39) 
Offline
GimpChat Member
User avatar

Joined: Jan 20, 2013
Posts: 590
Thanks, ofnuts.

_________________
Image


Top
 Post subject: Re: path-to-shape: the hidden son of Gfig and shape-paths
PostPosted: Sat Feb 22, 2014 12:02 pm  (#40) 
Offline
GimpChat Member
User avatar

Joined: Jan 20, 2013
Posts: 590
ofnuts, that's the result after your explanation. I did a little modification. Thanks again.


Attachments:
CircleOnDiameterOverSpiral.png
CircleOnDiameterOverSpiral.png [ 360.03 KiB | Viewed 2136 times ]

_________________
Image
Top
Post new topic Reply to topic  [ 70 posts ]  Go to page Previous  1, 2, 3, 4  Next

All times are UTC - 5 hours [ DST ]



* Login  



Powered by phpBB3 © phpBB Group