Want to copy a line n times, but at different distances

I want to copy a line 5 times, but at different distances. I’ve been doing it with equal distances, but I need it with different distances.For example, copy 5 times at distances of 3, 10, 6, 2.



thx

This is the exact same topic you posted before, just with different values. Please make sure you’re not making redundant posts when you could just extend a topic (with a valid follow-up question).

Please also make sure you’re making a valid effort to understand the solutions you’re being given. You have a graph that makes copies at given distances. Your first list just happens to be equal distances. This one would be whatever distances you need.

The topics are different. The first topic is about how I can copy a line n times at a fixed distance ‘L’. The second one is about copying a line n times but with different values of ‘L’
. I’m an amateur here.
Thanks.

But that’s where you have some responsibility in understanding the difference between the nuance of specifics and a fundamentally new problem. If anything, that’s why this should have been attached to your original question, but the request is still the same: “How do you copy a line multiple times at multiple distances?”

Whether the distances are equal or different has no effect on how you implement that solution. You provide a list of distances to move the line. How you get those distances and what they represent is irrelevant.

To move a line 5 times at 5 distances would require you to provide 5 values (one for each offset). We’ll call those values a, b, c, d, and e. Those values can be whatever you want. If they need to be equidistant then you need to create a sequence of equally spaced values (which you did in the first thread). If they need to be different values then you need a way to provide those values.

Scenario 1: a = 0, b = 5, c = 10, d = 15, e = 20
Scenario 2: a = 0, b = 3, c = 10, d = 6, e = 2 // this is assuming your example values are absolute
Scenario 3: a = 0, b = 3, c = 13, d = 19, e = 21 // this is assuming your example values are relative

Prove a list of values into the L input of your code block.