Divide a segments into even lengths
Answered
Let
f1=Segment ( Point( {0,0} ) , Point( {1,0} ) )
One can draw N equally spaced points along this segment in the following way:
list1 = Sequence ( Point( f , k ) , k , 0 , 1 , n)
where N=1/n an integer number.
I want to create another list of points along this "curve", using the `Sequence` command, to contain the points just in between those in list1.
For example, if list1 contains the set of points
[ 0 , 0.1 , 0.2 , 0.3 , ... 0.9 , 1 ]
I want list2 to be the list of points
[ 0.05, 0.15 , 0.25 , 0.35 , 0.45 , ... , 0.95 ]
Important: I want to use as the input argument to the `Sequence` command the `Point( <Object>, <Parameter> )` tool, in a similar way to that I used to define list1.
I tried a multiple of variations on the increment argument in the sequence command, and on the parameter in Point( object, parameter ) but nothing worked, so I am uploading this question.
Thanks a lot for your help.
Sequence(Point(f1, (5 + k) / 100), k, 0, 90, 10)
Brilliant. Thanks very much.
Comments have been locked on this page!