Request for engineering arrow feature

Asked by pssk1988 on 2018-04-14

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:
2018-04-15
Last query:
2018-04-15
Last reply:
2018-04-15
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)

Hachmann (marenhachmann) said : #2

Later = in the next major version.

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.

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.

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).

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

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.)

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.

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