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


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

Thought about that. Not sure it would give very usable results, unless I add a ton of parameters (distance between anchors, distance of removed anchor from straight line between the remaining anchors... ) not speaking of tweaking the tangents to compensate.. . Seen a good paper on this?


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

I agree 110%  that to make something other than simple, would  be a real project and might not be worth the effort.  I was looking at the Inkscape simplify recently and it seems to work much better in the current Inkscape than it ever did in Inkscape 0.48  However, I could not find any mention of a code update so it must be my imagination.

For a simple 'every other control point' using what I have available this is quick. Well known outline.
I can use the old RobA 'Label Path' script to mark every other point ( that is a solid square character 25AA followed by a space 0020)

[attachment=3728]

That gives a plot which I can colour select the control points

[attachment=3729]

..and apply your plugin to simplify.  

[attachment=3730]

Obviously does not discriminate between 'corner' nodes and 'between' nodes but might be useful in certain circumstances or it might just wreck the path Smile