Request for engineering arrow feature

Asked by pssk1988

Many researchers/engineers use inkscape for creating vector graphics. However, a engineering drawing arrow of aspect ratio 3:1 is missing. It would be nice, if such an arrow is made into the default build of inkscape.

More information on arrow proportions can be seen here (figure 6 - closed and filled arrow):
http://nptel.ac.in/courses/112103019/module1/lec3/4.html

Question information

Language:
English Edit question
Status:
Solved
For:
Inkscape Edit question
Assignee:
No assignee Edit question
Solved by:
pssk1988
Solved:
Last query:
Last reply:
Revision history for this message
Hachmann (marenhachmann) said :
#1

You can create such a marker yourself.

Draw it, select it, then do Object > Objects to Marker.
Then you'll find it in the marker dropdown in the third tab of the fill+stroke dialog.

Later, you can use the 'measure segments' path effect. Screenshot:

http://i.imgur.com/fOCXuuJ.png

(arrow heads can be modified)

Revision history for this message
Hachmann (marenhachmann) said :
#2

Later = in the next major version.

Revision history for this message
pssk1988 (sathish-krishnan-p-s) said :
#3

Yes I have it already. Initially I was doing objects to marker, but it takes some effort everytime.

So I permanently created one for the drop down menu of markers myself. I was wondering it would be nice if it is already built-in from Inkscape.

Revision history for this message
Hachmann (marenhachmann) said :
#4

Basically, that would mean editing the file 'markers.svg' here in the development version to include the markers (both directions would be needed):
https://gitlab.com/inkscape/inkscape/tree/master/share/markers

As the marker's size depends upon the stroke width of the object, would you say it is still useful to have such a marker predefined, for the width/height ratio?

Would you like to make a merge request on gitlab for your suggested change?

Another option would be to create a custom marker file that includes the arrow, and
1.) put that into your user configuration directory
2.) also upload it to the inkscape.org website, into the markers category, for sharing.

Revision history for this message
pssk1988 (sathish-krishnan-p-s) said :
#5

As the marker's size depends upon the stroke width of the object, would you say it is still useful to have such a marker predefined, for the width/height ratio?

Yes. I would recommend having a predefined arrow of such ratio. However, I would suggest it to scale depending on the stroke width (like the way it is for current markers).

Would you like to make a merge request on gitlab for your suggested change?

Another option would be to create a custom marker file that includes the arrow, and
1.) put that into your user configuration directory
2.) also upload it to the inkscape.org website, into the markers category, for sharing.

I can share the file, which I made edit from an existing arrow. I am not confident about having my arrow exactly in later versions. It needs further modification. Issue is:

The arrow head comes too much outside the stroke compared to existing arrow heads. The existing arrow heads have the scaling center nearly at the end of the stroke. Mine has scaling center slightly inside the stroke and therefore the arrow is little outside the total stroke length (because of scaling). Ideally I prefer the arrow is confined with in the stroke itself (as it is with existing arrows).

Revision history for this message
pssk1988 (sathish-krishnan-p-s) said :
#6

I would ask for merge request on the gitlab. Could you please edit the marker to meet suggested requirements?

Revision history for this message
Hachmann (marenhachmann) said :
#7

File attachments do not work here.

Please post a link to a file (and if possible, try to do as much of the editing of the markers file yourself as you can, please. SVG is plain text, it's not difficult to do this, when you know how to use a text editor.)

Revision history for this message
pssk1988 (sathish-krishnan-p-s) said :
#8

I have attached my new marker addition here: https://pastebin.com/uR1udJU2

Please note there is large and medium. But the large itself needs to be scaled up to the sizes of other markers. Same with the medium.

Revision history for this message
pssk1988 (sathish-krishnan-p-s) said :
#9

While it does the job, the way it is written looks bad. Kindly standardize accordingly.

Revision history for this message
Hachmann (marenhachmann) said :
#10

What do you think of these:

https://framadrive.org/s/NmiJfpRsYiFqLgM ?

Revision history for this message
pssk1988 (sathish-krishnan-p-s) said :
#11

Great! Serves the need...

Revision history for this message
Hachmann (marenhachmann) said :
#12

I do have these in a markers.svg file, too - only I wanted your feedback on the arrows, if they are the right size etc., before I make a merge request - because I have no idea about your requirements.

I'm not sure how to interpret the 'Serves the need...' - that's why I'm asking again. It doesn't sound very convinced.

Revision history for this message
pssk1988 (sathish-krishnan-p-s) said :
#13

I checked the aspect ratios of the arrows. They are 3:1 and are of different sizes, filled and unfilled. I was mainly looking for the filled one, but there is more than what is required (two options of unfilled ones).

Therefore, it would be helpful to have all of them in production version. No need for doubts.