GIMP Chat http://gimpchat.com/ |
|
Simple path shapes http://gimpchat.com/viewtopic.php?f=9&t=14742 |
Page 4 of 6 |
Author: | Rod [ Fri Oct 28, 2016 5:17 am ] |
Post subject: | Re: Simple path shapes |
MareroQ wrote: I'm not sure that's it... Thanks MareroQ this will work nicely with Mandela effects. ![]() |
Author: | Quvenalo [ Fri Oct 28, 2016 5:24 am ] |
Post subject: | Re: Simple path shapes |
Thanks you very much MareroQ |
Author: | Rod [ Fri Oct 28, 2016 6:02 am ] |
Post subject: | Re: Simple path shapes |
Works great MareroQ! This is 1/8 shape. ![]() |
Author: | mahvin [ Fri Oct 28, 2016 7:16 am ] |
Post subject: | Re: Simple path shapes |
Looks like 4 cloves of garlic on a spaghetti pizza, Rod. |
Author: | MareroQ [ Fri Oct 28, 2016 9:33 am ] | ||
Post subject: | Re: Simple path shapes | ||
Rel 1.0 alfa: - add shapes "Grid" (Grid rectangular (c) Ofnuts v0.0 https://sourceforge.net/projects/gimp-path-tools/files/scripts/), - add shapes "Pie 1/2 and 7/8", - add a separate option for Mark Length, - add fills selection with Active Brush created by Tin Tran (Fill_Selection_With_Brush ver.3 https://gimplearn.net/viewtopic.php?t=3&t=177#p522) - shape "Ruler" return to the basic version.
|
Author: | PKHG [ Fri Oct 28, 2016 10:43 am ] |
Post subject: | Re: Simple path shapes some mini Errors? |
Hi MQ, Just installed Version 1 (alpha): Version 0.9 there was something not OK: A rectangular selection and then using "Axis of Symmetrie" with filled the total image. Version 1.0 alpha does not fill the pattern as was done earlier e.g. Axis of Symmetrie (should be indeed as it is now excluded) but not: both flower posibilities and Hexagon and (not more checked).. Next, on my Laptop all of the lowest buttons are nearly invisible, meaning, I think, that there are too much options to chose from (normal Plugin way) ;-( Only solution seems to be using an gtk UI ;-) ... or other ways I do not know yet. I am busy to expand the Arakne guide-lab (Version D), where you can see the gtk UI. And I used it to use intersection-points to create (at this momen) either rectangles ore ellipses and fill them with random colors or the color of the pixel(s) at the intersections My idea is to use YOUR plugin as helper to fill chosen selections (one intersection ONE , etc ) You allow it to use? Please Greets Peter |
Author: | Wallace [ Fri Oct 28, 2016 10:54 am ] |
Post subject: | Re: Simple path shapes some mini Errors? |
PKHG wrote: Hi MQ, Just installed Version 1 (alpha): Next, on my Laptop all of the lowest buttons are nearly invisible, meaning, I think, that there are too much options to chose from (normal Plugin way) ;-( Only solution seems to be using an gtk UI ;-) ... or other ways I do not know yet. Greets Peter If you install the Script-Fu Scrolling Interface. This should no longer be an issue. Script-Fu Scrolling Interface Link for Download |
Author: | Rod [ Fri Oct 28, 2016 5:20 pm ] |
Post subject: | Re: Simple path shapes some mini Errors? |
Wallace wrote: PKHG wrote: Hi MQ, Just installed Version 1 (alpha): Next, on my Laptop all of the lowest buttons are nearly invisible, meaning, I think, that there are too much options to chose from (normal Plugin way) ;-( Only solution seems to be using an gtk UI ;-) ... or other ways I do not know yet. Greets Peter If you install the Script-Fu Scrolling Interface. This should no longer be an issue. Script-Fu Scrolling Interface Link for Download Script-Fu Scrolling interface will only work with SCM scripts. You need the gimp-fu.py version from Bytes and Pixels. I attached it here in a zip file. Make sure you save the original gimp-fu.py file in a safe place. Install the one i attached Restart GIMP and python dialogs will be in columns. ![]() Attachment: Example ![]() |
Author: | MareroQ [ Fri Oct 28, 2016 5:29 pm ] | ||
Post subject: | Re: Simple path shapes | ||
Hi Peter. Obviously - not every Path can be converted to Selection. I am very interested in Your version Arakne guide-lab - still I want to learn. ![]() ====================================================================== Thanks Rod for gimpfu. ![]() Scrolling plugins (*.py) viewtopic.php?f=9&t=13714 ====================================================================== Rel 1.0 beta: - repair of error for Gimp 2.9 (called deprecated procedure 'gimp_selection_load'.It should call 'gimp-image-select-item' instead! ![]() - add transparency layer (create new) for fill and stroke.
|
Author: | ofnuts [ Fri Oct 28, 2016 7:09 pm ] |
Post subject: | Re: Simple path shapes some mini Errors? |
Rod wrote: Wallace wrote: PKHG wrote: Hi MQ, Just installed Version 1 (alpha): Next, on my Laptop all of the lowest buttons are nearly invisible, meaning, I think, that there are too much options to chose from (normal Plugin way) ;-( Only solution seems to be using an gtk UI ;-) ... or other ways I do not know yet. Greets Peter If you install the Script-Fu Scrolling Interface. This should no longer be an issue. Script-Fu Scrolling Interface Link for Download Script-Fu Scrolling interface will only work with SCM scripts. You need the gimp-fu.py version from Bytes and Pixels. I attached it here in a zip file. Make sure you save the original gimp-fu.py file in a safe place. Install the one i attached Restart GIMP and python dialogs will be in columns. ![]() Attachment: gimpfu-col.zip Example [ Image ] Using the scrollable version of the dialog is the admission that the whole thing has become unwieldy. IMHO, many of settings should be taken from Gimp's context: fill pattern/color, stroke color, stroke width (current brush). There is also a good case to have one plugin entry for each shape, to allow specific shapes to be attached to hotkeys. It is not very difficult in Python to define registration parameters programmatically with a set of common parameters plus a bunch of parameters specific to each entry(*). Otherwise making an explicit interface with PyGTK could be a nice move because in addition to the better dialogue shape you can add some intelligence to add/remove controls as necessary and provide defaults suited to the current image and selection. (*) see ofn-path-to-shape's reg() function. |
Author: | Graechan [ Fri Oct 28, 2016 8:28 pm ] |
Post subject: | Re: Simple path shapes |
MareroQ the new Rel 1.0 beta is a great leap forward 'Well done rulers, protractor and selection returns are perfect'.
It's big advantage from 'path shape creator' is that it can be called to RUN-NONINTERACTIVE. ![]() ![]() |
Author: | Rod [ Fri Oct 28, 2016 9:05 pm ] |
Post subject: | Re: Simple path shapes |
Graechan wrote: MareroQ the new Rel 1.0 beta is a great leap forward 'Well done rulers, protractor and selection returns are perfect'. It's big advantage from 'path shape creator' is that it can be called to RUN-NONINTERACTIVE. ![]() [ Image ] Hrmmm are you thinking of a script too Graechan? ![]() |
Author: | Graechan [ Fri Oct 28, 2016 9:12 pm ] |
Post subject: | Re: Simple path shapes |
Rod I have called the script-Fu 'Shape Paths' during some of my scripts before to get a desired path very successfully
![]() |
Author: | Graechan [ Fri Oct 28, 2016 9:30 pm ] |
Post subject: | Re: Simple path shapes |
MareroQ when I posted the Image from gimps procedure browser something stood out, and there maybe a easy fix.
So I did it roughly for the first 2 choices 0 and 1, as an example of what I'm talking about, because I don't know if or how it can be done properly. ![]() |
Author: | PKHG [ Sat Oct 29, 2016 4:10 am ] |
Post subject: | arakneguidelabextra.py |
Hello, including my latest version of the Arakne guid-lab. Hope that I do not violate copyrights ... Here my explanation (in German) Das wichtigste: ALLES basiert und soll das benutzen: Arakne -guide-lab und das ist durch EINE Option erweitert. Das originale guide-lab (Version D) kann 'nur' einzelne Hilfslinien erstellen, ausser wenn eine der zwei Optionen ausgewählt wurde: mit deren Hilfe gespiegelte Hilfslinien (also 2) erzeugt werden können (was hinter Replicate steht: Mirror oder Perimeter) Meine Erweiterung des guide-labs ist: die Zeile die mit several guides anfängt! Finde ich SEHR nützlich! Eine 'halbe' Hinzufügung: die Möglichkeit das UI immer oder gerade nicht als oberstes Fenster haben zu wollen! Dann die erste (echte) Hinzufügung, kommt von gimpchat.com, wo jemand fragte um à la Excel Rechtecke entlang von Hilfslinien gezeichnet haben wollte, das ist dort ein Plugin, welches ich (meiner Meinung nach) ein wenig optimiert hinzugefügt habe. Anstatt viele kleine Vektoren nur lange Vektoren, weil eine Auswahl beim stroken (hier ist das das richtige Wort) benutzt wird. Das ist EINE Zeile: die die mit der Schaltfläche createthepath beginnt! Da es Hilfslininien benutzt, fand ich es sinnvoll das in das guide-lab mitzunehmen. Die Zeile mit Prepare ... ist 'nur' Information für die auf ganz und gar eigenem Mist gewachsener Wunsch die Schnittpunkte von den haargenau zu setzenden Hilfslinien zu benutzen . Deren Wahlmöglichkeiten darunter zu finden sind. In der heutigen Version kann man nur zwischen Ellipsen (Kreise) und Rechtecken (Quadrate) wählen, wobei man Höhe und Breite angeben muss. Zeile fängt an mit: set width (setze die Breite) und endet (im Prinzip) mit: selection(s) at intersection(s) . Mit der Option fill selections? (Standard wert no (NEIN)) wird eine Auswahl rund um alle Schnittpunkte erstellt. DIE Bemerkung: wegen des guide-lab kann man ja alles ziemlich schnell ändern, wo man eine Auswahl haben will: Die kann man dann ja auch mit einem Muster 'füllen' (ohne das UI zu entfernen!!!!) und noch mal und noch mal .. anpassen. Die 'no' Option hat (im Moment) noch zwei andere Möglichkeiten. Alle (durch die eingestellten Schnittpunkte ) Auswahle(n) entweder mit jeweils einer 'willkürlich' (random) Farbe füllen oder die Farbe des Schnittpunktes in der untersten Ebene nehmen, wovon noch die 'opacity' eingestellt werden kann (opacity-fill-bucket) zwischen 0 und 100. Was man auch wissen muss: wird 'stroke' oder füllen von Auswahl benutzt, passiert das immer in der obersten Ebene ( gimp.image_list()[0].layers[0]), wenn es eine gibt. Mit EINER Ebene ist sie unterste und oberste zugleich . Attachment: The help about longer menu's from normal plugins (W10 64 bit) seems to help. I have, thanks to Arakne-guidelab' at least partly understood hoe gtk works Thinking about to use a 'fourth' tab to show all the parameters of "Simple shapes centered" ... Attachment: gl_ex_02.gif [ 206.64 KiB | Viewed 1396 times ] This is an example, to use the color of a guidelinke intersection to fill in this case elliptic selections. This unselects the selection. Afterword nearly all guides were erase using the guid-lab and a new selection (same size) with option (no) (no fill) was activated and the ellipse by hand filled with RED color ==> a gif And the left most boy was me, ca 50 years ago ;-). |
Author: | PKHG [ Sat Oct 29, 2016 7:40 am ] |
Post subject: | Re: Simple path shapes |
beta Version is indeed very nice. Question: I can yet not see what makes the menu 'broader' in place of longer? Just checking all fillable figures: The ellipse is a circel, yes and no, it follows the selection to make it a real ellipse. OK. Diamonds and hearts are using the left part of a square selection , a right shift missing? EDIT: No easy error: for a square: if x2-x1 >= y2-y1: #PKHG>change from > to >= in around line 119 Most of your fillable pathes, nicely placed using my guidelabextra ;-) Attachment: simpl_path_shapes_03.JPG [ 200.45 KiB | Viewed 1390 times ] Attachment: simpl_path_shapes_03.JPG [ 200.45 KiB | Viewed 1390 times ] |
Author: | Rod [ Sat Oct 29, 2016 9:53 am ] |
Post subject: | Re: Simple path shapes |
Graechan wrote: Rod I have called the script-Fu 'Shape Paths' during some of my scripts before to get a desired path very successfully ![]() Agree. ![]() |
Author: | MareroQ [ Sat Oct 29, 2016 3:43 pm ] | ||
Post subject: | Re: Simple path shapes | ||
Hi Peter. Guideslabextra.py is very interesting - but tough code (need more time). Unfortunately, as most plugins Arakne for Gimp 2.9.5 does not work.
|
Author: | MareroQ [ Sat Oct 29, 2016 4:00 pm ] | ||
Post subject: | Re: Simple path shapes | ||
Rel 1.0: - correction shapes "Recycle" (bad axis ![]() - add shapes "Gear", "Star", Polygon" created by Jonathan Stipe 2004-2006 (necessary script-fu Shape-path.scm). This is not the end - but a longer break. ![]()
|
Author: | Graechan [ Sat Oct 29, 2016 9:10 pm ] |
Post subject: | Re: Simple path shapes |
MareroQ I have thoroughly tested Rel1.0 and found it a very stable release
![]() |
Page 4 of 6 | All times are UTC - 5 hours [ DST ] |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |