It is currently Sun Jun 21, 2026 4:59 am


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 63 posts ]  Go to page Previous  1, 2, 3, 4  Next
Author Message
 Post subject: Re: Own "draw arrow" (Pfeil zeichnen) plugin programmed
PostPosted: Fri Mar 06, 2020 5:51 am  (#21) 
Offline
GimpChat Member
User avatar

Joined: Jan 13, 2011
Posts: 2639
Location: Poland
And one more suggestion.
Arrows for technical drawings?
Probably no solution in Gimp and many unanswered questions.


Attachments:
Example-tech_drawing.png
Example-tech_drawing.png [ 9.31 KiB | Viewed 9592 times ]

_________________
Image
Top
 Post subject: Re: Own "draw arrow" (Pfeil zeichnen) plugin programmed
PostPosted: Fri Mar 06, 2020 6:50 am  (#22) 
Offline
GimpChat Member
User avatar

Joined: Aug 22, 2017
Posts: 73
MareroQ wrote:
And one more suggestion.
Arrows for technical drawings?
Probably no solution in Gimp and many unanswered questions.

Try the "Measuring arrow" with less "Thickness of arrowshaft".


Top
 Post subject: Re: Own "draw arrow" (Pfeil zeichnen) plugin programmed
PostPosted: Sun Mar 22, 2020 2:38 am  (#23) 
Offline
GimpChat Member
User avatar

Joined: Jan 13, 2011
Posts: 2639
Location: Poland
Hi Herbie.

Interest is on the arrow a little different type.
It is an arrow with 2 lines (perpendicular on both sides).
The length of the line above and below the arrow should be adjusted independently (by plugin).
But this is maybe the idea for the next plugin?


Attachments:
Technical arrow.png
Technical arrow.png [ 1.58 KiB | Viewed 9554 times ]

_________________
Image
Top
 Post subject: Re: Own "draw arrow" (Pfeil zeichnen) plugin programmed
PostPosted: Thu Mar 26, 2020 12:07 pm  (#24) 
Offline
GimpChat Member
User avatar

Joined: Jan 13, 2011
Posts: 2639
Location: Poland
All new features and new arrow type is very useful for me.
Thank You for the quick implementation.

Last request:
Is it possible to add the "Next arrow" function (without restarting the plugin, i.e. describing the entire drawing in one session)?


Attachments:
Test technical drawing.gif
Test technical drawing.gif [ 35.44 KiB | Viewed 9514 times ]

_________________
Image
Top
 Post subject: Re: Own "draw arrow" (Pfeil zeichnen) plugin programmed
PostPosted: Thu Mar 26, 2020 9:18 pm  (#25) 
Offline
GimpChat Member
User avatar

Joined: Jan 13, 2011
Posts: 2639
Location: Poland
I wanted to repeat to those interested in translating into another language that it is uncomplicated.
I enclose an update of the Polish translation.


Attachments:
HN-Pfeil-zeichnen_PL.zip [6.68 KiB]
Downloaded 295 times

_________________
Image
Top
 Post subject: Re: Own "draw arrow" (Pfeil zeichnen) plugin programmed
PostPosted: Fri Mar 27, 2020 4:56 pm  (#26) 
Offline
GimpChat Member
User avatar

Joined: Jan 13, 2011
Posts: 2639
Location: Poland
Thank You so much for fulfilling my request. :tyspin
You program faster than the speed of light... :clap
The "Next Arrow" works perfectly.


Attachments:
Next arrow.png
Next arrow.png [ 12.52 KiB | Viewed 9451 times ]

_________________
Image
Top
 Post subject: Re: Own "draw arrow" (Pfeil zeichnen) plugin programmed
PostPosted: Fri Apr 10, 2020 1:36 pm  (#27) 
Offline
GimpChat Member
User avatar

Joined: Jan 13, 2011
Posts: 2639
Location: Poland
Hi Herbie.

Just a suggestion:
Arrows for block diagrams? (according to the drawn path - more than 2 anchor points)


Attachments:
Block diagrams.png
Block diagrams.png [ 5.37 KiB | Viewed 9210 times ]

_________________
Image
Top
 Post subject: Re: Own "draw arrow" (Pfeil zeichnen) plugin programmed
PostPosted: Sat May 30, 2020 10:46 pm  (#28) 
Offline
New Member

Joined: May 30, 2020
Posts: 2
Hi,

I've only just started trying Gimp and one of the things I need it to do is draw arrows. I noticed that I couldn't undo the changes. I thought it was corrupting the undo history but am not sure now. Is undo supposed to work?

Gimp 2.10.8 on Windows 10 64 bit


Top
 Post subject: Re: Own "draw arrow" (Pfeil zeichnen) plugin programmed
PostPosted: Sun May 31, 2020 8:38 am  (#29) 
Offline
GimpChat Member
User avatar

Joined: Aug 22, 2017
Posts: 73
Hi,

Your information is correct. GIMP usually stores all the actions taken by the user in a so-called journal. The individual handles can then be undone by the user afterwards. This journal recording is switched off when the "Draw Arrow" plug-in is started and switched on when the plug-in is ended. No handles are collected in the journal during the plug-in session!
This is also not necessary, because everything the user draws is stored in the separate layer group "HN: Arrows" and the sub-layers "Arrow #". If you don't want to keep one of the arrows, for example, you simply have to delete the corresponding layer. Ready!

By the way: In my download directory there are operating instructions in German (Plug-in HN-Pfeil-zeichnen.pdf) and English (Plug-in HN-Draw-arrow.pdf).


Top
 Post subject: Re: Own "draw arrow" (Pfeil zeichnen) plugin programmed
PostPosted: Sun May 31, 2020 6:17 pm  (#30) 
Offline
New Member

Joined: May 30, 2020
Posts: 2
Maybe it makes a difference, I have worked out how to draw an arrow in path "design" mode, but not in "edit" mode. The undo history doesn't show anything after adding an arrow (unlike any other operation on the image).

I have downloaded the manual and code, what a chore that was as I don't read German. Why couldn't you just have 2 zips, one for English and one for German? Most of the install instructions could then be removed.

In any case, I saw mention of the Journal but assumed that meant or was the name for the edit history. Googling "gimp journal" didn't bring up anything relevant. If you are not using history then how to undo something should surely go into the manual. UPDATE: Worked out what you meant by the the layer bit, (should be explained in the manual where I think it says undo is disabled)

It's also possible I'm not doing it correctly as I don't know why a "draw" button exists, rather than auto-drawing on change. I'm also struggling to get more than one arrow and sometimes extra green lines are drawn.


Top
 Post subject: Re: Own "draw arrow" (Pfeil zeichnen) plugin programmed
PostPosted: Mon Jun 01, 2020 9:17 am  (#31) 
Offline
GimpChat Member
User avatar

Joined: Aug 22, 2017
Posts: 73
Hi,
dbareis wrote:
Maybe it makes a difference, I have worked out how to draw an arrow in path "design" mode, but not in "edit" mode. The undo history doesn't show anything after adding an arrow (unlike any other operation on the image).
I repeat. It makes no difference to ME, because I can easily undo every action of my arrow drawing plugin!
However, the second reason is much more important. If changes are made via two different interfaces ("Draw arrow" and GIMP), what does the journal look like at the end of drawing arrows? It will certainly not be clear!
In my user manual I described the positioning and changing of the path on pages 27 and 36-37.
dbareis wrote:
I have downloaded the manual and code, what a chore that was as I don't read German. Why couldn't you just have 2 zips, one for English and one for German? Most of the install instructions could then be removed.
You don't need to be able to read German to install and use my plugin. However, my native language is German and I write programs that German AND English reading users can use the programs.
When I call up a download directory, I first look at the content. For example, if I discovered the file "LiesMich.txt", "ReadMe.txt" or maybe "!LiesMich+Readme.txt", I would read its contents first.
dbareis wrote:
In any case, I saw mention of the Journal but assumed that meant or was the name for the edit history. Googling "gimp journal" didn't bring up anything relevant. If you are not using history then how to undo something should surely go into the manual. UPDATE: Worked out what you meant by the the layer bit, (should be explained in the manual where I think it says undo is disabled)
On page 14 of my user manual, I indicated that the journal had been switched off! On page 26 I pointed out the deletion of the unwanted layers.
dbareis wrote:
It's also possible I'm not doing it correctly as I don't know why a "draw" button exists, rather than auto-drawing on change. I'm also struggling to get more than one arrow and sometimes extra green lines are drawn.
The "Draw" button is necessary because, in order to design the desired arrow, both the arrow and GIMP interface settings may have to be made. How should my plugin know if a GIMP setting has changed?
After you have draw the first arrow, there is a button named "Next" in the user interface aktivated. With this button you can draw the next arrow.

Please enter my download directory
https://www.magentacloud.de/share/x2qpdqu2g4#$/Plug-Ins/Pfeil-zeichnen%2BDraw-arrow,
then download my user manual
Plug-in HN-Draw-arrow.pdf
and read it. It's written in English. After this, I will answer your concret Questions.


Last edited by Herbie on Fri Jan 08, 2021 12:33 pm, edited 1 time in total.

Top
 Post subject: Re: Own "draw arrow" (Pfeil zeichnen) plugin programmed
PostPosted: Fri Aug 21, 2020 6:50 am  (#32) 
Offline
GimpChat Member

Joined: Apr 30, 2018
Posts: 10
Thanks Herbie for this fantastic arrow plugin! Vielen Dank ;)


Top
 Post subject: Re: Own "draw arrow" (Pfeil zeichnen) plugin programmed
PostPosted: Sat Aug 22, 2020 3:11 am  (#33) 
Offline
Script Coder
User avatar

Joined: Feb 18, 2011
Posts: 4826
Location: Bendigo Vic. Australia
I've downloaded and installed as per pdf manual but I cannot see in my filters menu win 10 gimp 2-10-21 from Samj
Edit-I have it working in gimps full version

_________________
Image
No matter how much you push the envelope, it'll still be stationery.


Top
 Post subject: Re: Own "draw arrow" (Pfeil zeichnen) plugin programmed
PostPosted: Sun Oct 25, 2020 12:25 pm  (#34) 
Offline
GimpChat Member
User avatar

Joined: Aug 22, 2017
Posts: 73
Small mistake in the drawing if diameter of shaftdisc <= thickness of arrowshaft corrected for flex arrows
AND journal recording by default activated.


Top
 Post subject: Re: HN: Draw arrow - Arrows, block and flow diagrams and dimensioning
PostPosted: Wed Feb 17, 2021 3:26 pm  (#35) 
Offline
GimpChat Member
User avatar

Joined: Aug 22, 2017
Posts: 73
To all users of my plugin who have a language setting other than "System Language", "English" or "German"!

When starting the plugin, unnecessary error messages appear that are really annoying.
Please install the current version of the plugin!

I apologize!


Top
 Post subject: Re: HN: Draw arrow - Arrows, block and flow diagrams and dimensioning
PostPosted: Fri Feb 26, 2021 8:04 pm  (#36) 
Offline
New Member

Joined: Feb 26, 2021
Posts: 2
Hi, thanks Herbie for the awesome plugin!
But I am having a bit of a problem, after drawing an arrow and clicking on the exit button I can't access the plugin again without restarting gimp, a popup opens saying that the plugin instance is already executing.
This is the message: ERROR: An instance of the plugin "HN: Draw arrow ..." is already running!
I am using gimp GIMP 2.10.22 in Win10, the plugin version is HN-Pfeil-zeichnen_2021-02-17 and the module is HN_Bibliothek_2021-02-23.
Thanks for the hard work!


Top
 Post subject: Re: HN: Draw arrow - Arrows, block and flow diagrams and dimensioning
PostPosted: Wed Mar 03, 2021 3:48 pm  (#37) 
Offline
GimpChat Member
User avatar

Joined: Aug 22, 2017
Posts: 73
ksTakor wrote:
Hi, thanks Herbie for the awesome plugin!
But I am having a bit of a problem, after drawing an arrow and clicking on the exit button I can't access the plugin again without restarting gimp, a popup opens saying that the plugin instance is already executing.
This is the message: ERROR: An instance of the plugin "HN: Draw arrow ..." is already running!
I am using gimp GIMP 2.10.22 in Win10, the plugin version is HN-Pfeil-zeichnen_2021-02-17 and the module is HN_Bibliothek_2021-02-23.
Thanks for the hard work!

This problem usually occurs when an unforeseeable error has occurred during the execution, which makes the further execution of the plugin questionable.
I assume you are using Windows. Please do the following:
1. Go to the plugin folder "..\plug-ins\ HN-arrow-drawing".
2. In the folder you will find a text file "Plugin-Start.txt". Please open this with, for example, the "Editor" (select file -> right mouse button -> Open).
3. Please change the entry "debuggingOn=False" to "debuggingOn=True" (please proceed exactly).
4. Then don't forget to save the file!
5. Start the GIMP as usual and reproduce the error.
6. After the error occurs, exit GIMP.
7. In the plug-in folder you will then find a file "Debug.txt ". Please send this to me.
I will then look for the cause of the error.


Top
 Post subject: Re: HN: Draw arrow - Arrows, block and flow diagrams and dimensioning
PostPosted: Wed Mar 03, 2021 7:29 pm  (#38) 
Offline
New Member

Joined: Feb 26, 2021
Posts: 2
Herbie wrote:
ksTakor wrote:
Hi, thanks Herbie for the awesome plugin!
But I am having a bit of a problem, after drawing an arrow and clicking on the exit button I can't access the plugin again without restarting gimp, a popup opens saying that the plugin instance is already executing.
This is the message: ERROR: An instance of the plugin "HN: Draw arrow ..." is already running!
I am using gimp GIMP 2.10.22 in Win10, the plugin version is HN-Pfeil-zeichnen_2021-02-17 and the module is HN_Bibliothek_2021-02-23.
Thanks for the hard work!

This problem usually occurs when an unforeseeable error has occurred during the execution, which makes the further execution of the plugin questionable.
I assume you are using Windows. Please do the following:
1. Go to the plugin folder "..\plug-ins\ HN-arrow-drawing".
2. In the folder you will find a text file "Plugin-Start.txt". Please open this with, for example, the "Editor" (select file -> right mouse button -> Open).
3. Please change the entry "debuggingOn=False" to "debuggingOn=True" (please proceed exactly).
4. Then don't forget to save the file!
5. Start the GIMP as usual and reproduce the error.
6. After the error occurs, exit GIMP.
7. In the plug-in folder you will then find a file "Debug.txt ". Please send this to me.
I will then look for the cause of the error.

Hi, thanks for the reply, actually I had some problems with my gimp installation and after a clean install, the issue isn't happening anymore, I think something was wrong with my setup.
Sorry for the trouble :oops:


Top
 Post subject: Re: HN: Draw arrow - Arrows, block and flow diagrams and dimensioning
PostPosted: Thu Jul 08, 2021 11:09 am  (#39) 
Offline
GimpChat Member
User avatar

Joined: Aug 22, 2017
Posts: 73
For your information:
In the current version of "HN: Draw arrow (HN: Pfeil zeichnen)" you can find in the installation directory
Quote:
C:\Users\<USERNAME>\AppData\Roaming\GIMP\2.10\plug-ins\HN-Pfeil-zeichnen
of Windows the start file
Quote:
Plugin-Start.txt
with the following content:
# HN-Pfeil-zeichnen start file - begin
# Plugin-Version: 2021-02-17
#
# windowOnTop
#   Fordert den Fenstermanager auf, das Benutzerinterface im Vordergrund zu halten.
#   Requests the window manager to keep the user interface in the foreground.
# journalAktiv
#   Journal-Aufzeichnung für UNDO von GIMP aktiv/inaktiv.
#   Journal recording for UNDO from GIMP active/inactive.
#
# debuggingOn
#   Debuggen für die Fehlersuche ein-/ausschalten (ein = True).
#   Debugging for troubleshooting on/off (on = True).
# debugIntoFile
#   Debuggen in eine Datei "Debug.txt" (True) oder in Meldungsfenster (False).
#   Debugging into the file "Debug.txt" (True) or into a message window (False).
# debugLangText
#   Bei Debuggen in Datei: Ausgabe auch der eingelesenen Sprachtexte (ja = True).
#   At debugging into file: Debug of readed language texts (yes = True).
#
# schaftDickeMax
#   Maximale Dicke/Stärke des Pfeilschaftes in Pixel.
#   Maximum thickness of arrowshaft in pixels.
# pfeilLaengeMax
#   Maximale Länge der Pfeilspitze in Pixel.
#   Maximum length of arrowhead in pixels.
# pfeilBreiteMax
#   Maximale Breite der Pfeilspitze in Pixel.
#   Maximum width of arrowhead in pixels.
# schaftKrSchMax
#   Maximaler Durchmesser/Radius von Schaftscheibe/Schaftkreis/Explosionsgrafik in Pixel.
#   Maximum diameter/radius of shaftcircle/shaftdisc/explosion graphic in pixels.

name="Plugin-Start"
descr="Start-Einstellungen des Plugins"
#
windowOnTop=False
journalAktiv=True
#
debuggingOn=False
debugIntoFile=True
debugLangText=False
#
schaftDickeMax=500
pfeilLaengeMax=1000
pfeilBreiteMax=1000
schaftKrSchMax=1000

# HN-Pfeil-zeichnen start file - end
Using this start file, the user can make important settings such as whether the journal recording for UNDO by GIMP is active/inactive and a lot more!

Please continue to enjoy using my plugin.


Top
 Post subject: Re: HN: Draw arrow - Arrows, block and flow diagrams and dimensioning
PostPosted: Mon Sep 20, 2021 2:49 pm  (#40) 
Offline
GimpChat Member
User avatar

Joined: Aug 22, 2017
Posts: 73
A new version is available in which the different treatment of line endings under Windows and Linux in XML files (language files) has been taken into account. Incorrect error handling has also been corrected.

Have a lot of fun with my plugin in the future as well.


Top
Post new topic Reply to topic  [ 63 posts ]  Go to page Previous  1, 2, 3, 4  Next

All times are UTC - 5 hours [ DST ]



* Login  



Powered by phpBB3 © phpBB Group