Gimp-Forum.net
ofn-path-edits - 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-path-edits (/Thread-ofn-path-edits)

Pages: 1 2 3 4


ofn-path-edits - Ofnuts - 12-03-2016

Just added to the SourceForge collection.

Nothing earth-shattering, it is for the time being mostly a rewrite and repackaging of:
  • delete-strokes
  • reverse-strokes
  • path-splice-strokes
  • path-summary
  • decompose-strokes



RE: ofn-path-edits - Espermaschine - 12-03-2016

First Smile

Theres a bit of a learning curve involved. Will have to dive into it later.


RE: ofn-path-edits - Durgen - 02-02-2017

How would one use these files? Are they able to be used as a plugin? And i'm pretty new to plugin coding so bear with me. Smile


RE: ofn-path-edits - Ofnuts - 02-02-2017

(02-02-2017, 09:09 PM)Durgen Wrote: How would one use these files? Are they able to be used as a plugin? And i'm pretty new to plugin coding so bear with me. Smile

If the question is "can they be used from another plugin" the answer is "sort of" but IMHO you have better steal the code you need.


RE: ofn-path-edits - Ofnuts - 02-05-2019

Added a "Break text path apart" function. Works like "Break path apart", but keeps together strokes that have nested bounding boxes (such as the inner loop of an O which is all enclosed in the outer loop). The result is that you get one path per letter (or diacritics).


RE: ofn-path-edits - rich2005 - 02-05-2019

Thanks, good here Gimp 2.10.8 flatpak
Path-from-text, both Horizontal and Vertical also a path from Text-along-path, all working. Saves a bit of merging Wink


RE: ofn-path-edits - Ofnuts - 02-05-2019

(02-05-2019, 10:47 AM)rich2005 Wrote: Thanks, good here Gimp 2.10.8 flatpak  
Path-from-text, both Horizontal and Vertical also a path from Text-along-path, all working. Saves a bit of merging Wink

Yes. Algorithm is simplistic but works even if you give a slant to the text:

[attachment=2597]



RE: ofn-path-edits - Ofnuts - 06-30-2019

Updated the script with two functions to sort strokes by position. Right now the only use case I have for this is preparing the path for an animation script I'm still working on...


RE: ofn-path-edits - Ofnuts - 01-06-2020

Added Extract/Delete anchors function


RE: ofn-path-edits - rich2005 - 01-07-2020

I did see your post on reddit Wink
Nice one. Works great. The only snag I can see is selecting the control points. The path tool display vanishes as soon a select tool is chosen, so markers might be required depending on selection tool.

[attachment=3725]

Quick mask is ideal for this:

[attachment=3726]

...and the edit applied.

[attachment=3727]

Could be part way to a Gimp simplify path tool, every other control point?