0

How can I use the Knot Effect in Inkscape while keeping arrowheads (markers) on those paths? For example, here are two arrows :

two arrow image

In order to use Knot Effect on multiple paths, I tried combining these two paths (following this tutorial), but then I lose a marker (see the image below).

knot effect image

It seems that after combining the paths, Inkscape regards the whole thing as just one path and adds a single arrowhead in the end, thus losing the other one. Is there a way to combine two paths without losing the marker (the arrowhead), in order to use the Knot Effect?

3 Answers 3

2

Inkscape can manage only two arrows: at the begin and at the end of the path.

Your starting image is composed by two paths:

starting image

The knot Live Path Effect applies to one path only, so you have to combine the paths. This maintain one arrow at one extremity of the resulting path:

Path combined

Now you can add the arrow to the other extremity of the resulting path:

Added both the arrows

Rotating the image and adding the Knot effect, the job is done. You can flip the image if you want the right spear on top.

Final image

For a more complex drawing, you can convert the arrow to path (see this question), and treat it as a graphic object.

Once the arrows are in the desired position, apply Path > Stroke to Path. This create a group of paths.

Arrow to path

Ungroup it, and can place the arrow in the drawing:

Spears with knobs

3
  • Thanks for the helpful answer! For the last part of your answer, you mean to treat each marker as a separate graphic object? If I just follow Scribblemacher's answer to the question you linked, I don't seem to get the correct Knot Effect.
    – Henry
    Commented Mar 29, 2020 at 22:56
  • I have updated my answer Commented Mar 30, 2020 at 8:01
  • Thank you, that's a nice trick!
    – Henry
    Commented Mar 30, 2020 at 12:07
1

You are right. Combining two paths basically turns them into one path. So, you can just use the Fill and Stroke panel, and in the Stroke Style tab, set an arrow head on both the start and end nodes.

Example

enter image description here

0

The Knot LPE also works on groups. Just group'em (instead of combining).

2
  • Just grouping them doesn't seem to work (the Knot Effect doesn't apply then)
    – Henry
    Commented Mar 29, 2020 at 23:32
  • Maybe depends on the version? I was using 0.92.x (soon-to-be 0.92.5).
    – Moini
    Commented Mar 30, 2020 at 19:40

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.