Hi everyone,
I am writing to ask for your help with a Grasshopper definition.
I have a bunch of lines that are mapped to a surface, and I would like to offset them from the surface normal by a ratio. The ratio would be based on the distance of the line from a central point.
I would usually get the end point of my line and the normals and offset those. This works for a constant offset, but when I make the offset a multiple or factor of the distance from the center my start and end points are in different relative places when I sort curves.
I have attached an image and Grasshopper definition with internalized curves. The only plugin on is bifocals, which I have used to make it easier to understand the screenshot.
I would be very grateful if anyone could help me with this.
Thank you!
Lineoffset_byRatio_Sort_06-10.gh (416.8 KB)