13

The following screenshot shows a vector with guides forming its horizontal and vertical limits:

screenshot of vector to be bent

How is it possible to bend the vector (along with a line – marked green in the image – which will serve as a reference) along a circular arc (of arbitrary radius)? Assuming the line is drawn along the mean of both the horizontal guides from edge to edge of the vector (i.e. with 145.07mm length in the screenshot).

The arc has the same length as the line, and after the transformation, every point in the reference line will lie along its corresponding point on the circular arc.

I understand this is a simple rectangular to polar transformation, but can't find a way to do it in Inkscape. I can get close results with "Bend path" effect, but close is not enough.

I am okay with using some other software (as long as it is FOSS and can do it without much effort).

18

Inkscape has path effect "Pattern Along Path" which can produce something resembling. It's not limited to circular arcs, the bending route can be arbitary. See an example:

enter image description here

  1. The original shape, must be a vector path, copied to clipboard for step 3

  2. The wanted bending route, must be a path, circles, rectangles etc. preset shapes must be converted to paths before use (Path/Object to Path)

  3. The curve in (2) has got path effect "Pattern Along Path" The pattern was taken from the clipboard

  4. The color was lost, but normal coloring works. A red fill was selected.

17

There are several methods to do this. Here's another

  1. Copy the graphic. Then choose the Bézier tool.

  2. In the tool options, choose the option that says "Bend from Clipboard".

  3. Draw a curve with the Bézier tool.

A nice feature of using a Bend path effect is that you also get an interactive control to adjust the width of the graphic.

enter image description here

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.