Inkscape.org
Creating New Extensions it could enhance "Pattern Along Path"...
  1. #1
    Roberto Tamburrino Roberto Tamburrino @tamburrinoroberto

    Seeing this video  https://youtube.com/shorts/qmMZ3MUULqA?si=j6zHPt6FxRd9lq5n I wondered if it could be replicated with Inkscape, and I saw that the closest thing is "Pattern Along Path", its limitation is that it can use one object at a time, well if you could copy a group of objects and paste them into the "Pattern Along Path" effect, copying shapes, colors and placing them one on top of the other respecting the positions, you would have something similar; if there is a method or a plugin that I don't know about I'll listen.

  2. #2
    karliss karliss @karliss

    There is "Pattern Along Path" LPE - operates with individual paths and outputs single path like most LPE. You can achieve the desired effect by first duplicating the path (one copy per color) and then using "Normal offset" to shift each color.

    And there is "Extensions/Pattern Along Path". This one supports object groups.  Choose "Repeated, Stretched", "Snake" and "Space between copies=0". The trick is that you need to either keep the pattern short or subdivide it before applying effect, otherwise turns will be very angular.

     

  3. #3
    Roberto Tamburrino Roberto Tamburrino @tamburrinoroberto

    yes indeed, if you duplicate the path for the quantity of objects that form the group and adjust the normal displacement it can be done, but you have to spend a little more time than with some plug-in that does it automatically, thanks for replying.

  4. #4
    Paddy_CAD Paddy_CAD @Paddy_CAD
    *

    Here's another method that's visually similar using live path effects. Use the Clone LPE to duplicate a path and the Offset LPE for parallel strokes. Set the offset distance to a multiple of stroke width, or slightly less to suppress antialising artifacts.

    In the example below, use the Node tool to edit the outermost shape in each group.

    I'm not a programmer, but I can imagine an extension that takes some coloured shapes as input and creates clones of the topmost shape and applies offsets and colours and stroke widths from the other shapes. 

    P.S. I could have chosen a nicer background shade.

  5. #5
    Lazur Lazur @Lazur

    Try the bend path lpe. That can bend groups, like in the video. Before the clone original lpe that was the go to method. 

    Copy/paste the core path for the bend lpe or better yet use a clone with the parent path hidden on a layer above. 

    Miters and end caps can be problematic, may need some extra care. 

     

  6. #6
    Roberto Tamburrino Roberto Tamburrino @tamburrinoroberto
    *

    I used CLona, I cloned 3 lines, I gave each one the "Pattern along the path" effect with 3 boxes of different sizes to paste! But when I change the color, say style and move the original line, they take on all the styles and therefore the color of the original, is there a way to differentiate the styles of the various clones while maintaining control over the transformation?

  7. #7
    Roberto Tamburrino Roberto Tamburrino @tamburrinoroberto
    *

    Test https://youtu.be/Myt_oHRpxJc

     

  8. #8
    Lazur Lazur @Lazur
    *

    Here is a bend path effect example bending a "gradient" along a spiral. 

    https://openclipart.org/detail/352913/gradient-spiral

    Such a method can work for the mentioned image.

     

    You can put the parent object onto a hidden layer so it won't obscure the gradient.

    But still be available for editing it later. 

     

    Worth noting that the lpe was off for the last 8 years  and just been corrected recently. Hopefully it will work soon as expected.

    https://gitlab.com/inkscape/inkscape/-/merge_requests/7444/diffs

Inkscape Inkscape.org Inkscape Forum Creating New Extensions it could enhance "Pattern Along Path"...