Inkscape.org
Beginners' Questions change patterns from horizontal to curved
  1. #1
    Elfengour Elfengour @Elfengour
    I would like to change the rock pattern from a horizontal to a non-regular shape (see screenshot below).
    Inkscape
  2. #2
    Polygon Polygon @Polygonโš–๐ŸŒถ
    ๐Ÿ‘

    This is how Iยดd go about it:

  3. #3
    David248 David248 @David248
    ๐Ÿ‘*

    Refinement : aย  slighly different method can be used : see attached file.

    Pattern along path allows you to modify the bending path with more detail.

    You can tweak by adding an enveloppe deformation effect if you find the result too uniform.

    Once you're happy with the result, set a clip.

    Bended Pattern
  4. #4
    Elfengour Elfengour @Elfengour

    Work like a charm, but the issue is that I have a long list of rock patterns,ย  how to work with all of them the same way!

    The link to vector format:

    https://blogs.otago.ac.nz/si-geology/resources/illustrationgraphics-resources/usgs-inkscape-pack-instructions-and-download-link/

    Inkscape
  5. #5
    David248 David248 @David248

    Ah, the USGS pattern set... Might be a long work for some patterns : I would :

    1. retrieve the pattern as a path : draw a rectangle, set the desired pattern then do object > pattern to object (shift+alt+I) : the pattern appears somewhere on canvas : type "3" with numeric keypad then zoom out.
    2. analyse the object : this step can be harder. The goal is to have one single path : some patterns are harder than others : they may contain groups, differents paths with different stroke width.ย  Work on the pattern to achieve the right aspect with paths that have the same stroke (you might use stroke to path sometimes), because you will have to combine them to use a single path for the pattern along path effect described in precedent posts.
    3. When the pattern looks ok, select all the paths that compose the pattern and combine them (ctrl+k). The aspect must be unchanged if you worked properly. Once combined, copy the resulting path

    Then use the process described in the precedent posts. If the result seems wrong, it might be because of the stroke width (difference between the path that undergo the pattern along path effect and the pattern itself, especially if you've been obliged to use stroke to path to have the correct aspect for a single path pattern).

    Hope this helps. I didn't try it with all patterns

Inkscape Inkscape.org Inkscape Forum Beginners' Questions change patterns from horizontal to curved