Gimp-Forum.net
ofn-bend-path error / help? - Printable Version

+- Gimp-Forum.net (https://www.gimp-forum.net)
+-- Forum: GIMP (https://www.gimp-forum.net/Forum-GIMP)
+--- Forum: Extending the GIMP (https://www.gimp-forum.net/Forum-Extending-the-GIMP)
+--- Thread: ofn-bend-path error / help? (/Thread-ofn-bend-path-error-help)

Pages: 1 2


ofn-bend-path error / help? - eepjr24 - 11-24-2020

Trying to learn to manipulate paths better, so I got ofn-bend-paths installed and thought I had set everything up correctly. I have one image (paths) with the two strokes in it. 

[attachment=5226]

The second image (bends) shows what I am trying to bend and the error.

[attachment=5227]

Am I doing something obvious wrong?

Also it does not affect functionality at all, but "should" is missing an L in the error message.

- Ernie


RE: ofn-bend-path error / help? - Krikor - 11-25-2020

I think there should only be two strokes in each path
[attachment=5228]


RE: ofn-bend-path error / help? - eepjr24 - 11-25-2020

(11-25-2020, 12:22 AM)Krikor Wrote: I think there should only be two strokes in each path

Is a stroke the same as a segment?

My confusion arises because everything I can find on "stroke" regarding a path leads me to stroking the path similar to stroking the selection. Is there another terminology I should be using? Just trying to learn. If I have said something obvious wrong and apparent, apologies, I just don't get what the message means.

- E


RE: ofn-bend-path error / help? - Krikor - 11-25-2020

(11-25-2020, 12:33 AM)eepjr24 Wrote:
(11-25-2020, 12:22 AM)Krikor Wrote: I think there should only be two strokes in each path

Is a stroke the same as a segment?

My confusion arises because everything I can find on "stroke" regarding a path leads me to stroking the path similar to stroking the selection. Is there another terminology I should be using? Just trying to learn. If I have said something obvious wrong and apparent, apologies, I just don't get what the message means.

- E

Quote:In practice the stroke is defined and handled as a series of triplets of points, each triplet being made of the backward handle, the anchor, and the forward handle
Details in https://www.gimp-forum.net/Thread-Paths-Basics


Using ofn-path-edits it is possible to check the number of strokes for a selected path

Edit - Path Summary

More informations in https://www.gimp-forum.net/Thread-ofn-bend-path?pid=4628#pid4628


RE: ofn-bend-path error / help? - eepjr24 - 11-25-2020

(11-25-2020, 12:52 AM)Krikor Wrote: Details in https://www.gimp-forum.net/Thread-Paths-Basics


Using ofn-path-edits it is possible to check the number of strokes for a selected path

Edit - Path Summary

More informations in https://www.gimp-forum.net/Thread-ofn-bend-path?pid=4628#pid4628

Thank you, off to read more.

- E


RE: ofn-bend-path error / help? - Ofnuts - 11-25-2020

Agreeing with Krikor, you likely have a 3rd stroke somewhere, possibly a stray anchor.

Caveats:
  • ofn-bend-path only alters the path vertically (given the shape you seem to want to wrap it around a half circle). 
  • the ends of the "top" path being below the end of the "bottom" path may confuse the script as to which stroke is "top" and which is "bottom"



RE: ofn-bend-path error / help? - eepjr24 - 11-25-2020

Okay, I understand the problem now, going to post just so anyone else who has this problem might have bread crumbs.

I had checked the paths to make sure each of the anchors were connected (each was a single "stroke") using the very crude method of moving the path and seeing if anything stayed behind. I had to do this several times to find what I thought was all of the separate strokes. What I missed is that sometimes a stroke can happen off of the canvas and thus does not show up with my crude method. After being shown the capabilities of ofn-path-edit, I found that I had a stray path, increased the canvas size, use the path edit to select and delete the errant stroke.

Thanks for the point in the right direction, @Krikor.

- E


RE: ofn-bend-path error / help? - Blighty - 11-25-2020

Is this the effect you are wanting?
Done with polar co-ordinates. Quite a few steps, so not that easy to explain to a beginner. Probably best if Rich could make a short video.


RE: ofn-bend-path error / help? - eepjr24 - 11-25-2020

(11-25-2020, 07:08 PM)Blighty Wrote: Is this the effect you are wanting?
Done with polar co-ordinates. Quite a few steps, so not that easy to explain to a beginner. Probably best if Rich could make a short video.

That's pretty much it exactly. If Rich has time that's great,  but you got me the name of the effect so I'll start reading on that too. 

-E


RE: ofn-bend-path error / help? - eepjr24 - 11-26-2020

I think I got close, although I had to do some manual editing to get it close to what I want, but the Polar Coordinates I will need to play with more.

[attachment=5237]

- E