ofn-bend-path - 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 (/Thread-ofn-bend-path) |
RE: ofn-bend-path - rich2005 - 12-25-2017 (12-25-2017, 08:23 PM)Blighty Wrote:(12-24-2017, 11:20 PM)Ofnuts Wrote: Btw, how did you generate that sine wave? Shape path does work if you have the latest - v.0.3 -ofn-bend-path script. Another way to get a similar curve with minimal nodes is the smooth path plugin http://registry.gimp.org/node/20069 old works ok in linux. Make a zig-zag and 'smooth' it RE: ofn-bend-path - Ofnuts - 12-25-2017 (12-25-2017, 08:23 PM)Blighty Wrote:(12-24-2017, 11:20 PM)Ofnuts Wrote: Btw, how did you generate that sine wave? Not a matter of count of nodes. It just generates a very special case of paths that triggers a bug in ofn-bend-path which has now been fixed. This said, my own path-waves generates just as accurate sines using fewer nodes (4 per period instead of 8). Choose wisely RE: ofn-bend-path - rich2005 - 12-25-2017 Time for another [attachment=1191] RE: ofn-bend-path - Espermaschine - 12-25-2017 ^ thats a good example where the guides option comes in handy for some padding ! RE: ofn-bend-path - Ofnuts - 12-25-2017 (12-25-2017, 08:45 PM)Espermaschine Wrote:(12-25-2017, 08:23 PM)Blighty Wrote: It is a script called Shape Paths, from here: Why should they be mandatory when their superior craftsmanship is enough to subjugate you? Dictatorships is one's acknowledgment of incompetency. RE: ofn-bend-path - Blighty - 12-26-2017 I have just been playing again with the latest version of ofn-bend-path. Still finding problems. I tried with the old version of my sea sick test (the one I uploaded; paths with too many nodes). I get a different error: Bad file descriptor. Tried a second time with paths made by ofn-path-waves Same result, also Bad file descriptor Tried a third time, simple paths as per version 1 Works fine RE: ofn-bend-path - Ofnuts - 12-26-2017 The script itself doesn't read any file, so I assume that there is a problem with the .PY file you installed and the message comes from the python interpreter (or Gimp's Python interface)(did you restart Gimp?). What says the "More information" area, once expanded? RE: ofn-bend-path - Blighty - 12-26-2017 (12-26-2017, 12:41 PM)Ofnuts Wrote: What says the "More information" area, once expanded? I have just done a complete re-install of Gimp (and Windows, and everything else) Traceback (most recent call last): File "C:\Program Files\GIMP 2\32\lib\gimp\2.0\python\gimpfu.py", line 736, in response dialog.res = run_script(params) File "C:\Program Files\GIMP 2\32\lib\gimp\2.0\python\gimpfu.py", line 361, in run_script return apply(function, params) File "C:\Users\Blighty\.gimp-2.8\plug-ins\ofn-bend-path.py", line 308, in bendPath topSpline,botSpline=splinesFromEnvelope(envelope) File "C:\Users\Blighty\.gimp-2.8\plug-ins\ofn-bend-path.py", line 300, in splinesFromEnvelope s2=Spline(envelope.strokes[1]) File "C:\Users\Blighty\.gimp-2.8\plug-ins\ofn-bend-path.py", line 157, in __init__ self.curves.append(curveFromPoints(s[i:i+8])) File "C:\Users\Blighty\.gimp-2.8\plug-ins\ofn-bend-path.py", line 142, in curveFromPoints trace('PointsX: %r, coeffsX: %r' % (pX,coeffsX)) File "C:\Users\Blighty\.gimp-2.8\plug-ins\ofn-bend-path.py", line 43, in trace print s IOError: [Errno 9] Bad file descriptor RE: ofn-bend-path - Ofnuts - 12-26-2017 Ohh... Ok. If you have a decent code editor change the line (#40) that says 'debug=True' to 'debug=False' (with an uppercase F). Otherwise just redownload the package, I just updated it. RE: ofn-bend-path - Blighty - 12-26-2017 Thanks. Working great. |