Square between two points on a dividing line

I want to create a parametric square between the points of the line I divided. And I want to insert an s-shaped object inside the square. Then I have to connect these lines that make s because I’m going to make a path out of them. And I want to make a circle inside the squares. I know ıt’s a complicated process. I’m new to Grasshopper. :slight_smile:GemsbyCurve.3dm (175.3 KB)
RectanglebyCurve.gh (6.8 KB)

RectanglebyCurve_re.gh (11.8 KB)

1 Like

Thank you so much for helping. I am currently working on this file. I want to make a gauge indicator that shows the size of the circle and the size of the square. And I couldn’t do the flow right.

RectanglebyCurve_re.3dm (163.4 KB) RectanglebyCurve_re.gh (17.2 KB)

RectanglebyCurve_reV2.gh (20.2 KB)

1 Like