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?

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

| improve this answer | |
  • 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 Mar 29 at 22:56
  • I have updated my answer – Paolo Gibellini Mar 30 at 8:01
  • Thank you, that's a nice trick! – Henry Mar 30 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

| improve this answer | |
0

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

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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