PIRC Forum

Affinity Designer Forums => Affinity Designer Discussion => Topic started by: KenA on March 14, 2019, 06:02:47 PM

Title: Vector lines strait and curved stuff
Post by: KenA on March 14, 2019, 06:02:47 PM
Want to run two parallel lines strait then curved. Would like to do this by just bending the existing strait lines. Looked thrugh the tutorials on AD and read vector information but could not find anything. I know I can have a strait line then create two curved ones. My eye's are never satisfied with "well that;s close enough.  Here's a picture.
Title: Re: Vector lines strait and curved stuff
Post by: Rege on March 15, 2019, 09:30:56 AM
Hello KenA,

This is certainly not the answer you expect, but to my knowledge (I may be wrong) there is no way to bend two straight lines leaving them perfectly parallel.

You can draw a curved line and apply a brush to it as in the example at the top of my screenshot.

You can also draw the curved line, "Expand Stroke", invert the colors in order to obtain a closed shape. Select the end nodes on each side and do "Break the Curve" and then remove the two small lines at the ends.
Finally, adjust the thickness and color of each of the two lines.
Title: Re: Vector lines strait and curved stuff
Post by: KenA on March 15, 2019, 11:21:03 AM
Thank you Rege, Will give it a try
Title: Re: Vector lines strait and curved stuff
Post by: MaryLou on March 15, 2019, 08:34:42 PM
Couldn't you simply draw one curved line and once it's exactly the way you want it, duplicate it and move it over a bit?
Title: Re: Vector lines strait and curved stuff
Post by: Rege on March 15, 2019, 11:26:07 PM
MaryLou, unlike two straight lines, the displacement of one of the curved lines causes the gap between the two lines to vary.
Title: Re: Vector lines strait and curved stuff
Post by: Teejay on March 16, 2019, 02:14:32 AM
i have been trying all sorts of ways and i couldnt do it
this is a very smart way of doing it   way to go rege :whoo:
Title: Re: Vector lines strait and curved stuff
Post by: Rege on March 16, 2019, 05:58:44 AM
Teejay, fortunately the "Expand Stroke" function exists!
In my screenshot, I drew the red curve line and then I drew a blue straight line below it.
Then I added two knots to the blue line at about the two points where the red curve changes direction. Then I modified the line using the handles of the nodes to make it look like the red curve.
The result may seem satisfactory but I am sure that the gap between the two curves is not really the same over their entire length.
Title: Re: Vector lines strait and curved stuff
Post by: MaryLou on March 16, 2019, 03:43:51 PM
That's interesting!!  I would think the gap would be the same since it's just a replica of the same line.  Wonder if it does that in other programs?
Title: Re: Vector lines strait and curved stuff
Post by: Rege on March 16, 2019, 04:43:30 PM
MaryLou, all programs achieve the same result and this results in interesting effects.
Title: Re: Vector lines strait and curved stuff
Post by: MaryLou on March 25, 2019, 01:46:25 PM
That was an interesting experiment!!  Nice way to create a ribbon!    Also interesting is, neither gave the exact same result!
Title: Re: Vector lines strait and curved stuff
Post by: KenA on March 25, 2019, 03:33:33 PM
Thank you, It is fun if you don't let the process get to you. Here's another, Alignment of the stripes between the segments is the challenge, that coupled with getting some semblance of consistency with the stripes. You think everything is fine, but when the program converts it the curve of the planes fuselage, and other parts, add to the mix.
Can't see these well, but I took a picture of my Jeeps tire rims and layered them onto the existing white - drab - stock rims.

(https://i.imgur.com/mGM81DV.png)