Ah yes. Sometimes I have a hard time understanding Lazur's instructions, and English is my only language. He has a special gift for being about to say a lot of information but with using very few words. Sometimes I have to go very slow, to understand. I'll try to explain some of what he mentioned, just so you can learn other ways.
It is better to make: a not too wide shape + add nodes.
Yes, adding extra nodes is one of those tips I was going to mention, if needed. Since I wasn't sure exactly what your plan was, I didn't know if you would need extra nodes or not. But it's good that you managed to learn on your own
Here's the basic info about using the Pattern Along Path LPE:
1 - Starting with the 3 colored squares for your pattern -- Duplicate it, if you don't want to lose it, because this will change it. Ungroup
2 - Path menu > Combine. You'll probably need to add a stroke, to be able to see the 3 squares, because without a stroke, it will look like one rectangle. The strokes can be removed later. (Hold Shift and click any color on the palette. Or use Object menu > Fill and Stroke > Stroke Paint tab >
(Flat Color button))
3 - Draw the path which you want the pattern to follow.
4 - Path menu > Path Effects (near the bottom of the menu). Clilck the blue plus sign in the dialog
5 - Choose "Pattern Along Path" and click Add button.
6 - Set up options like in the attachment (sorry for ugly color of my dialog - it's ugly, but soft on my eyes). I think those are all the default values in the dialog, but I'm not positive. You can change them later (it's "alive" path effects).
7 - Select the pattern, then Copy (can use button on command bar, Edit menu, or Ctrl c)
8 - Select the path, and click this button in the dialog
(this is another way that's "alive")
9 - Now you should see the same result that you had using the extension, except for no color. But before I tell you how to put the color back, let me show you something cool.
This only works if you paste the pattern using the clone button (
). If you just ust Ctrl + v or the Paste button, you can't do this.
A - Select the original pattern with the Node tool (
).
B - Grab the top-right node of the top square (or any node) and drag it a very short distance
C - Notice what has happened to your path now!
So with this technique, you can start with a general or vague pattern, and later, after it's applied to the path, you can adjust it until it's perfect!
10 - Now to add color. Of course there are a few ways you could add the color, and everyone learns what's right for themselves. If you don't need very much precision, you could simply use the Paint Bucket tool. It's very quick and easy, but it doesn't fill the space very precisely. There will be small gaps without color, and some places where the color goes outside the strokes. I would not recommend using it, in this situation.
This is how I would do it.
10a - Select the PAP result. Make sure it's perfect, because after this point, you can't use the "live" adjustments anymore.
10b - Path menu > Object to Path
10c - Deselect
10d - Using the Node tool
you can select each stripe, and give it the color you want.
I hope in the future, the LPE can be made to accept groups. But even if that's not possible, you can see how powerful this tool can be!
I wouldn't be surprised if Lazur knows some tricks for adding the color.
As it turns out, Inkscape's Pencil tool automatically applies some LPEs. So instead of using the LPE dialog, you could just use the Pencil tool. Here's how that would work.
1 - Draw the pattern
2 - Copy the pattern
3 - Enable the Pencil tool, and look at the control bar (just above the top ruler) Set up the contol bar like in my 2nd attachment
4 - Draw the path
Now when you draw with the Pencil, your pattern is automatically applied. You still would have to use the Node tool to apply color to the stripes. But this is faster than using the LPE dialog.
Why didn't I tell you this from the beginning? So you can have a better understanding how it's working. Plus, there is no "alive" adjustment using the Pencil tool. So if you need to edit the pattern which you applied by using the Pencil tool....actually I think you can use the Pen tool as well.... But if you need to edit the pattern which you applied using Pen or Pencil, you have to open the LPE dialog.
Have fun with LPE