Modified and new markers, precision arrows

Bug #169658 reported by Johnymart
2
Affects Status Importance Assigned to Milestone
Inkscape
Fix Released
Medium
Buliabyak-users

Bug Description

Hello,

in technical drawings like this

http://kf.fyz.fce.vutbr.cz/pub/inkscape/vykres-viko.png

it is often needen to make arrows and dimensions. In
inkscape there are suitable line-end-markers
"DimensionIn" and "DimensionOut". But there are two
problems which make it hard for real use. I tried to
demonstrate it on this figure:

http://kf.fyz.fce.vutbr.cz/pub/inkscape/arrows_old_3.png

- The node positions do not correspond to real ends of
the arrows

- The DimensionIn and DimensionOut append a little
perpendicular line to the arrow. Sometimes this line is
not needed. Unfortunately, other arrows are of
different shape so it looks ugly to mix "DimensionIn"
and ArrowL (bigger) or ArrowM (smaller).

So I modified the markers.svg, changed (and simplified)
the DimensionIn and DimensionOut so that the arrow tips
correspond to node positions.
Moreover, I added another arrow shapes - ArrowIn and
ArrowOut. As you can see on this picture

http://kf.fyz.fce.vutbr.cz/pub/inkscape/arrows_new.png

It is now very easy to make dimensions if snap to grid
is activated. Another advantage is that now there are
two type of arrows of the same shape with or without
the perpendicular line.

The arrows/dimensions can now very easily be chained to
make something like

|<----->|<----->|<----->|<---------->|
| | | | |

I am sending you the modified file with markers.

bye
Jan Martinek

Revision history for this message
Johnymart (johnymart) wrote :
Revision history for this message
Molumen (molumen) wrote :

Great improvement for technical drawing!!! Thank you!!!

Revision history for this message
Buliabyak-users (buliabyak-users) wrote :

Jan, I committed the part of your patch with DistanceIn/Out
markers. As for your new arrows, they use white screen
rectangles to hide the blunt tip of the stroke. These
rectangles will only work on white background, and in
general are too hackish and may give a lot of unexpected
surprises to the user. For this reason, I don't think we
want to provide this kind of arrows in the main set. If you
want, you can make a collection of different-sized and
different-shaped arrows with such white screens and we'll
enclose it as an alternative.

However I moved all of our standard arrows as far as
possible back on the path, so that their tips do not
protrude farther than necessary to cover the end of the
stroke. So, now the arrow tips still do not coincide with
end nodes, but are much closer to them than before.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.