Inkscape.org
  1. #1
    Cloudstorm99 Cloudstorm99 @Cloudstorm99

    I have been trying the knot effect and have been practising with overlapping squares - all good. But trying with triangles does not work 

    Work flow

    1. Create triangle with 6mm stroke
    2. duplicate
    3. Flip with upright arrow
    4. Group the two overlapping triangles
    5. Apply path effect

    Nothing happens

    Two Triangle Star
  2. #2
    Polygon Polygon @Polygon🌶

    Path->Combine the 2 triangles before calling the Path-effect should help.

  3. #3
    Cloudstorm99 Cloudstorm99 @Cloudstorm99

    Thank you very helpful. Is there a way to get better alignment where the cuts occur?  The attached file is pretty ugly!

    Two Triangle Star
  4. #4
    Polygon Polygon @Polygon🌶
    *

    Not really - round Stroke ends can help a little but this Effekt works best with 90* crossings. You can convert with Path->Stroke to Path and adjust a better alignment with the node tool and ctrl+alt keys down to slide nodes along.

     

  5. #5
    Cloudstorm99 Cloudstorm99 @Cloudstorm99

    Everyone thanks for the replies very helpful.

  6. #6
    Paddy_CAD Paddy_CAD @Paddy_CAD

    Here are two old forum posts that might help you.

    https://inkscape.org/forums/tutorials/dynamic-knots
    https://inkscape.org/forums/questions/how-to-skew-and-seamlessly-join-2-text-characters

  7. #7
    Matias Wilkman Matias Wilkman @appas

    I also need help with a knot. It is the "Infinity Knot" that is topmost in the "Dynamic Knots" post. Here is my path (knot1.png). When I apply the "Knot" Path Effect with the default parameters, I get the result in knot2.png. I've tried altering the parameters, but no correct result. I have tried to use the Shape Builder tool to build the knot, like in this tutorial, but I just get a path out of it, and if I apply the Knot effect to the path, the result is as in knot3.png.

    Is the current Knot path effect supposed to be able to handle this pattern? I am using Inkscape 1.3.

    Knot3
    Knot2
    Knot1
  8. #8
    Polygon Polygon @Polygon🌶

    You need a single stroke element - not a color filled shape:

  9. #9
    Polygon Polygon @Polygon🌶

    You need a single stroke element - not a color filled shape:

  10. #10
    Matias Wilkman Matias Wilkman @appas

    I don't quite understand how your shape is different. Mine is also a single stroke - see attached.

    Frame 0983
  11. #11
    Paddy_CAD Paddy_CAD @Paddy_CAD

    Your shape is definitely not a single stroke. [View > Display Mode > Outline] will show you the tangled mess.

    I see that this image was "Generated by the Batik Graphics2D SVG Generator". I recommend that you re-draw the shape with Inkscape.

  12. #12
    Matias Wilkman Matias Wilkman @appas

    Ah, you're right! 

    The image is actually generated in Processing.org... I guess the SVG "record" feature does something besides recording which vertices are drawn in which order.

  13. #13
    Matias Wilkman Matias Wilkman @appas

    @Paddy_CAD, or some other knowledgable fellow: I have re-made the knot in Processing, and the outline is now correct, so I believe the path should be fine. Attached is my file. 

    I still need help, because what I get with the Knot Path Effect at default settings looks like this:

    Now, I read in the documentation for the Knot Path Effect that I need to "drag the diamond node to that crossing; the Switcher will follow" to change which crossing's switcher I am working with. However, I can not seem to move that diamond, no matter what I do! I have the node tool selected, can see the switcher, and indeed can switch modes on the crossing currently selected; but I can not select another node for the switcher to affect - if I click-drag the diamond, nothing happens, and if I click on another node, the switcher stays attached to the node it was already set on.

    How do I select which node/crossing the switcher is affecting?

     

     

  14. #14
    Matias Wilkman Matias Wilkman @appas

    @Paddy_CAD, or some other knowledgable fellow: I have re-made the knot in Processing, and the outline is now correct, so I believe the path should be fine. Attached is my file. 

    I still need help, because what I get with the Knot Path Effect at default settings looks like this:

    Now, I read in the documentation for the Knot Path Effect that I need to "drag the diamond node to that crossing; the Switcher will follow" to change which crossing's switcher I am working with. However, I can not seem to move that diamond, no matter what I do! I have the node tool selected, can see the switcher, and indeed can switch modes on the crossing currently selected; but I can not select another node for the switcher to affect - if I click-drag the diamond, nothing happens, and if I click on another node, the switcher stays attached to the node it was already set on.

    How do I select which node/crossing the switcher is affecting?

     

     

  15. #15
    Paddy_CAD Paddy_CAD @Paddy_CAD

    I'm not sure what went wrong, but your "default settings" screenshot clearly has problems. There are large gaps where there should be none. On the left and right, somehow, there are nodes outside the bounding box. I opened your drawing on my machine and found the same problems.

    Fortunately, I found an easy fix. First, drag a horizontal guide from the ruler and snap to the lowest nodes in your shape. Pick up the Node tool [n], select your shape, then [ctrl+a] to select all nodes. In the Node toolbar turn on [Show transformation handles]. Drag the bottom-centre handle down, then back to the guide. This returns the nodes to their original position but forces Inkscape to recalculate the path effect correctly (hopefully).

    Now the "switcher" seems to work properly. I can [click-drag] from one intersection to another and I can [click] to change the selected intersection.

  16. #16
    Matias Wilkman Matias Wilkman @appas

    @Paddy_CAD: Thank you, that seemed to help, indeed!