Creating Parallel Lines Using the points on the curve

I would like to find a way to create parallel lines using the points on the circular curve. To do this, I was trying to extract two point lists which involve the matched points according to their coordinates in python script and then I am planning to create the lines using these two lists. However, when I connect the points on the curve to the python script, it does not take it as “list” and I could not find a way to convert it into a list. Can I convert it into the list or is there any other method to create those parallel lines without the use of python script? I attached the grasshopper script below.
Thank you for helping me!
Regards,
createlines.gh (6.9 KB)

Horizontal or vertical? Or?

Which python script? There’s none in your attached file.

Several methods, I’m sure.

I think the curve division method you’re using (DivideLength) will cause some trouble because of point placement at start vs end, then lines won’t be parallel. You could rely on DivideDistance instead? Maybe? - however I don’t know what your criteria is.

In the meantime, based on your current curve division method, you could split the circle with a plane, grab a half, divide it by your preferred length value, mirror the points with the same splitting plane, and create parallel lines from original point to mirrored point:



Example here:
createlines.gh (11.1 KB)

You could also contour the circle and fit lines, or make the circle a surface and contour the surface, or intersect it with planes, or use isocurves, o geodesic lines, or create a single intersecting line (X or Y direction) then repeat that in X or Y direction to intersect with the circle, etc.

Thank you so much for correction and helping me!!

1 Like