I’m trying to create a parametric system of parallel strips between two boundary curves.
The geometry is defined by:
- A top guide curve
- A bottom guide curve
- Straight lines connecting corresponding points on the two guides
The requirements are:
- Strip width = 200 mm
- Gap between strips = 20 mm
- The pattern should remain fully parametric.
- If the guide curves change shape or length, the strips should update automatically while maintaining the same width and spacing.
My current workflow is:
- Divide both guide curves using Divide Distance (220 mm module).
- Connect corresponding points to create the strip centerlines.
- Offset each centerline by ±100 mm.
The problem is that Offset Curve offsets each line in its own local plane, so the strip boundaries no longer align with the boundary surface. The strips drift and don’t terminate correctly on the top and bottom guides.
What I’m looking for is a method to generate the strip boundaries directly from the guide curves rather than offsetting the connecting lines. Ideally each strip would be defined by four corner points so that every strip remains exactly 200 mm wide with a constant 20 mm gap, regardless of the guide geometry.
Is there a standard Grasshopper workflow or component for this type of strip/panel generation?
260625_panels_MP.gh (9.9 KB)
What if the two guide curves are parallel and one is longer which one guide the boundary ?
Will the guide curve be linear or curves ?
Hi, thanks for the question!
The guide curves are both linear, not curved. The top guide is the shorter one, and the two guides are not parallel.
The purpose is to create panels between these two non-parallel guide curves. Each panel should follow the guide curves, so the panels will not be level or rectangular. The top and bottom edges of each panel should stay aligned to the respective guide curves.
So imagine (a real world approach):
- I take the middle of 1 curve (you have to start somewhere).
- A nail through the panel to attach it there. As tight but movable, so it is flat on the curve.
- So where will the panel land on the second curve? Shortest distance. tangent to curve, parallel to end points of curve? Some decision has to be made there.
- OK let’s take the shortest distance. (curve closest point). And a second nail here.
- Because the curves are not parallel, you will see that
to make the panel touch on both curves it has to bend/twist a bit. This deforms the panel, how do you want to handle this: the panel changes in width there? or in lengths. both? Probably this is just relatively small, for the drawing you could go with “width stays the same”
- or 1 or both ends do not touch the curves and there is an open angle.
- The panels will (when mounted) not be rectangular , the ends of the panel have to be cut along the curves.
Depending on your answers, it is of course possible to find a nice solution. Regards, Eef
this could be result on:
- bending panels, shortest distance.
- because of difference in length one curve will only be partly covered
260625_panels_MP_EW.gh (16.4 KB)