[Help] Pattern along path to create circular designs

Hi,

could I trouble you for some help? I am having some trouble with Pattern Along Path and can't wrap my head around it.

Basically I am trying to create circular designs (take a motif and replicate it around a perfect circle). It needs to be 'perfect' as this will go into a cutting machine later on

It works but strangely the path effect seems to very slightly distort the base shape around which the pattern is replicated. I've copied it below: starting with a perfect circle and adding the effect, as you can see with the second one, it distorts very subtly the base shape (eats into the four corners). Then when adding the motif (just a triangle here), and adding another perfect circle in, you can see indeed the shape is replicated around the distorted shape, and not the initial perfect circle.

This is really weird, I've tried several times and made sure this wasn't a copy-paste error... is this expected behaviour?

https://preview.redd.it/pcm82uyzqjl81.png?width=1614&format=png&auto=webp&s=08d152dc4e916c5746eb5d4ba80a73e492496f9f

Posted Mar 5, 2022, 11:05 AM UTC

14
g3mkm•

If no luck here, try the Inkscape forums, from memory there’s a couple of threads about circular patterns and cutting machines

2
Xrott•

I replicated this behavior and it seems, when you apply the path-effect, Inkscape converts the circle to bezier-curves (really badly for some reason), however since bezier-curves can't actually replicate a perfect circle, it gets distorted.

I get better results by explicitly converting the circle to a path first ('Path → Object to Path'), applying the path-effect, then going into node-editing mode and just wiggling one of the handles a bit back and forth (look at the status bar and make sure that, when you release the button, the 'moved by' amount is 0 or something).

After that it's still not a perfect circle, since as stated above, bezier-curves can't do that, but it's a lot closer.

1
quantumdumplingOP•

It works !! 🥳 Thanks a lot !

1
quantumdumplingOP•

By the way, I've found an even easier workaround for the issue of Pattern to Path distorting the target path in some cases : just add nodes to the target path, then it doesn't distort anymore.

For example, if target path is a circle like in example above, first convert it to path if needed, then with the node tool, select all the nodes of the path. With the nodes selected, use the toolbar to automatically add nodes in-between selected existing nodes of the path (will double the nodes each time). I used 8 nodes for the circle and the issue with pattern to path does not come up anymore.

Careful though that adding too many nodes breaks pattern to path (on my Mac at least)!

1